Re: Problems with translating gedit help



On Sun, 2012-03-18 at 19:20 +0200, Alexander Shopov (Александър Шопов)
wrote:
> Does this mean I can do:
> 
> itstool ../C/*page > new.pot
> msgmerge bg.po new.pot > new.po
> 
> 
> And update new.po?

Yes, more or less.

But note that *.page is not necessarily the same thing as what files
are included in the Makefile.am. There could, for example, be page
files in git that aren't installed. (In practice, this should happen
rarely, because we prefer stub files for this.) Or more likely, there
could be a non-page XML file that is XIncluded. Many documents have
a file called legal.xml, for example.

This is probably correct on most documents in GNOME:

itstool C/*.page C/*.xml

But it might not be. If you can manage to run autogen.sh/configure
in the git repo, then in the help directory you can run this:

make pot

Or you can always get the pot files from DL, of course.

--
Shaun






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