Re: Mistakes in doc translations
- From: Shaun McCance <shaunm gnome org>
- To: Jiro Matsuzawa <jmatsuzawa gnome org>
- Cc: gnome-i18n gnome org, Ask Hjorth Larsen <asklarsen gmail com>, Chusslove Illich <caslav ilic gmx net>
- Subject: Re: Mistakes in doc translations
- Date: Wed, 18 Apr 2012 12:49:25 -0400
On Thu, 2012-04-19 at 01:05 +0900, Jiro Matsuzawa wrote:
> > If you have a source tree, you can extract location info at any time
> > with msgmerge.
> > So, no-location is not a problem.
>
> Oops, "with msgmerge" is not right.
> In case gnome-user-docs, "$ make repo" generates po with locations.
Be careful with 'make repo'. Unless you set the LINGUAS environment
variable, this will affect all the PO files. You don't have to commit
those changes, of course, but it's dangerous if you're in the habit
of doing 'git commit -a'.
It's probably better to use 'make pot' to generate a POT file, then
call msgmerge yourself. That way you have control over which options
get passed to msgmerge.
And if you don't want to have to get everything you need to run the
entire build (can be a pain for modules with a lot of dependencies),
then if it's a Mallard document using the new build tools and itstool,
the following command is nearly always correct:
itstool -o something.pot C/*.page C/*.xml
--
Shaun
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]