1
0
Fork 0
Commit graph

180 commits

Author SHA1 Message Date
Stuart Buchanan
98e11ec207 Initial FG1000 PFD 2018-02-26 21:24:21 +00: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
Florent Rougon
9a9037982a Fix broken encoding in German translation (Translations/de/sys.xml)
The XML declaration says encoding="ISO-8859-1". If you want to use
UTF-8, be my guest and convert the whole file to UTF-8 but please, don't
write UTF-8-encoded strings inside a file declared as ISO-8859-1.
2018-01-19 01:27:20 +01:00
Florent Rougon
0dcbef8a5f Update the French XLIFF translation (Translations/fr/FlightGear-nonQt.xlf)
This translation is 100% complete, but unusable by FlightGear until the
new translation infrastructure is ready (C++ side).
2018-01-19 01:25:33 +01:00
Alessandro Menti
c69e0ce0d1
Update the Italian translation 2018-01-01 00:50:41 +01:00
ThorstenB
5a8810ceb4 More German translations. 2017-12-31 17:35:07 +01:00
ThorstenB
dd513b2e23 Synchronized all language resources with master files (adding stubs for
new elements).
2017-12-31 17:35:07 +01:00
ThorstenB
4b35c579b6 Updated German translation 2017-12-31 17:35:07 +01:00
ThorstenB
63f8cf4554 Add description for new protocol parameter. 2017-11-26 21:15:46 +01:00
Stuart Buchanan
3d31775ff3 Initial commit of FG1000 MFD 2017-11-24 23:04:46 +00: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
Florent Rougon
d5c5ba29e5 Remove extraneous space in Translations/default/menu.xml 2017-07-29 15:04:59 +02:00
Florent Rougon
2f420d4c5c Translations: rename Translations/en to Translations/default
This is mainly to make it clear that the "translation" in (after this
commit) Translations/default, a priori corresponding to en_US, has a
special status: it acts as the source describing the set of translatable
strings, each with its id (an XML tag name) and numeric index (a
PropertyList index, often 0 but not always).

In the upcoming i18n infrastructure, the files in Translations/default
will be used to:
  - detect all translatable strings (~ string extraction);
  - detect obsolete translated strings (those in XLIFF files but not in
    Translations/default anymore);

This will allow a script to update the XLIFF files containing real
translations, i.e., update the source strings and possibly remove
obsolete entries.

So, the files in Translations/default have a special "master" status in
this process, and are technically quite different from those in
Translations/de, Translations/es, Translations/fr, etc. The latter XML
files (those not in Translations/default) will be replaced with their
XLIFF equivalent, by the way (conversion script already working).

See discussion at
<https://sourceforge.net/p/flightgear/mailman/message/35910579/>.
2017-07-13 16:06:53 +02:00
Florent Rougon
91c0688427 Translations: minor consistency fix in Translations/es/menu.xml
This makes the "Rendering options" menu entry consistent with its
siblings in the same menu as well as with the section title with the
same name in Translations/es/options.xml.
2017-07-13 09:47:27 +02:00
Florent Rougon
039aad4e8b Translations: remove unwanted leading and trailing whitespace
It's not that leading or trailing whitespace in translated strings is
forbidden *in principle*, but I think it is unwanted in most of these
cases. Remove these spaces that could cause confusion, possibly useless
work for translators and/or ugly displays.

The only cases where the spaces seem to have been intentional are the
trailing ones in menu labels (Translations/*/menu.xml), in order to
obtain right alignment of keyboard shortcuts. However, there is only one
case in English where the spacing looks approximately correct
(File -> Reset). In all other cases, it looks awful. And this poor way
of obtaining right alignment gives bad results in other languages, where
translators use the same number of spaces as in English.

Bottom line: if right alignment of keyboard shortcuts is indeed desired
in the menu labels (I think it is), it should be done in a smarter
way...
2017-07-12 09:42:05 +02:00
Florent Rougon
53964782f1 Translations: remove duplicate string from Translations/fr/menu.xml
The 'terrasync' translated string was given twice in different places.
Remove the one that used to be in the Environment menu (obsolete).
2017-07-12 09:42:05 +02:00
Florent Rougon
3bfc554135 Translations: remove obsolete strings from Translations/nl/options.xml
The 'enable-skyblend-desc', 'disable-skyblend-desc',
'enable-intro-music-desc', 'disable-intro-music-desc',
'enable-game-mode-desc', 'disable-game-mode-desc' and
'disable-ai-scenarios' translated strings have been removed from
Translations/en/options.xml in commit
4f660c96a5. Remove them from
Translations/nl/options.xml where they are still present.
2017-07-12 09:42:05 +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
Florent Rougon
4552547e36 Remove obsolete 'position-on-ground' translated string (menu.xml)
This translated string has been removed from Translations/en/menu.xml in
commit f3ac93b1ef. Remove its translations
from the other Translations/*/menu.xml files that still have it.
2017-06-19 12:18:01 +02:00
Florent Rougon
2d97a0481c Remove obsolete 'display-options' translated string (menu.xml)
This translated string has been removed from Translations/en/menu.xml in
commit ff87cf4257. Remove its translations
from the other Translations/*/menu.xml files that still have it.
2017-06-19 12:05:09 +02:00
Fernando García Liñán
cf703e83fe Added Spanish translation for startup tips. 2017-05-18 17:24:14 +02:00
Florent Rougon
1c3b855e79 Startup tips: use Unicode characters for the arrows describing menu selections
Use RIGHTWARDS ARROW for each arrow, surrounded by two NO-BREAK SPACE
characters. This prevents line breaking in the middle or at the edges of
such arrows.

Also explicitly specify the UTF-8 encoding for Translations/en/tips.xml,
even though this is implicit with XML when unspecified.
2017-05-11 19:15:02 +02:00
Florent Rougon
385ab0d61a Update the French translation
Translations/fr/sys.xml: add accented characters (using UTF-8 encoding)
                         now that the splash screen supports them.

Translations/fr/options.xml: fix typos, document --download-dir and
                             recode the file to UTF-8.
2017-05-11 11:33:17 +02:00
Florent Rougon
b5c689e4b5 Update the French translation 2017-05-08 14:02:35 +02:00
Florent Rougon
c8397de79f Small change to a tooltip 2017-05-08 01:01:07 +02:00
Alessandro Menti
6fd43e8e79
Update the Italian translation 2017-05-07 17:47:24 +02:00
Stuart Buchanan
60c6e73258 Updated startup tips. 2017-03-28 20:39:35 +01:00
Stuart Buchanan
b923ccbd47 Add tips provided by forum members. 2017-03-23 21:14:42 +00:00
Florent Rougon
e613865bd3 Document fgfs' option --log-dir in English and French (for 'fgfs --help -v') 2017-03-11 10:15:33 +01:00
James Turner
640b52a716 Make ‘unstable’ warning localizable. 2017-03-03 23:19:44 +02:00
James Turner
c8dcc93286 Initial examples of startup tips. 2017-02-26 22:00:03 +00:00
Florent Rougon
178a3acf91 Revert "Remove options.xml and the Translations dir (now in the flightgear repository)"
This reverts commit edd2290d71.

For the reasons of this reverting, see the thread at
<https://sourceforge.net/p/flightgear/mailman/flightgear-devel/thread/CAHtsj_eFdxLoXXoNq%3D3OKNRmyR6-FowFL97TASdQJx8N05Lmig%40mail.gmail.com/#msg35580548>,
including <https://sourceforge.net/p/flightgear/mailman/message/35584363/>,
<https://sourceforge.net/p/flightgear/mailman/message/35584803/> and
<https://sourceforge.net/p/flightgear/mailman/message/35585421/> (appearing
out-of-thread according to the SF mailing list archive...).
2017-01-05 07:00:12 +01:00
Florent Rougon
edd2290d71 Remove options.xml and the Translations dir (now in the flightgear repository)
Also remove <intl include="Translations/locale.xml"/> from
preferences.xml. Something equivalent based on readProperties() is done
in FlightGear (cf. FGLocale::FGLocale() in
flightgear/src/Main/locale.cxx).
2016-12-27 11:34:20 +01:00
Alessandro Menti
e4b38d0819 Translate the documentation of the --json-report option to Italian 2016-11-10 11:52:44 +01:00
Alessandro Menti
30849d938d sys.xml: update the Italian translation
Add the Italian translation for the "navdata-reading-apt-dat-files"
source string.
2016-11-10 10:00:31 +01:00
Florent Rougon
3b64595c19 Document the --json-report option in the 'fgfs --help -v' output 2016-11-10 09:03:12 +01:00
Florent Rougon
1a604c42ff Adapt translations for change in FG's NavCache rebuild phases
There is a new phase, and the old 'navdata-airports' is now split into
two parts: 'navdata-reading-apt-dat-files' and
'navdata-loading-airports'.
2016-10-19 13:13:24 +02:00
Jonathan Schellhase
f2651e872c Finished translation of options.xml 2016-06-22 16:54:20 +02:00
Alessandro Menti
8071409961 Italian translation: update command line switch translation, fix term choice in menu
Add the translation for the <download-dir-desc> switch and update the one
for the <metar-desc> one.
Also change "tempo" to "orario" in menu.xml to be consistent with the
term choice in options.xml.
2016-04-05 19:46:59 +02:00
Florent Rougon
5f4d2d509f Document the --download-dir 'fgfs' option for 'fgfs --help --verbose'
For reference, see FlightGear commits
aa20e0acd82ffaccb829d941b9c7c5cab627124e and
5baca8598f484874235a037fc5db5eb0f9bdfa4a, as well as the discussion at
<https://sourceforge.net/p/flightgear/mailman/flightgear-devel/thread/87egb1wipj.fsf%40frougon.crabdance.com/#msg34959541>.
2016-03-27 11:07:51 +02:00
Florent Rougon
d503fbdf08 Document that --metar automatically implies --disable-real-weather-fetch
Following FlightGear commit 0cfa4ced9cd5e2ec26e753ddd5f61da7558221a6,
mention in the output of 'fgfs --help --verbose' that the --metar option
automatically implies --disable-real-weather-fetch.
2016-03-27 11:07:23 +02:00
Alessandro Menti
5d11b5cfaa Translations: update the Italian translation
Update the Italian translation and bring it in sync with the English
source file.
2016-03-26 12:16:36 +01:00
Erik Hofman
0d623d5f5e Add the option to the Debug menu to save the video configuration file 2016-03-21 11:53:19 +01:00
Stuart Buchanan
a36170f12e Move Joystick Configuration to File menu
Also rename Input Configuration to Mouse Configuration
at suggestion of Gilberto AGOSTINHO
2016-02-10 22:26:22 +00:00
Florent Rougon
afec939218 Proper 'fgfs --help -v' documentation for --aircraft-dir
- Fix documentation for --aircraft-dir: the specified path is
  interpreted relatively to the current directory, not to the path of
  the fgfs executable.

- Add a few precisions (the option bypasses the <path-cache> from
  autosave_X_Y.xml, as well as --fg-aircraft and FG_AIRCRAFT).

- Show the option documentation in 'fgfs --help -v' output (it was
  "hidden" since 2010, but it works very well; cf.
  <https://sourceforge.net/p/flightgear/mailman/message/34494887/> for
  the most recent discussion about this option).

- Show the doc for --aircraft-dir right below that of --aircraft (both
  being closely related).

- Add a pointer to --aircraft-dir in --fg-aircraft's doc, since the
  former can be used as an alternative to the latter (or at least a
  complement, since --fg-aircraft is used to determine some
  permissions).
2015-12-24 12:11:54 +01:00
f-ojac
7fc0e42a8b Translating some missing French help entries 2015-07-27 21:36:00 +02:00
f-ojac
68ef0ce0ff Translating some missing French startup entries 2015-07-27 21:14:24 +02:00
f-ojac
325717df43 Translating some missing French menu entries 2015-07-27 18:34:50 +02:00
janodesbois
12af1482e7 little adjustements for the mp patch 2015-06-09 21:12:48 +02:00
janodesbois
e033ac2f10 FgData part for the MP patch, we allow lag compensation only if the mp plane
is close enough, we check only one plane each frame
2015-06-06 07:05:05 +02:00