fgmeta/python3-flightgear/flightgear/meta
Florent Rougon c6eb59eb42 Initial version of the Python scripts to manage l10n using the XLIFF format
Add the following files:

  python3-flightgear/README-l10n.txt
  python3-flightgear/fg-convert-translation-files
  python3-flightgear/fg-new-translations
  python3-flightgear/fg-update-translation-files
  python3-flightgear/flightgear/__init__.py
  python3-flightgear/flightgear/meta/__init__.py
  python3-flightgear/flightgear/meta/exceptions.py
  python3-flightgear/flightgear/meta/i18n.py
  python3-flightgear/flightgear/meta/logging.py
  python3-flightgear/flightgear/meta/misc.py

They should work on Python 3.4 and later (tested with 3.5.3). The folder
structure is chosen so that other FG support modules can insert
themselves here, and possibly be used together. I put all of these
inside 'flightgear.meta', because I don't expect them to be needed at FG
runtime (neither now nor in the future), probably not even by the CMake
build system.

To declare that a string has plural forms, simply set the attribute
'with-plural' to 'true' on the corresponding element of the default
translation (and as in Qt, use %n as a placeholder for the number that
determines which singular or plural form to use).
2017-08-04 23:39:05 +02:00
..
__init__.py Initial version of the Python scripts to manage l10n using the XLIFF format 2017-08-04 23:39:05 +02:00
exceptions.py Initial version of the Python scripts to manage l10n using the XLIFF format 2017-08-04 23:39:05 +02:00
i18n.py Initial version of the Python scripts to manage l10n using the XLIFF format 2017-08-04 23:39:05 +02:00
logging.py Initial version of the Python scripts to manage l10n using the XLIFF format 2017-08-04 23:39:05 +02:00
misc.py Initial version of the Python scripts to manage l10n using the XLIFF format 2017-08-04 23:39:05 +02:00