From 337488b699c2d4843beb38b8732d3cdefba9201f Mon Sep 17 00:00:00 2001 From: ligenxxxx <59721724+ligenxxxx@users.noreply.github.com> Date: Mon, 11 Nov 2024 16:08:28 +0800 Subject: [PATCH] fix simplified chinese translate --- src/lang/simplified_chinese.c | 2 ++ src/ui/page_elrs.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lang/simplified_chinese.c b/src/lang/simplified_chinese.c index f09ecd8e..8749908f 100644 --- a/src/lang/simplified_chinese.c +++ b/src/lang/simplified_chinese.c @@ -125,6 +125,7 @@ translate_t translate_simplified_chinese[TRANSLATE_STRING_NUM] = { // elrs {"ELRS", "ELRS"}, {"Send", "发送"}, + {"Bind", "绑定"}, {"Click to start", "点击开始"}, {"* Press right button to cancel binding", "* 按下右键取消绑定"}, {"Starting...", "开始..."}, @@ -286,6 +287,7 @@ translate_t translate_simplified_chinese[TRANSLATE_STRING_NUM] = { {"'Toggle source' will switch between HDZero and Expansion module", "'切换信号源'将在扩展模块和HDZero之间切换"}, // go sleep + {"Go Sleep", "休眠"}, {"Go Sleep!", "休眠!"}, {"Click the Enter Button to go sleep", "点击确认进入休眠"}, {"Click any button to exit sleep mode", "点击任意按键退出休眠"}, diff --git a/src/ui/page_elrs.c b/src/ui/page_elrs.c index c1a4858e..0cf08dc8 100644 --- a/src/ui/page_elrs.c +++ b/src/ui/page_elrs.c @@ -98,7 +98,8 @@ static lv_obj_t *page_elrs_create(lv_obj_t *parent, panel_arr_t *arr) { create_btn_group_item(&elrs_group, cont, 2, _lang("Backpack"), _lang("On"), _lang("Off"), "", "", POS_PWR); btn_group_set_sel(&elrs_group, !g_setting.elrs.enable); - btn_vtx_send = create_label_item(cont, _lang("Send VTX"), 1, POS_VTX, 1); + sprintf(buf, "%s VTX", _lang("Send")); + btn_vtx_send = create_label_item(cont, buf, 1, POS_VTX, 1); btn_wifi = create_label_item(cont, "WiFi", 1, POS_WIFI, 1); label_wifi_status = create_label_item(cont, _lang("Click to start"), 2, POS_WIFI, 1); btn_bind = create_label_item(cont, _lang("Bind"), 1, POS_BIND, 1);