增加多国语言
authorxue <2144439972@qq.com>
Thu, 17 Jul 2025 07:03:39 +0000 (15:03 +0800)
committerxue <2144439972@qq.com>
Thu, 17 Jul 2025 07:03:39 +0000 (15:03 +0800)
18 files changed:
code/sdk/application/wearable/fd230app/nativelauncher/include/ui_resource_string.h
code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/res/font/en.lang
code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/res/font/ui_resource_string.h
code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/res/font/zh.lang
code/sdk/build/config/target_config/brandy/mk_fs_image/n9/fs/user/res/font/en.lang
code/sdk/build/config/target_config/brandy/mk_fs_image/n9/fs/user/res/font/ui_resource_string.h
code/sdk/build/config/target_config/brandy/mk_fs_image/n9/fs/user/res/font/zh.lang
code/sdk/build/config/target_config/brandy/mk_fs_image/w9/fs/user/res/font/en.lang
code/sdk/build/config/target_config/brandy/mk_fs_image/w9/fs/user/res/font/ui_resource_string.h
code/sdk/build/config/target_config/brandy/mk_fs_image/w9/fs/user/res/font/zh.lang
tools/language_tool/Language_xml/input_list_en.txt
tools/language_tool/Language_xml/input_list_zh.txt
tools/language_tool/Language_xml/language_custom.xlsx
tools/language_tool/Language_xml/language_en.xml
tools/language_tool/Language_xml/language_zh.xml
tools/language_tool/font/en.lang
tools/language_tool/font/ui_resource_string.h
tools/language_tool/font/zh.lang

index 1ac231f..db7203d 100644 (file)
@@ -711,7 +711,8 @@ enum UIResourceTextId : uint16_t {
     STR_CALIBRATION_SUGGESTION = 698,\r
     STR_CALIBRATION_PATH = 699,\r
     STR_START_AI = 700,\r
-    STR_MAX_ID = 701,\r
+    STR_CALIBRATION_ERROR_REMIND = 701,\r
+    STR_MAX_ID = 702,\r
 }; // UIResourceTextId\r
 
 enum FontLanguageId : uint8_t {
index 441b555..933afdf 100755 (executable)
Binary files a/code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/res/font/en.lang and b/code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/res/font/en.lang differ
index 2e7c956..db7203d 100755 (executable)
@@ -710,7 +710,9 @@ enum UIResourceTextId : uint16_t {
     STR_CALIBRATE = 697,\r
     STR_CALIBRATION_SUGGESTION = 698,\r
     STR_CALIBRATION_PATH = 699,\r
-    STR_MAX_ID = 700,\r
+    STR_START_AI = 700,\r
+    STR_CALIBRATION_ERROR_REMIND = 701,\r
+    STR_MAX_ID = 702,\r
 }; // UIResourceTextId\r
 
 enum FontLanguageId : uint8_t {
index c84385f..6458c57 100755 (executable)
Binary files a/code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/res/font/zh.lang and b/code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/res/font/zh.lang differ
index 079c3ea..933afdf 100644 (file)
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
index 1ac231f..db7203d 100644 (file)
@@ -711,7 +711,8 @@ enum UIResourceTextId : uint16_t {
     STR_CALIBRATION_SUGGESTION = 698,\r
     STR_CALIBRATION_PATH = 699,\r
     STR_START_AI = 700,\r
-    STR_MAX_ID = 701,\r
+    STR_CALIBRATION_ERROR_REMIND = 701,\r
+    STR_MAX_ID = 702,\r
 }; // UIResourceTextId\r
 
 enum FontLanguageId : uint8_t {
index 1b28015..6458c57 100644 (file)
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
index 441b555..933afdf 100644 (file)
Binary files a/code/sdk/build/config/target_config/brandy/mk_fs_image/w9/fs/user/res/font/en.lang and b/code/sdk/build/config/target_config/brandy/mk_fs_image/w9/fs/user/res/font/en.lang differ
index 2e7c956..db7203d 100644 (file)
@@ -710,7 +710,9 @@ enum UIResourceTextId : uint16_t {
     STR_CALIBRATE = 697,\r
     STR_CALIBRATION_SUGGESTION = 698,\r
     STR_CALIBRATION_PATH = 699,\r
-    STR_MAX_ID = 700,\r
+    STR_START_AI = 700,\r
+    STR_CALIBRATION_ERROR_REMIND = 701,\r
+    STR_MAX_ID = 702,\r
 }; // UIResourceTextId\r
 
 enum FontLanguageId : uint8_t {
index c84385f..6458c57 100644 (file)
Binary files a/code/sdk/build/config/target_config/brandy/mk_fs_image/w9/fs/user/res/font/zh.lang and b/code/sdk/build/config/target_config/brandy/mk_fs_image/w9/fs/user/res/font/zh.lang differ
index d3fa4d4..919a2e2 100755 (executable)
@@ -700,4 +700,5 @@ STR_LAST_CALIBRATION_TIME$Last Calibration Time
 STR_CALIBRATE$Calibrate\r
 STR_CALIBRATION_SUGGESTION$It is recommended to recalibrate every month\r
 STR_CALIBRATION_PATH$Calibration Path: Settings - Blood Pressure Calibration\r
-STR_START_AI$xingchen AI
\ No newline at end of file
+STR_START_AI$xingchen AI\r
+STR_CALIBRATION_ERROR_REMIND$Calibration failed. Please recalibrate.
\ No newline at end of file
index d49075e..e17ad95 100755 (executable)
@@ -700,4 +700,5 @@ STR_LAST_CALIBRATION_TIME$上次校准时间
 STR_CALIBRATE$校准\r
 STR_CALIBRATION_SUGGESTION$建议每个月都重新校准!\r
 STR_CALIBRATION_PATH$校准路径:设置-血压校准\r
-STR_START_AI$星辰AI
\ No newline at end of file
+STR_START_AI$星辰AI\r
+STR_CALIBRATION_ERROR_REMIND$校准失败,请重新校准
\ No newline at end of file
index 4aee2c7..6162edd 100755 (executable)
Binary files a/tools/language_tool/Language_xml/language_custom.xlsx and b/tools/language_tool/Language_xml/language_custom.xlsx differ
index 0c117cd..729d10f 100755 (executable)
        <lanstr id="STR_CALIBRATION_SUGGESTION" value="It is recommended to recalibrate every month"/>
        <lanstr id="STR_CALIBRATION_PATH" value="Calibration Path: Settings - Blood Pressure Calibration"/>
        <lanstr id="STR_START_AI" value="xingchen AI"/>
+       <lanstr id="STR_CALIBRATION_ERROR_REMIND" value="Calibration failed. Please recalibrate."/>
 </language>
index 1b63a05..b08888b 100755 (executable)
        <lanstr id="STR_CALIBRATION_SUGGESTION" value="建议每个月都重新校准!"/>
        <lanstr id="STR_CALIBRATION_PATH" value="校准路径:设置-血压校准"/>
        <lanstr id="STR_START_AI" value="星辰AI"/>
+       <lanstr id="STR_CALIBRATION_ERROR_REMIND" value="校准失败,请重新校准"/>
 </language>
index 079c3ea..933afdf 100755 (executable)
Binary files a/tools/language_tool/font/en.lang and b/tools/language_tool/font/en.lang differ
index 1ac231f..db7203d 100755 (executable)
@@ -711,7 +711,8 @@ enum UIResourceTextId : uint16_t {
     STR_CALIBRATION_SUGGESTION = 698,\r
     STR_CALIBRATION_PATH = 699,\r
     STR_START_AI = 700,\r
-    STR_MAX_ID = 701,\r
+    STR_CALIBRATION_ERROR_REMIND = 701,\r
+    STR_MAX_ID = 702,\r
 }; // UIResourceTextId\r
 
 enum FontLanguageId : uint8_t {
index 1b28015..6458c57 100755 (executable)
Binary files a/tools/language_tool/font/zh.lang and b/tools/language_tool/font/zh.lang differ