From: xue <2144439972@qq.com> Date: Thu, 7 Aug 2025 08:57:35 +0000 (+0800) Subject: 增加多国语言 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=32dfbd27b0c77c91ffca4716c7e0a21326360a11;p=mirrors%2FFD230.git 增加多国语言 --- diff --git a/code/sdk/application/wearable/fd230app/nativelauncher/include/ui_resource_string.h b/code/sdk/application/wearable/fd230app/nativelauncher/include/ui_resource_string.h index db7203d02..79e85655a 100644 --- a/code/sdk/application/wearable/fd230app/nativelauncher/include/ui_resource_string.h +++ b/code/sdk/application/wearable/fd230app/nativelauncher/include/ui_resource_string.h @@ -712,7 +712,23 @@ enum UIResourceTextId : uint16_t { STR_CALIBRATION_PATH = 699, STR_START_AI = 700, STR_CALIBRATION_ERROR_REMIND = 701, - STR_MAX_ID = 702, + STR_PUNCH_SUCCESS = 702, + STR_PUNCH_FAILURE = 703, + STR_PUNCH = 704, + STR_NO_TASK = 705, + STR_PROFILE = 706, + STR_DEVICE_UNBOUND = 707, + STR_BRAND = 708, + STR_MODEL = 709, + STR_IDENTIFICATION = 710, + STR_DEVICE_ID = 711, + STR_UNIT = 712, + STR_DEPARTMENT = 713, + STR_PHONE_NUMBER = 714, + STR_REGISTER_TIME = 715, + STR_CHECKIN_GPS = 716, + STR_WORKSYNC = 717, + STR_MAX_ID = 718, }; // UIResourceTextId enum FontLanguageId : uint8_t { diff --git a/code/sdk/build/config/target_config/brandy/mk_fs_image/n9/fs/user/res/font/en.lang b/code/sdk/build/config/target_config/brandy/mk_fs_image/n9/fs/user/res/font/en.lang index 552d8c27f..aae69a5b9 100644 Binary files a/code/sdk/build/config/target_config/brandy/mk_fs_image/n9/fs/user/res/font/en.lang and b/code/sdk/build/config/target_config/brandy/mk_fs_image/n9/fs/user/res/font/en.lang differ diff --git a/code/sdk/build/config/target_config/brandy/mk_fs_image/n9/fs/user/res/font/ui_resource_string.h b/code/sdk/build/config/target_config/brandy/mk_fs_image/n9/fs/user/res/font/ui_resource_string.h index a40d7dccb..79e85655a 100644 --- a/code/sdk/build/config/target_config/brandy/mk_fs_image/n9/fs/user/res/font/ui_resource_string.h +++ b/code/sdk/build/config/target_config/brandy/mk_fs_image/n9/fs/user/res/font/ui_resource_string.h @@ -726,7 +726,9 @@ enum UIResourceTextId : uint16_t { STR_DEPARTMENT = 713, STR_PHONE_NUMBER = 714, STR_REGISTER_TIME = 715, - STR_MAX_ID = 716, + STR_CHECKIN_GPS = 716, + STR_WORKSYNC = 717, + STR_MAX_ID = 718, }; // UIResourceTextId enum FontLanguageId : uint8_t { diff --git a/code/sdk/build/config/target_config/brandy/mk_fs_image/n9/fs/user/res/font/zh.lang b/code/sdk/build/config/target_config/brandy/mk_fs_image/n9/fs/user/res/font/zh.lang index aa8eaf175..1cb663de3 100644 Binary files a/code/sdk/build/config/target_config/brandy/mk_fs_image/n9/fs/user/res/font/zh.lang and b/code/sdk/build/config/target_config/brandy/mk_fs_image/n9/fs/user/res/font/zh.lang differ diff --git a/tools/language_tool/Language_xml/input_list_en.txt b/tools/language_tool/Language_xml/input_list_en.txt index a81e059a1..c10af30fe 100755 --- a/tools/language_tool/Language_xml/input_list_en.txt +++ b/tools/language_tool/Language_xml/input_list_en.txt @@ -715,4 +715,6 @@ STR_DEVICE_ID$Device ID: STR_UNIT$Unit: STR_DEPARTMENT$Department: STR_PHONE_NUMBER$Phone number: -STR_REGISTER_TIME$Registration time: \ No newline at end of file +STR_REGISTER_TIME$Registration time: +STR_CHECKIN_GPS$Waiting for GPS positioning. +STR_WORKSYNC$worksync \ No newline at end of file diff --git a/tools/language_tool/Language_xml/input_list_zh.txt b/tools/language_tool/Language_xml/input_list_zh.txt index 655061e77..1c6c72abf 100755 --- a/tools/language_tool/Language_xml/input_list_zh.txt +++ b/tools/language_tool/Language_xml/input_list_zh.txt @@ -715,4 +715,6 @@ STR_DEVICE_ID$设备ID: STR_UNIT$单位: STR_DEPARTMENT$部门: STR_PHONE_NUMBER$手机号: -STR_REGISTER_TIME$注册时间: \ No newline at end of file +STR_REGISTER_TIME$注册时间: +STR_CHECKIN_GPS$等待GPS定位中 +STR_WORKSYNC$worksync \ No newline at end of file diff --git a/tools/language_tool/Language_xml/language_custom.xlsx b/tools/language_tool/Language_xml/language_custom.xlsx index 0262c8e1c..8c2d4259b 100755 Binary files a/tools/language_tool/Language_xml/language_custom.xlsx and b/tools/language_tool/Language_xml/language_custom.xlsx differ diff --git a/tools/language_tool/Language_xml/language_en.xml b/tools/language_tool/Language_xml/language_en.xml index 2ab134e69..a3fae9688 100755 --- a/tools/language_tool/Language_xml/language_en.xml +++ b/tools/language_tool/Language_xml/language_en.xml @@ -717,4 +717,6 @@ + + diff --git a/tools/language_tool/Language_xml/language_zh.xml b/tools/language_tool/Language_xml/language_zh.xml index 215c8b82a..53c1ca44f 100755 --- a/tools/language_tool/Language_xml/language_zh.xml +++ b/tools/language_tool/Language_xml/language_zh.xml @@ -717,4 +717,6 @@ + + diff --git a/tools/language_tool/font/en.lang b/tools/language_tool/font/en.lang index 552d8c27f..aae69a5b9 100755 Binary files a/tools/language_tool/font/en.lang and b/tools/language_tool/font/en.lang differ diff --git a/tools/language_tool/font/ui_resource_string.h b/tools/language_tool/font/ui_resource_string.h index a40d7dccb..79e85655a 100755 --- a/tools/language_tool/font/ui_resource_string.h +++ b/tools/language_tool/font/ui_resource_string.h @@ -726,7 +726,9 @@ enum UIResourceTextId : uint16_t { STR_DEPARTMENT = 713, STR_PHONE_NUMBER = 714, STR_REGISTER_TIME = 715, - STR_MAX_ID = 716, + STR_CHECKIN_GPS = 716, + STR_WORKSYNC = 717, + STR_MAX_ID = 718, }; // UIResourceTextId enum FontLanguageId : uint8_t { diff --git a/tools/language_tool/font/zh.lang b/tools/language_tool/font/zh.lang index aa8eaf175..1cb663de3 100755 Binary files a/tools/language_tool/font/zh.lang and b/tools/language_tool/font/zh.lang differ