On Mon, Jun 16, 2008 at 12:24 PM, Alan Cox <[EMAIL PROTECTED]> wrote: > BTW: I realised last night there is another way to tackle this which lets > you turn the problem on its head > > Given smart quotes directly in code are not valid C and that you need to > distinguish different quotes so can't do a perl 1 liner turn the problem > the other way up > > Source - with smart quotes > > String generation > Extract with po file tools > Rewrite this with a simple script > Extracted string is en_US translation > Base string has quotes substituted back > > Compile > Remove smart quotes and replace with ordinary ones > Compile with gcc > > (you could extract the translations from the converted file to > save having to mend all the translations but that might actually be long > term worse)
This would result in a thousand .c.in files or a large header .h.in file with all the strings ;) -- Patryk Zawadzki PLD Linux Distribution _______________________________________________ desktop-devel-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/desktop-devel-list
