On 12/18/06, Pedro Algarvio, aka, s0undt3ch <[EMAIL PROTECTED]> wrote: > > > Shannon -jj Behrens wrote: > > > I'm currently working on the extraction from genshi with help from > > > http://genshi.edgewall.org/wiki/GenshiRecipes/Localization, but the > > > regex presented there is too narrow. So far I've succeeded on extending > > > it a bit more, I can now also match: > > > _("A string which " > > > "will become " > > > "\"too big\" to 'keep it' " > > > "in just one line." > > > ) > > > > Eh? What's wrong with triple quoted strings? > > You did notice I was using genshi templates right?
Yep. > I can use use tripple quoting and it, of course(translations apart), > works, but grabbing the string for translation inside a genshi template > is not as easy as in a python file. Although I extended that regex it > still does not work for tripple quoted strings :| I'm still hoping that we can do this somewhat lazily and let Genshi parse the Genshi templates. :-/ -jj -- http://jjinux.blogspot.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
