[Gimp-docs] Updating PO files

julien jm.hard at wanadoo.fr
Tue Apr 28 05:54:58 PDT 2009


Hi Ulf,

> julien (Dienstag, 28. April 2009, 08:00):
>> In glossary.xml, Ulf changed "Color Depth" to "Color depth". We have
>> "Color depth" in the git repository.
>>
>> After git pull --rebase, I also have "Color depth" in my
>> src/glossary.xml file.
>> I run "make pot", then "make po-fr"... and I still have "Color Depth"
>> in my glossary.po. No "#, fuzzy" comment for these strings.
>>
>> My PO file is not updated. Why that?
> 
> Check the timestamps of the glossary files:
> 	src/glossary.xml
> 	pot/glossary.pot
> 	po/fr/glossary.po
> 
> Maybe 'git pull --rebase' changed the timestamp to the day of my commit?

What is 'timestamp':
- The last editing date? The three files are 2009:04:28 07:21
- The creation date? No date for glossary.xml; 2009:04:28 07:28 for
glossary.pot; 2009:04:26 14:32 for fr/glossary.po (with POT creation
date 2009-04-20).

Weird! if I run
msgmerge -o tmp.po po/fr/glossary.po pot/glossary.pot,
I get a right PO file with a '#, fuzzy' comment and "Color depth"
instead of "Color Depth"...

What if I rename tmp.po to glossary.po and copy-paste it to po/fr/ ? A
good or bad idea?

Julien



More information about the Gimp-docs mailing list