Re: Generating catalog from js file



Le lundi 30 mai 2011 à 07:57 +0200, Pau Iranzo a écrit :

> I've found this tutorial:
> http://live.gnome.org/GnomeShell/Extensions/FAQ/CreatingExtensions
> 
> But using this command to generate a pot file:
> xgettext -k_ -kN_ -o messages.pot extension.js

After some tests, I found that in the case of the code you mentionned in
your first mail, it works only with the Perl parser:

$ xgettext -k_ -kN_ -L Perl --from-code=UTF-8 -o messages.pot
extension.js

I will update the Wiki page to reflect this possible issue.

Cheers,

Claude
-- 
www.2xlibre.net



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]