Re: Generating catalog from js file

2011-05-30 Thread Claude Paroz
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

Re: Generating catalog from js file

2011-05-29 Thread Claude Paroz
Le lundi 30 mai 2011 à 08:42 +0200, Pau Iranzo a écrit : > Hi, > > 2011/5/30 Claude Paroz > > Mmmmh... did you really read my mail :-) > > I think so... :S > > The warning you obtain is an awaited behaviour. Just check > messages.pot > which should cont

Re: Generating catalog from js file

2011-05-29 Thread Pau Iranzo
Hi, 2011/5/30 Claude Paroz > > Mmmmh... did you really read my mail :-) > I think so... :S > The warning you obtain is an awaited behaviour. Just check messages.pot > which should contain extracted strings. > > No messages.pot file is created after running that order... __

Re: Generating catalog from js file

2011-05-29 Thread Claude Paroz
Le lundi 30 mai 2011 à 07:57 +0200, Pau Iranzo a écrit : > Hi, Claude, > > 2011/5/27 Claude Paroz > Hi Pau, > > Your xgettext call is not correct. -f is not intended to > define files to > extract strings from, but a file which might contain a list of >

Re: Generating catalog from js file

2011-05-29 Thread Pau Iranzo
Hi, Claude, 2011/5/27 Claude Paroz > Hi Pau, > > Your xgettext call is not correct. -f is not intended to define files to > extract strings from, but a file which might contain a list of paths to > consider for extraction. Please read 'man xgettext' again. > > But you are also right: there is no

Re: Generating catalog from js file

2011-05-27 Thread Claude Paroz
Le vendredi 27 mai 2011 à 07:01 +0200, Pau Iranzo a écrit : > Hi all, > > I'm learning a bit of javascript programming for gnome-shell creating > some extensions. I have dowloaded the extension known as > weather-applet: > https://github.com/simon04/gnome-shell-extension-weather > > On the code t

Generating catalog from js file

2011-05-26 Thread Pau Iranzo
Hi all, I'm learning a bit of javascript programming for gnome-shell creating some extensions. I have dowloaded the extension known as weather-applet: https://github.com/simon04/gnome-shell-extension-weather On the code there are a few strings that can be translated. So I tried to use poedit in o