fgmeta/python3-flightgear
Florent Rougon 7142621966 i18n Python scripts: add script fg-merge-xliff-into-xliff
This script is designed for the following use case:

Suppose a translator has been working on a particular translation file,
and meanwhile the official XLIFF file for this translation has been
updated in FGData (new translatable strings added, obsolete strings
marked or removed, etc.). In such a case, 'fg-merge-xliff-into-xliff'
can be used to merge the translator's work into the official XLIFF
translation file. Essentially, this means that for all strings that have
the same source text, plural status, number of plural forms and of
course target language, the target texts, "approved" status and
translator comments will be taken from the first file passed in the
following command:

  fg-merge-xliff-into-xliff TRANSLATOR_FILE PROJECT_FILE

Used like this, PROJECT_FILE will be updated with data from
TRANSLATOR_FILE. If you don't want to modify PROJECT_FILE, use the -o
(--output) option. If '-' is passed as argument to this option, then the
result is written to the standard output.
2017-09-19 22:11:41 +02:00
..
flightgear i18n Python scripts: add script fg-merge-xliff-into-xliff 2017-09-19 22:11:41 +02:00
fg-convert-translation-files i18n Python scripts: minor changes 2017-09-17 16:18:06 +02:00
fg-merge-xliff-into-xliff i18n Python scripts: add script fg-merge-xliff-into-xliff 2017-09-19 22:11:41 +02:00
fg-new-translations i18n Python scripts: minor changes 2017-09-17 16:18:06 +02:00
fg-update-translation-files i18n Python scripts: minor changes 2017-09-17 16:18:06 +02:00
README-l10n.txt i18n Python scripts: add script fg-merge-xliff-into-xliff 2017-09-19 22:11:41 +02:00
rebuild-fgdata-embedded-resources Initial version of rebuild-fgdata-embedded-resources 2017-08-18 13:41:21 +02:00