From bf7ab798718a82394f25cdd9f684a9870c8e0440 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sidi=20Liang=20=28=E6=A2=81=E6=80=9D=E5=9C=B0=29?= Date: Tue, 16 May 2017 19:40:13 -0400 Subject: [PATCH] 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/ --- Translations/locale.xml | 16 ++++++++++++++++ Translations/zh_CN/options.xml | 6 ++++++ Translations/zh_CN/tips.xml | 27 +++++++++++++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 Translations/zh_CN/options.xml create mode 100644 Translations/zh_CN/tips.xml diff --git a/Translations/locale.xml b/Translations/locale.xml index a5932f443..524b19b21 100644 --- a/Translations/locale.xml +++ b/Translations/locale.xml @@ -106,6 +106,22 @@ + + zh + zh_CN + + + Translations/zh_CN/options.xml + + + + + TEST diff --git a/Translations/zh_CN/options.xml b/Translations/zh_CN/options.xml new file mode 100644 index 000000000..46879219c --- /dev/null +++ b/Translations/zh_CN/options.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/Translations/zh_CN/tips.xml b/Translations/zh_CN/tips.xml new file mode 100644 index 000000000..83aa0b21d --- /dev/null +++ b/Translations/zh_CN/tips.xml @@ -0,0 +1,27 @@ + + + + + + + 在按住鼠标右键时滑动鼠标以观察四周 + 在观察四周时按住 [Shift] 来将视角向上、下、左、右移动 + 按下 a/A 来调整模拟器速度(倍速) + 按下 x/X 来放大或缩小 + 从 Radios 对话框可查询附近ATC频率 + 按下 v 来更换视角, 按下 Ctrl-V 可回到驾驶舱视角 + 按下 F3 可以截图 + 欢迎加入FlightGear社区,网址为 http://forum.flightgear.org + 按下 h 来启用抬头显示器(HUD) + 按下 F10 来隐藏或显示菜单栏 + 帧率太低? - 试试禁用AI交通 + 选择 Environment → Weather 在不同天气条件下飞行 + 按下F12可轻易更换无线频率 + 在按住鼠标右键时滑动鼠标以观察四周 + 选择 Multiplayer → Multiplayer Settings 来加入联机飞行 + 不知如何启动引擎? - 查看 Help → Aircraft Checklists + 在按住鼠标右键与中键时滑动鼠标以移动观察点 + 按下 / 来浏览FlightGear的内部属性 + 按下 Tab 后使用鼠标来移动观察点,并使用滚轮放大或缩小 +