1
0
Fork 0
Commit graph

19 commits

Author SHA1 Message Date
James Turner
132447f084 Sync the Qt translation strings 2020-05-07 16:51:10 +01:00
James Turner
b72348f320 Updated Chinese translation from Sidi Liang 2020-05-03 07:30:59 +01:00
James Turner
f6f48e3f32 Launcher translation sync, add Catalan, Slovak 2020-04-16 11:13:37 +01:00
Florent Rougon
4adabbf809 i18n: refresh all FlightGear-nonQt.xlf files
The FlightGear-nonQt.xlf files are now in sync with
fgdata/Translations/default/*.xml.
2020-04-15 15:31:27 +02:00
James Turner
5dcf853900 Sync translations with launcher UI 2020-03-10 17:28:42 +00:00
James Turner
92446c3d39 Sync translations 2019-12-24 22:12:28 +00:00
Florent Rougon
809b9c30fb Remove the obsolete zh_CN FlightGear l10n XML files
The files

  Translations/zh_CN/options.xml
  Translations/zh_CN/tips.xml
  Translations/zh_CN/menu.xml
  Translations/zh_CN/sys.xml

were already removed as part of commit 0c655af7d1 but were recently
readded by mistake (commit 2a30862e31). Remove them again...

(the new translation infrastructure only needs the master translation
defined by Translations/default/*.xml and the language-specific .xlf
files)
2019-01-15 11:16:11 +01:00
Sidi Liang
2a30862e31 Translation: Disable Chinese translation for in-sim menu due to lack of font support and minor translation updates 2019-01-08 17:24:51 +08:00
Florent Rougon
0c655af7d1 Remove the obsolete FlightGear l10n XML files
These files aren't used anymore and (understandably) confuse
contributors, remove them. See

  https://sourceforge.net/p/flightgear/mailman/message/36439103/
  https://sourceforge.net/p/flightgear/fgdata/merge-requests/115/

The remaining *.xml l10n files are those that define the default
translation, located in '$FG_ROOT/Translations/default'.
2018-10-12 11:58:29 +02:00
Florent Rougon
836eb64df0 Refresh the FlightGear-nonQt.xlf translation files
Update them from the latest contents of the
$FG_ROOT/Translations/default/*.xml files (default translation).

This was done with:

fg-update-translation-files \
  --transl-dir="/path/to/fgdata/Translations" \
  merge-new-master de en_US es fr it nl pl pt zh_CN
2018-10-12 11:04:56 +02:00
James Turner
fedd4e1c3f Update translation files from the master set 2018-10-12 09:23:05 +01:00
Sidi Liang
e9aa757773 Translation:Added missing Chinese translations and improvements of previous submitted version 2018-09-14 21:13:25 +08:00
James Turner
5b921ade8b I18N: merge new strings from the launcher 2018-09-09 14:58:25 +01:00
James Turner
853e5ea6c5 Chinese translations from Sidi Liang 2018-08-28 23:32:57 +01:00
James Turner
f441827d53 XLF translation files for the Qt parts 2018-08-19 16:54:23 +01:00
Florent Rougon
f6637f495d Update all non-French XLIFF translation files
The reason French is treated specially is that I completed the
translation up to 100% coverage in Qt Linguist as a test case for the
new translation infrastructure, and have no desire to convert this
translation work to the legacy FlightGear-specific XML format. But of
course, this complete translation is in XLIFF 1.2 format (since it is
saved by Qt Linguist) and thus can't be used by FlightGear yet.

On the other hand, for the other languages, no translator ever modified
the XLIFF files, therefore the best way to proceed for is that people
continue to work with the legacy FlightGear-specific XML format until
the new translation infrastructure is ready (this way, their work is
visible in FlightGear). The Python-based tools in FGMeta allow one to
automatically convert from this legacy format to the XLIFF 1.2 format,
as explained in fgmeta/python3-flightgear/README-l10n.txt. Which is
precisely what this commit does.
2018-01-19 01:27:20 +01:00
ThorstenB
dd513b2e23 Synchronized all language resources with master files (adding stubs for
new elements).
2017-12-31 17:35:07 +01:00
Florent Rougon
2a9f70eb49 Add XLIFF 1.2 translation files
These files have been generated from the existing XML files (cf.
fg-convert-translation-files in fgmeta).

Translations/en_US/FlightGear-nonQt.xlf is for a proper English
translation, where for instance "found %n airport(s)" would have two
plural forms, "found %n airport" and "found %n airports" (most
non-plural strings can be taken verbatim from the default translation,
and at this point there is no plural form at all yet).
2017-08-18 13:36:35 +02:00
Sidi Liang (梁思地)
bf7ab79871 Add Simplified Chinese startup tips (disabled for now)
The tips are not enabled in Translations/locale.xml yet, because the
font currently used to display them in FlightGear's splash screen
doesn't have the required glyphs (see [1] for more details). Better
display English tips than empty rectangles on the startup screen.

Merging this in disabled state now has a few advantages compared to
waiting for the font problem to be solved:
  - avoid that someone ignoring the merge request[1] duplicates the
    translation work;
  - allow easy updating of these tips;
  - make sure they aren't forgotten when FG's localization files are
    converted to XLIFF format.

Ship an empty Translations/zh_CN/options.xml, otherwise
'fgfs --language=zh_CN --help --verbose' won't work at all.

[1] https://sourceforge.net/p/flightgear/fgdata/merge-requests/92/
2017-07-04 18:10:35 +02:00