1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Rewrite update-po target, so that it works less like a shell script and more

like a makefile with real dependencies.

Instead of overwriting the old po file, write the new one to .po.new.  This is
less annoying and integrates better with the NLS web site.

Also, we can now merge languages that don't have a po file yet, by merging
against all other po files of that language, to pick up recurring translations
automatically.  This previously only worked when a po file already existed.
This commit is contained in:
Peter Eisentraut
2009-01-09 10:54:08 +00:00
parent 1b4e729eaa
commit 26dc14b6b2
2 changed files with 27 additions and 23 deletions

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/nls.sgml,v 1.16 2007/02/01 00:28:17 momjian Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/nls.sgml,v 1.17 2009/01/09 10:54:07 petere Exp $ -->
<chapter id="nls">
<chapterinfo>
@ -200,9 +200,8 @@ gmake update-po
which will create a new blank message catalog file (the pot file
you started with) and will merge it with the existing PO files.
If the merge algorithm is not sure about a particular message it
marks it <quote>fuzzy</quote> as explained above. For the case
where something went really wrong, the old PO file is saved with a
<filename>.po.old</filename> extension.
marks it <quote>fuzzy</quote> as explained above. The new PO file
is saved with a <filename>.po.new</filename> extension.
</para>
</sect2>