mirror of
https://https.git.savannah.gnu.org/git/gettext.git
synced 2026-01-26 15:39:11 +00:00
* gettext-tools/src/msginit.c: Include <omp.h>, msgl-merge.h, backupfile.h, copy-file.h. (catalogname): Remove variable. (main): When the PO file already exists, create a backup file, then merge the two files. (usage): Say what happens if the output file already exists. (struct header_entry_field): New type. (fresh_fields): Renamed from fields. (NFIELDS): Remove macro. (FRESH_FIELDS_LAST_TRANSLATOR): Renamed from FIELD_LAST_TRANSLATOR. (update_fields): New variable. (UPDATE_FIELDS_LAST_TRANSLATOR): New macro. (fill_header): Add 'fresh' parameter. Allocate field_value array on the heap. * gettext-tools/src/Makefile.am (msginit_SOURCES): Add msgl-fsearch.c, msgl-merge.c. (msginit_CFLAGS, msginit_CXXFLAGS): Link with the OpenMP flags. * gettext-tools/doc/msginit.texi: Say what happens if the output file already exists. * gettext-tools/doc/gettext.texi (Creating): Change title. Mention that msginit can also be used when continuing an existing translation. * NEWS: Mention the improvement.
This directory contains the tools of GNU gettext, for the translator and the maintainer, and the associated documentation.