Re: Mistakes in doc translations



On Thu, Apr 19, 2012 at 1:49 AM, Shaun McCance <shaunm gnome org> wrote:
> 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
>

Thanks!
You are right.

-- 
Jiro Matsuzawa
E-mail:
 jmatsuzawa gnome org
 jmatsuzawa src gnome org
 matsuzawa jr gmail com
GPG Key ID: 0xECC442E9
GPG Key Fingerprint: E086 C14A 869F BB0E 3541 19EB E370 B08B ECC4 42E9


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