On Sun, Sep 04, 2011 at 10:35:35PM +0200, Olivier Berger wrote:
> 
> Also, the .pot generation may need some adjustment, like what is indicated 
> here : http://www.majorsilence.com/pygtk_internationalization under "10.3 
> gtk.Builder Translation" 
> 
> I made a hack in order to generate a .h file from the conduit.ui :
> ../data/conduit.ui.h: ../data/conduit.ui
>       cd ../data && intltool-extract --type=gettext/glade conduit.ui
> 
> It gets then used using :
> 
> $(GETTEXT_PACKAGE).pot: $(POTFILES)
>       $(XGETTEXT) --language=Python --keyword=_ --keyword=N_ 
> --output=$(GETTEXT_PACKAGE).pot $(POTFILES)
> 
> instead of :
> 
> $(GETTEXT_PACKAGE).pot: $(POTFILES)
>       $(GENPOT)
> 
> That's a hack for sure, but then, the strings become available to the .po 
> translators.
> 

I've just noticed that this hack can be avoided, provided the POTFILES.in is 
adjusted to contain :
[type: gettext/glade]data/conduit.ui
which is now in upstream's trunk.

The rest of my comments still stand, AFAICT.

Best regards,
-- 
Olivier BERGER 
(OpenPGP: 4096R/7C5BB6A5)
http://www.olivierberger.com/weblog/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to