Ok, thanks. On Dec 28, 2:49 am, Nathan Weizenbaum <nex...@gmail.com> wrote: > No, there's not. Sorry. > > On Mon, Dec 27, 2010 at 11:06 AM, Dmitry Sokurenko < > > > > > > > > dmitry.sokure...@gmail.com> wrote: > > Hi guys, > > > I'm working on a yet another one i18n system for a legacy app. It uses > > english phrases as translation keys, so the general API is similar to > > the Globablize one > > > "Some Phrase".l > > > But I have a lot of literal HAML strings in views, eg: > > > %h3 Subject Status > > %p some literal message here > > > I can replace them with something like > > > %h3= "Subject Status".l > > > but, it's quite boring. So I wonder if it's possible to override some > > HAML method to preprocess all the literal HAML strings? E.g. > > > def output(text) > > should_be_translated?(text) ? text.l : text > > end > > > Thanks, > > Dmitry > > > -- > > You received this message because you are subscribed to the Google Groups > > "Haml" group. > > To post to this group, send email to h...@googlegroups.com. > > To unsubscribe from this group, send email to > > haml+unsubscr...@googlegroups.com <haml%2bunsubscr...@googlegroups.com>. > > For more options, visit this group at > >http://groups.google.com/group/haml?hl=en.
-- You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to h...@googlegroups.com. To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/haml?hl=en.