-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Shannon -jj Behrens wrote: > On 12/19/06, Pedro Algarvio, aka, s0undt3ch <[EMAIL PROTECTED]> wrote: >> Is it because since it's inside a "" it's considered to already be a >> string, hence does not look for a _() call inside? > > It's true that xgettext will try to be smart about the syntax of the > language at hand and not look inside strings. If we can compile the > Genshi template to Python, then the above will probably result in a > "bare" call to _() that xgettext can understand. > > -jj > Genshi will never compile to python it's templates. But I posted what you said here on my previous post, extract _() calls to a tmp python file and run xgettext over that, a litle hackish though :)
- -- Pedro Algarvio __ ___ ___ _______ ___ __ | Y .' _| _ .-----.' _| |_ .-----.----.-----. |. | | _| 1___| _ | _| _|__| _ | _| _ | |. | |__| |____ |_____|__| |____|__|_____|__| |___ | |: 1 | |: 1 | |_____| |::.. . | |::.. . | ufs [AT] ufsoft [DOT] org `-------' `-------' ufs [AT] sapo [DOT] pt -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFFh610niPxVTX2hA4RAkQiAKCHfxmwnoESZuADtVbLejX8ixyogACeJ2ZM JWGyTJVu8N6Uvplw4pSNu/c= =AOdd -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
