Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: translation catchup for v2.10 #4613

Merged
merged 28 commits into from
Mar 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
faaf5f4
chore: update Companion FR translations
Pat6874 Mar 11, 2024
cad15f0
fix: `<` in the wrong place
pfeerick Mar 11, 2024
242b251
chore(jp): Minor cleanup
pfeerick Feb 7, 2024
66af6f0
fix(build): Correct path for companion_translations target
pfeerick Feb 7, 2024
d2c32da
chore(cpn): Refresh translations
pfeerick Feb 7, 2024
9797b22
fix: Name of translation target
pfeerick Mar 11, 2024
23c66f8
chore: refresh of cpn translation files
pfeerick Mar 11, 2024
d2a6fb2
indent
pfeerick Mar 11, 2024
d57f63b
fix: last three POTTYPES for TW missing
pfeerick Mar 11, 2024
f5fef21
fix: surface TR_MENUFLIGHTMODES missing for CN/TW
pfeerick Mar 11, 2024
e8367b8
DA update due to PR #4613
HThuren Mar 12, 2024
4a2d6df
chore: update IT
pfeerick Mar 12, 2024
b634f1e
chore: update DE
pfeerick Mar 12, 2024
fda9dc0
chore: update JP
pfeerick Mar 12, 2024
22fac42
chore: update UA
pfeerick Mar 12, 2024
e767126
chore: update CZ
pfeerick Mar 12, 2024
6bcc7ae
chore: merge DA updates
HThuren Mar 12, 2024
9450eb4
fix: missing trailing `\` for some TR_HATSMODE_KEYS_HELP
pfeerick Mar 12, 2024
f3a80ec
fix: errant `STŘED` in CZ
pfeerick Mar 12, 2024
f79949d
chore: run `lupdate` again
pfeerick Mar 12, 2024
6dc86cd
chore: merge FR companion translations
pfeerick Mar 12, 2024
51968c2
chore: include revised `TR_MIX_SLOW_PREC` for IT
pfeerick Mar 12, 2024
e59f843
chore: updates for `DE`
pfeerick Mar 12, 2024
b1a1286
chore: update SE
pfeerick Mar 14, 2024
53c480d
chore: update RU
pfeerick Mar 14, 2024
108fe04
chore: update CN, TW
pfeerick Mar 14, 2024
ee2d4a2
chore: update lvgl fonts
pfeerick Mar 14, 2024
dc02360
chore: update PT
pfeerick Mar 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions companion/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,14 @@ foreach(qm_file ${companion_QM} ${qt_QM} ${qtbase_QM})
endforeach()
configure_file(${COMPANION_SRC_DIRECTORY}/translations.qrc.in ${TRANSLATIONS_QRC} @ONLY)

### Add optional "translations" target for updating .ts files
### Add optional "companion_translations" target for updating .ts files
if(QT_LUPDATE_EXECUTABLE)
add_custom_target(companion_translations
WORKING_DIRECTORY ${COMPANION_SRC_DIRECTORY}
COMMAND ${QT_LUPDATE_EXECUTABLE} ${CMAKE_SOURCE_DIR} -no-obsolete -ts ${companion_TS}
COMMAND ${QT_LUPDATE_EXECUTABLE} ${COMPANION_SRC_DIRECTORY} -no-obsolete -ts ${companion_TS}
)
else()
message(STATUS "Qt lupdate not found, 'translations' target will not be availabe.")
message(STATUS "Qt lupdate not found, 'companion_translations' target will not be availabe.")
endif()

############# Import radio hardware definitions ###############
Expand Down
2,681 changes: 1,400 additions & 1,281 deletions companion/src/translations/companion_cs.ts

Large diffs are not rendered by default.

1,029 changes: 536 additions & 493 deletions companion/src/translations/companion_da.ts

Large diffs are not rendered by default.

2,707 changes: 1,413 additions & 1,294 deletions companion/src/translations/companion_de.ts

Large diffs are not rendered by default.

2,645 changes: 1,382 additions & 1,263 deletions companion/src/translations/companion_en.ts

Large diffs are not rendered by default.

2,699 changes: 1,409 additions & 1,290 deletions companion/src/translations/companion_es.ts

Large diffs are not rendered by default.

2,679 changes: 1,399 additions & 1,280 deletions companion/src/translations/companion_fi.ts

Large diffs are not rendered by default.

3,197 changes: 1,659 additions & 1,538 deletions companion/src/translations/companion_fr.ts

Large diffs are not rendered by default.

2,581 changes: 1,350 additions & 1,231 deletions companion/src/translations/companion_he.ts

Large diffs are not rendered by default.

2,683 changes: 1,401 additions & 1,282 deletions companion/src/translations/companion_it.ts

Large diffs are not rendered by default.

2,756 changes: 1,440 additions & 1,316 deletions companion/src/translations/companion_ja.ts

Large diffs are not rendered by default.

2,581 changes: 1,350 additions & 1,231 deletions companion/src/translations/companion_nl.ts

Large diffs are not rendered by default.

2,699 changes: 1,409 additions & 1,290 deletions companion/src/translations/companion_pl.ts

Large diffs are not rendered by default.

2,581 changes: 1,350 additions & 1,231 deletions companion/src/translations/companion_pt.ts

Large diffs are not rendered by default.

2,647 changes: 1,383 additions & 1,264 deletions companion/src/translations/companion_ru.ts

Large diffs are not rendered by default.

767 changes: 395 additions & 372 deletions companion/src/translations/companion_sv.ts

Large diffs are not rendered by default.

2,681 changes: 1,400 additions & 1,281 deletions companion/src/translations/companion_zh_CN.ts

Large diffs are not rendered by default.

2,681 changes: 1,400 additions & 1,281 deletions companion/src/translations/companion_zh_TW.ts

Large diffs are not rendered by default.

6,133 changes: 3,082 additions & 3,051 deletions radio/src/fonts/lvgl/lv_font_noto_cn_13.c

Large diffs are not rendered by default.

1,532 changes: 831 additions & 701 deletions radio/src/fonts/lvgl/lv_font_noto_cn_16.c

Large diffs are not rendered by default.

11,569 changes: 5,818 additions & 5,751 deletions radio/src/fonts/lvgl/lv_font_noto_cn_24.c

Large diffs are not rendered by default.

3,622 changes: 1,820 additions & 1,802 deletions radio/src/fonts/lvgl/lv_font_noto_cn_9.c

Large diffs are not rendered by default.

7,090 changes: 3,568 additions & 3,522 deletions radio/src/fonts/lvgl/lv_font_noto_cn_bold_16.c

Large diffs are not rendered by default.

16,700 changes: 8,402 additions & 8,298 deletions radio/src/fonts/lvgl/lv_font_noto_cn_bold_32.c

Large diffs are not rendered by default.

4,419 changes: 2,212 additions & 2,207 deletions radio/src/fonts/lvgl/lv_font_noto_jp_13.c

Large diffs are not rendered by default.

706 changes: 363 additions & 343 deletions radio/src/fonts/lvgl/lv_font_noto_jp_16.c

Large diffs are not rendered by default.

8,030 changes: 4,021 additions & 4,009 deletions radio/src/fonts/lvgl/lv_font_noto_jp_24.c

Large diffs are not rendered by default.

1,535 changes: 769 additions & 766 deletions radio/src/fonts/lvgl/lv_font_noto_jp_9.c

Large diffs are not rendered by default.

4,103 changes: 2,055 additions & 2,048 deletions radio/src/fonts/lvgl/lv_font_noto_jp_bold_16.c

Large diffs are not rendered by default.

11,325 changes: 5,671 additions & 5,654 deletions radio/src/fonts/lvgl/lv_font_noto_jp_bold_32.c

Large diffs are not rendered by default.

6,490 changes: 3,253 additions & 3,237 deletions radio/src/fonts/lvgl/lv_font_noto_tw_13.c

Large diffs are not rendered by default.

1,638 changes: 848 additions & 790 deletions radio/src/fonts/lvgl/lv_font_noto_tw_16.c

Large diffs are not rendered by default.

13,220 changes: 6,629 additions & 6,591 deletions radio/src/fonts/lvgl/lv_font_noto_tw_24.c

Large diffs are not rendered by default.

3,746 changes: 1,877 additions & 1,869 deletions radio/src/fonts/lvgl/lv_font_noto_tw_9.c

Large diffs are not rendered by default.

8,918 changes: 4,471 additions & 4,447 deletions radio/src/fonts/lvgl/lv_font_noto_tw_bold_16.c

Large diffs are not rendered by default.

18,420 changes: 9,240 additions & 9,180 deletions radio/src/fonts/lvgl/lv_font_noto_tw_bold_32.c

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions radio/src/opentx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,8 @@ void generalDefault()

#if defined(DEFAULT_INTERNAL_MODULE)
g_eeGeneral.internalModule = DEFAULT_INTERNAL_MODULE;
if (DEFAULT_INTERNAL_MODULE == MODULE_TYPE_CROSSFIRE)
g_eeGeneral.internalModuleBaudrate = CROSSFIRE_MAX_INTERNAL_BAUDRATE;
if (g_eeGeneral.internalModule == MODULE_TYPE_CROSSFIRE)
g_eeGeneral.internalModuleBaudrate = min(1, (int)CROSSFIRE_MAX_INTERNAL_BAUDRATE); // 921k if possible
#endif

adcCalibDefaults();
Expand Down
94 changes: 52 additions & 42 deletions radio/src/translations/cn.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

#define TR_AUX_SERIAL_MODES "调试","回传镜像","回传输入","SBUS教练","LUA脚本","CLI","GPS","Debug","SpaceMouse","外置发射"
#define TR_SWTYPES "无","回弹","2段","3段"
#define TR_POTTYPES "无","无中点旋钮","有中点旋钮","侧滑块","多段旋钮","Axis X","Axis Y","Switch"
#define TR_POTTYPES "无","无中点旋钮",TR("中点旋钮","有中点旋钮"),"侧滑块",TR("多段","多段按键"),"X 轴","Y 轴","开关"
#define TR_VPERSISTENT "禁用","随飞行记录复位","随手动复位"
#define TR_COUNTRY_CODES "美国","日本","欧洲"
#define TR_USBMODES "询问","游戏柄","U盘","串行"
Expand Down Expand Up @@ -89,7 +89,7 @@
#define TR_SF_FAILSAFE "设置失控保护"
#define TR_SF_RANGE_CHECK "测距模式"
#define TR_SF_MOD_BIND "模块对频"
#define TR_SF_RGBLEDS "RGB leds"
#define TR_SF_RGBLEDS "RGB led灯"

#define TR_SOUND "播放声音"
#define TR_PLAY_TRACK TR("Ply Trk", "播放音频文件")
Expand Down Expand Up @@ -161,16 +161,16 @@
#define TR_HATSOPT "微调","导航键","可切换","全局"
#define TR_HATSMODE_TRIMS "按键帽: 微调"
#define TR_HATSMODE_KEYS "按键帽: 导航键"
#define TR_HATSMODE_KEYS_HELP "Left side:\n"\
" Right = MDL\n"\
" Up = SYS\n"\
" Down = TELE\n"\
#define TR_HATSMODE_KEYS_HELP "左侧按键帽:\n"\
" = MDL\n"\
" = SYS\n"\
" = TELE\n"\
"\n"\
"Right side:\n"\
" Left = PAGE<\n"\
" Right = PAGE>\n"\
" Up = PREV/INC\n"\
" Down = NEXT/DEC"
"右侧按键帽:\n"\
" = PAGE<\n"\
" = PAGE>\n"\
" = PREV/INC\n"\
" = NEXT/DEC"
#endif

#if defined(COLORLCD)
Expand Down Expand Up @@ -389,7 +389,7 @@
#define TR_ADJUST_RTC "时钟设置"
#define TR_GPS "GPS"
#define TR_DEF_CHAN_ORD TR("通道顺序", "默认通道顺序")
#define TR_STICKS "摇杆"
#define TR_STICKS "摇杆(轴)"
#define TR_POTS "电位器"
#define TR_SWITCHES "开关"
#define TR_SWITCHES_DELAY TR("开关经过延时", "延时播放(开关经过)")
Expand All @@ -401,18 +401,23 @@
#define TR_VTRIM "微调-+"
#define TR_CALIB_DONE "校准完成"
#if defined(PCBHORUS)
#define TR_MENUTOSTART "按[Enter]键开始"
#define TR_SETMIDPOINT "将摇杆、旋钮、滑块居中后按[Enter]开始"
#define TR_MOVESTICKSPOTS "转动摇杆、旋钮、滑块到最大边界后按[Enter]结束"
#define TR_MENUTOSTART "按[Enter]键开始校准"
#define TR_SETMIDPOINT "校准中点:摇杆(轴)、旋钮、滑块,按[Enter]保存"
#define TR_MOVESTICKSPOTS "校准边界:摇杆(轴)、旋钮、滑块,按[Enter]保存并完成"
#elif defined(COLORLCD)
#define TR_MENUTOSTART "按[Enter]键开始"
#define TR_SETMIDPOINT "将摇杆、旋钮、滑块居中后按[Enter]开始"
#define TR_MOVESTICKSPOTS "转动摇杆、旋钮、滑块到最大边界后按[Enter]结束"
#define TR_SETMIDPOINT "校准中点,按[Enter]保存"
#define TR_MOVESTICKSPOTS "校准边界,按[Enter]保存并完成"
#else
#define TR_MENUTOSTART CENTER "\010按" TR_ENTER " 开始"
#if defined(SURFACE_RADIO)
#define TR_SETMIDPOINT CENTER "\006校准中点"
#define TR_MOVESTICKSPOTS CENTER "\002校准边界"
#else
#define TR_MENUTOSTART CENTER "\010按[Enter]键开始"
#define TR_SETMIDPOINT TR(CENTER "\004摇杆、旋钮和滑块居中", CENTER "\004摇杆、旋钮和滑块居中")
#define TR_MOVESTICKSPOTS CENTER "\006摇杆、旋钮和滑块最大边界"
#define TR_MENUWHENDONE CENTER "\006按[Enter]键完成"
#define TR_SETMIDPOINT TR(CENTER "\006校准中点", CENTER "\004校准中点")
#define TR_MOVESTICKSPOTS CENTER "\007校准边界"
#endif
#define TR_MENUWHENDONE CENTER "\006" TR_ENTER " 完成"
#endif
#define TR_TXnRX "Tx:\0Rx:"
#define OFS_RX 4
Expand Down Expand Up @@ -481,8 +486,13 @@
#define TR_CHANNEL2FAILSAFE "导入当前通道值"
#define TR_MENUMODELSEL TR("模型选择", "模型选择")
#define TR_MENU_MODEL_SETUP TR("模型设置", "模型设置")
#define TR_MENUFLIGHTMODES "飞行模式设置"
#define TR_MENUFLIGHTMODE "飞行模式"
#if defined(SURFACE_RADIO)
#define TR_MENUFLIGHTMODES "驾驶模式"
#define TR_MENUFLIGHTMODE "驾驶模式"
#else
#define TR_MENUFLIGHTMODES "飞行模式设置"
#define TR_MENUFLIGHTMODE "飞行模式"
#endif
#define TR_MENUHELISETUP "直升机设置"

#define TR_MENUINPUTS "输入设置"
Expand Down Expand Up @@ -611,8 +621,8 @@
#define TR_MENU_MODULES_RX_VERSION "模块/接收机版本"
#define TR_MENU_FIRM_OPTIONS "固件选项"
#define TR_IMU "陀螺仪"
#define TR_STICKS_POTS_SLIDERS "摇杆/旋钮/滑块"
#define TR_PWM_STICKS_POTS_SLIDERS "PWM 摇杆/旋钮/滑块"
#define TR_STICKS_POTS_SLIDERS "摇杆(轴)/旋钮/滑块"
#define TR_PWM_STICKS_POTS_SLIDERS "PWM摇杆(轴)/旋钮/滑块"
#define TR_RF_PROTOCOL "射频协议"
#define TR_MODULE_OPTIONS "选项"
#define TR_POWER "功率"
Expand Down Expand Up @@ -702,12 +712,12 @@

#if defined(COLORLCD)
#define TR_MODEL_QUICK_SELECT "快速选择模型"
#define TR_LABELS_SELECT "Label select"
#define TR_LABELS_MATCH "Label matching"
#define TR_FAV_MATCH "Favorites matching"
#define TR_LABELS_SELECT_MODE "Multi select","Single select"
#define TR_LABELS_MATCH_MODE "Match all","Match any"
#define TR_FAV_MATCH_MODE "Must match","Optional match"
#define TR_LABELS_SELECT "标签类型选择"
#define TR_LABELS_MATCH "标签匹配类型"
#define TR_FAV_MATCH "收藏夹匹配类型"
#define TR_LABELS_SELECT_MODE "复选项","单选项"
#define TR_LABELS_MATCH_MODE "全部匹配","任意匹配"
#define TR_FAV_MATCH_MODE "必须匹配","可选匹配"
#endif

#define TR_SELECT_TEMPLATE_FOLDER "选择一个模板文件夹:"
Expand Down Expand Up @@ -811,7 +821,7 @@
#define TR_JACK_MODE "教练插口模式"
#define TR_VOICE_LANGUAGE "播报语言"
#define TR_UNITS_SYSTEM "单位"
#define TR_UNITS_PPM "PPM Units"
#define TR_UNITS_PPM "PPM 单位"
#define TR_EDIT "编辑"
#define TR_INSERT_BEFORE "在本条前插入"
#define TR_INSERT_AFTER "在本条后插入"
Expand All @@ -822,7 +832,7 @@
#define TR_PASTE_BEFORE "粘贴到本条之前"
#define TR_DELETE "删除"
#define TR_INSERT "插入"
#define TR_RESET_FLIGHT "复位飞行记录"
#define TR_RESET_FLIGHT "复位飞行数据"
#define TR_RESET_TIMER1 "复位计时器1"
#define TR_RESET_TIMER2 "复位计时器2"
#define TR_RESET_TIMER3 "复位计时器3"
Expand Down Expand Up @@ -883,7 +893,7 @@
#define TR_INTERVAL "间隔"
#define TR_REPEAT "循环"
#define TR_ENABLE "启用"
#define TR_DISABLE "Disable"
#define TR_DISABLE "禁用"
#define TR_TOPLCDTIMER "Top LCD Timer"
#define TR_UNIT "单位"
#define TR_TELEMETRY_NEWSENSOR INDENT "添加新传感器..."
Expand Down Expand Up @@ -925,9 +935,9 @@
#define TR_MIXSOURCE "混控源"
#define TR_CONSTANT "固定值"
#define TR_PREFLIGHT_POTSLIDER_CHECK "关闭","开启","自动"
#define TR_PREFLIGHT "初始位置检查"
#define TR_PREFLIGHT "初始检查"
#define TR_CHECKLIST TR(INDENT "显示列表", INDENT "显示列表")
#define TR_CHECKLIST_INTERACTIVE TR3(INDENT "C-Interact", INDENT "Interact. checklist", INDENT "Interactive checklist")
#define TR_CHECKLIST_INTERACTIVE TR3(INDENT "检查列表", INDENT "自定义检查列表", INDENT "自定义检查列表")
#define TR_AUX_SERIAL_MODE "串口"
#define TR_AUX2_SERIAL_MODE "串口 2"
#define TR_AUX_SERIAL_PORT_POWER "串口供电"
Expand Down Expand Up @@ -1127,7 +1137,7 @@
#define TR_TEXT_VIEWER "文本视图"
#define TR_MENU_INPUTS STR_CHAR_INPUT "输入"
#define TR_MENU_LUA STR_CHAR_LUA "LUA脚本"
#define TR_MENU_STICKS STR_CHAR_STICK "摇杆"
#define TR_MENU_STICKS STR_CHAR_STICK "摇杆(轴)"
#define TR_MENU_POTS STR_CHAR_POT "旋钮"
#define TR_MENU_MIN STR_CHAR_FUNCTION "最小"
#define TR_MENU_MAX STR_CHAR_FUNCTION "最大"
Expand Down Expand Up @@ -1226,7 +1236,7 @@
#define TR_VOICE_TAIWANESE "中文-台湾国语"
#define TR_VOICE_JAPANESE "日文"
#define TR_VOICE_HEBREW "希伯来语"
#define TR_VOICE_UKRAINIAN "Ukrainian"
#define TR_VOICE_UKRAINIAN "乌克兰语"

#define TR_USBJOYSTICK_LABEL "USB 游戏柄"
#define TR_USBJOYSTICK_EXTMODE "模式"
Expand Down Expand Up @@ -1264,12 +1274,12 @@
#define TR_RADIO_MENU_TABS "系统功能选项卡"
#define TR_MODEL_MENU_TABS "模型功能选项卡"

#define TR_SELECT_MENU_ALL "All"
#define TR_SELECT_MENU_CLR "Clear"
#define TR_SELECT_MENU_INV "Invert"
#define TR_SELECT_MENU_ALL "全部"
#define TR_SELECT_MENU_CLR "清除"
#define TR_SELECT_MENU_INV "反向"

#define TR_SORT_ORDERS "名称 A-Z","名称 Z-A","不常用","常用"
#define TR_SORT_MODELS_BY "排序"
#define TR_CREATE_NEW "新建"

#define TR_MIX_SLOW_PREC TR("Slow prec", "Slow up/dn prec")
#define TR_MIX_SLOW_PREC TR("慢放精度", "慢放精度 上行/下行")
Loading
Loading