From: xue <2144439972@qq.com>
Date: Thu, 17 Jul 2025 07:03:39 +0000 (+0800)
Subject: 增加多国语言
X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=96cefd3c6f2b664964a574c46bae3608857fb2ed;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 1ac231f45..db7203d02 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
@@ -711,7 +711,8 @@ enum UIResourceTextId : uint16_t {
STR_CALIBRATION_SUGGESTION = 698,
STR_CALIBRATION_PATH = 699,
STR_START_AI = 700,
- STR_MAX_ID = 701,
+ STR_CALIBRATION_ERROR_REMIND = 701,
+ STR_MAX_ID = 702,
}; // UIResourceTextId
enum FontLanguageId : uint8_t {
diff --git a/code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/res/font/en.lang b/code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/res/font/en.lang
index 441b55529..933afdf81 100755
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
diff --git a/code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/res/font/ui_resource_string.h b/code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/res/font/ui_resource_string.h
index 2e7c9569d..db7203d02 100755
--- a/code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/res/font/ui_resource_string.h
+++ b/code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/res/font/ui_resource_string.h
@@ -710,7 +710,9 @@ enum UIResourceTextId : uint16_t {
STR_CALIBRATE = 697,
STR_CALIBRATION_SUGGESTION = 698,
STR_CALIBRATION_PATH = 699,
- STR_MAX_ID = 700,
+ STR_START_AI = 700,
+ STR_CALIBRATION_ERROR_REMIND = 701,
+ STR_MAX_ID = 702,
}; // UIResourceTextId
enum FontLanguageId : uint8_t {
diff --git a/code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/res/font/zh.lang b/code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/res/font/zh.lang
index c84385fa1..6458c5750 100755
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
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 079c3ea84..933afdf81 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 1ac231f45..db7203d02 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
@@ -711,7 +711,8 @@ enum UIResourceTextId : uint16_t {
STR_CALIBRATION_SUGGESTION = 698,
STR_CALIBRATION_PATH = 699,
STR_START_AI = 700,
- STR_MAX_ID = 701,
+ STR_CALIBRATION_ERROR_REMIND = 701,
+ STR_MAX_ID = 702,
}; // 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 1b28015ad..6458c5750 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/code/sdk/build/config/target_config/brandy/mk_fs_image/w9/fs/user/res/font/en.lang b/code/sdk/build/config/target_config/brandy/mk_fs_image/w9/fs/user/res/font/en.lang
index 441b55529..933afdf81 100644
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
diff --git a/code/sdk/build/config/target_config/brandy/mk_fs_image/w9/fs/user/res/font/ui_resource_string.h b/code/sdk/build/config/target_config/brandy/mk_fs_image/w9/fs/user/res/font/ui_resource_string.h
index 2e7c9569d..db7203d02 100644
--- a/code/sdk/build/config/target_config/brandy/mk_fs_image/w9/fs/user/res/font/ui_resource_string.h
+++ b/code/sdk/build/config/target_config/brandy/mk_fs_image/w9/fs/user/res/font/ui_resource_string.h
@@ -710,7 +710,9 @@ enum UIResourceTextId : uint16_t {
STR_CALIBRATE = 697,
STR_CALIBRATION_SUGGESTION = 698,
STR_CALIBRATION_PATH = 699,
- STR_MAX_ID = 700,
+ STR_START_AI = 700,
+ STR_CALIBRATION_ERROR_REMIND = 701,
+ STR_MAX_ID = 702,
}; // UIResourceTextId
enum FontLanguageId : uint8_t {
diff --git a/code/sdk/build/config/target_config/brandy/mk_fs_image/w9/fs/user/res/font/zh.lang b/code/sdk/build/config/target_config/brandy/mk_fs_image/w9/fs/user/res/font/zh.lang
index c84385fa1..6458c5750 100644
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
diff --git a/tools/language_tool/Language_xml/input_list_en.txt b/tools/language_tool/Language_xml/input_list_en.txt
index d3fa4d45b..919a2e21b 100755
--- a/tools/language_tool/Language_xml/input_list_en.txt
+++ b/tools/language_tool/Language_xml/input_list_en.txt
@@ -700,4 +700,5 @@ STR_LAST_CALIBRATION_TIME$Last Calibration Time
STR_CALIBRATE$Calibrate
STR_CALIBRATION_SUGGESTION$It is recommended to recalibrate every month
STR_CALIBRATION_PATH$Calibration Path: Settings - Blood Pressure Calibration
-STR_START_AI$xingchen AI
\ No newline at end of file
+STR_START_AI$xingchen AI
+STR_CALIBRATION_ERROR_REMIND$Calibration failed. Please recalibrate.
\ 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 d49075e89..e17ad955c 100755
--- a/tools/language_tool/Language_xml/input_list_zh.txt
+++ b/tools/language_tool/Language_xml/input_list_zh.txt
@@ -700,4 +700,5 @@ STR_LAST_CALIBRATION_TIME$䏿¬¡æ ¡åæ¶é´
STR_CALIBRATE$æ ¡å
STR_CALIBRATION_SUGGESTION$建议æ¯ä¸ªæé½éæ°æ ¡åï¼
STR_CALIBRATION_PATH$æ ¡åè·¯å¾ï¼è®¾ç½®-è¡åæ ¡å
-STR_START_AI$æè¾°AI
\ No newline at end of file
+STR_START_AI$æè¾°AI
+STR_CALIBRATION_ERROR_REMIND$æ ¡å失败,è¯·éæ°æ ¡å
\ 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 4aee2c72e..6162eddd7 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 0c117cde5..729d10fc5 100755
--- a/tools/language_tool/Language_xml/language_en.xml
+++ b/tools/language_tool/Language_xml/language_en.xml
@@ -702,4 +702,5 @@
+
diff --git a/tools/language_tool/Language_xml/language_zh.xml b/tools/language_tool/Language_xml/language_zh.xml
index 1b63a05de..b08888b3c 100755
--- a/tools/language_tool/Language_xml/language_zh.xml
+++ b/tools/language_tool/Language_xml/language_zh.xml
@@ -702,4 +702,5 @@
+
diff --git a/tools/language_tool/font/en.lang b/tools/language_tool/font/en.lang
index 079c3ea84..933afdf81 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 1ac231f45..db7203d02 100755
--- a/tools/language_tool/font/ui_resource_string.h
+++ b/tools/language_tool/font/ui_resource_string.h
@@ -711,7 +711,8 @@ enum UIResourceTextId : uint16_t {
STR_CALIBRATION_SUGGESTION = 698,
STR_CALIBRATION_PATH = 699,
STR_START_AI = 700,
- STR_MAX_ID = 701,
+ STR_CALIBRATION_ERROR_REMIND = 701,
+ STR_MAX_ID = 702,
}; // UIResourceTextId
enum FontLanguageId : uint8_t {
diff --git a/tools/language_tool/font/zh.lang b/tools/language_tool/font/zh.lang
index 1b28015ad..6458c5750 100755
Binary files a/tools/language_tool/font/zh.lang and b/tools/language_tool/font/zh.lang differ