Mako N. wrote:
From: Yann Leboulanger asterix@lagaule.org Subject: Re: [Gajim-translators] gajim.pot of nightly version Date: Thu, 11 Mar 2010 22:33:02 +0100
I't now several hours I try to get translatable string from .ui files, but without success. I saw that [type: gettext/glade] is needed in POTFILE.in, so I added this line in autogen.sh after POTFILE.in is created
perl -i -pe 's/(.*).ui/[type: gettext/glade]$1.ui/' po/POTFILES.in
That's OK!
Indeed it works, it's just that gajim.pot was not rebuilt. Removing it and it's ok.
Now someone knows a better solution without or sed or anything?
I just would like to list all .ui files, and add a sting at the begining of the line.