Skip to content

Commit

Permalink
fix simplified chinese translate
Browse files Browse the repository at this point in the history
  • Loading branch information
ligenxxxx committed Nov 11, 2024
1 parent 87c4279 commit 337488b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/lang/simplified_chinese.c
Original file line number Diff line number Diff line change
Expand Up @@ -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...", "开始..."},
Expand Down Expand Up @@ -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", "点击任意按键退出休眠"},
Expand Down
3 changes: 2 additions & 1 deletion src/ui/page_elrs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 337488b

Please sign in to comment.