增加多国语言
authorxue <2144439972@qq.com>
Sat, 21 Jun 2025 07:08:48 +0000 (15:08 +0800)
committerxue <2144439972@qq.com>
Sat, 21 Jun 2025 07:08:48 +0000 (15:08 +0800)
12 files changed:
code/sdk/application/wearable/fd230app/nativelauncher/include/ui_resource_string.h
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 6b6ba1f..b7caec6 100644 (file)
@@ -654,7 +654,31 @@ enum UIResourceTextId : uint16_t {
     STR_DEEPSEEK = 641,\r
     STR_BP_CHECK = 642,\r
     STR_BP_CALIBRATE = 643,\r
-    STR_MAX_ID = 644,\r
+    STR_MEARURING = 644,\r
+    STR_MEASURING_KEEP_STILL = 645,\r
+    STR_RECALIBRATE = 646,\r
+    STR_CALIBRATION_DONE = 647,\r
+    STR_CALIBRATION_FAILED = 648,\r
+    STR_MEASUREMENT_DONE = 649,\r
+    STR_CALIBRATION_REMINDER = 650,\r
+    STR_USE_TRAD_SPHYGM = 651,\r
+    STR_CONFIRM = 652,\r
+    STR_CAL_RES_UPLOADED_30D = 653,\r
+    STR_RES_ANALYZING = 654,\r
+    STR_ANALYZING_DONT_EXIT = 655,\r
+    STR_FIRST_CAL_KEEP_STILL = 656,\r
+    STR_SECOND_CAL_KEEP_STILL = 657,\r
+    STR_ENTER_BP_READ = 658,\r
+    STR_SBP = 659,\r
+    STR_DBP = 660,\r
+    STR_NORMAL = 661,\r
+    STR_ELEVATED = 662,\r
+    STR_WARNING = 663,\r
+    STR_SBP_ELEVATED = 664,\r
+    STR_WARN_THRESH = 665,\r
+    STR_BP_WARN_CONSULT_DOC = 666,\r
+    STR_MEAS_FAILED = 667,\r
+    STR_MAX_ID = 668,\r
 }; // UIResourceTextId\r
 
 enum FontLanguageId : uint8_t {
index 1bf0019..42aac34 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 6b6ba1f..b7caec6 100644 (file)
@@ -654,7 +654,31 @@ enum UIResourceTextId : uint16_t {
     STR_DEEPSEEK = 641,\r
     STR_BP_CHECK = 642,\r
     STR_BP_CALIBRATE = 643,\r
-    STR_MAX_ID = 644,\r
+    STR_MEARURING = 644,\r
+    STR_MEASURING_KEEP_STILL = 645,\r
+    STR_RECALIBRATE = 646,\r
+    STR_CALIBRATION_DONE = 647,\r
+    STR_CALIBRATION_FAILED = 648,\r
+    STR_MEASUREMENT_DONE = 649,\r
+    STR_CALIBRATION_REMINDER = 650,\r
+    STR_USE_TRAD_SPHYGM = 651,\r
+    STR_CONFIRM = 652,\r
+    STR_CAL_RES_UPLOADED_30D = 653,\r
+    STR_RES_ANALYZING = 654,\r
+    STR_ANALYZING_DONT_EXIT = 655,\r
+    STR_FIRST_CAL_KEEP_STILL = 656,\r
+    STR_SECOND_CAL_KEEP_STILL = 657,\r
+    STR_ENTER_BP_READ = 658,\r
+    STR_SBP = 659,\r
+    STR_DBP = 660,\r
+    STR_NORMAL = 661,\r
+    STR_ELEVATED = 662,\r
+    STR_WARNING = 663,\r
+    STR_SBP_ELEVATED = 664,\r
+    STR_WARN_THRESH = 665,\r
+    STR_BP_WARN_CONSULT_DOC = 666,\r
+    STR_MEAS_FAILED = 667,\r
+    STR_MAX_ID = 668,\r
 }; // UIResourceTextId\r
 
 enum FontLanguageId : uint8_t {
index 7d44125..338212f 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 9b983a0..7035730 100755 (executable)
@@ -641,6 +641,30 @@ STR_DELETE_ALL$Clear all
 STR_FRE_CONTACT$Frequent contact\r
 STR_RECORD_MAX$The recording space is full\r
 STR_CLEAR_ALL_RECORDS$Clear all records\r
-STR_DEEPSEEK$DEEPSEEK\r
+STR_DEEPSEEK$DeepSeek\r
 STR_BP_CHECK$Blood pressure measurement\r
-STR_BP_CALIBRATE$Blood pressure calibration
\ No newline at end of file
+STR_BP_CALIBRATE$Blood pressure calibration\r
+STR_MEARURING$Measuring...\r
+STR_MEASURING_KEEP_STILL$Measuring. Please keep still and breathe evenly during the process.\r
+STR_RECALIBRATE$Recalibrate\r
+STR_CALIBRATION_DONE$Calibration completed\r
+STR_CALIBRATION_FAILED$Calibration failed\r
+STR_MEASUREMENT_DONE$I have finished the measurement\r
+STR_CALIBRATION_REMINDER$Calibration reminder\r
+STR_USE_TRAD_SPHYGM$Please use a traditional sphygmomanometer to measure the same arm\r
+STR_CONFIRM$Confirm\r
+STR_CAL_RES_UPLOADED_30D$Calibration results have been uploaded. Recalibration available after 30 days\r
+STR_RES_ANALYZING$Results analyzing\r
+STR_ANALYZING_DONT_EXIT$Do not exit during analysis. Please keep still and breathe evenly.\r
+STR_FIRST_CAL_KEEP_STILL$First-round calibration in progress. Please keep still and breathe evenly.\r
+STR_SECOND_CAL_KEEP_STILL$Second-round calibration in progress. Please keep still and breathe evenly.\r
+STR_ENTER_BP_READ$Please enter blood pressure measurement\r
+STR_SBP$SBP\r
+STR_DBP$DBP\r
+STR_NORMAL$Normal\r
+STR_ELEVATED$Elevated\r
+STR_WARNING$Warning\r
+STR_SBP_ELEVATED$Elevated systolic blood pressure\r
+STR_WARN_THRESH$Warning threshold: XX\r
+STR_BP_WARN_CONSULT_DOC$Blood pressure has reached the warning threshold. Please monitor your condition closely. Consult a doctor if you feel unwell or as needed.\r
+STR_MEAS_FAILED$Measurement failed
\ No newline at end of file
index 9e733bc..55244e3 100755 (executable)
@@ -641,6 +641,30 @@ STR_DELETE_ALL$全部清除
 STR_FRE_CONTACT$常用联系人\r
 STR_RECORD_MAX$录音空间已满\r
 STR_CLEAR_ALL_RECORDS$清除全部记录\r
-STR_DEEPSEEK$DEEPSEEK\r
+STR_DEEPSEEK$DeepSeek\r
 STR_BP_CHECK$血压测量\r
-STR_BP_CALIBRATE$血压校准
\ No newline at end of file
+STR_BP_CALIBRATE$血压校准\r
+STR_MEARURING$测量中...\r
+STR_MEASURING_KEEP_STILL$测量中,过程中尽量保持静止,呼吸均匀平衡\r
+STR_RECALIBRATE$重新校准\r
+STR_CALIBRATION_DONE$校准完成\r
+STR_CALIBRATION_FAILED$校准失败\r
+STR_MEASUREMENT_DONE$我已测完\r
+STR_CALIBRATION_REMINDER$校准提醒\r
+STR_USE_TRAD_SPHYGM$请用传统血压计测量同一只手\r
+STR_CONFIRM$确认\r
+STR_CAL_RES_UPLOADED_30D$校准结果已上传,30天后可重新校准\r
+STR_RES_ANALYZING$结果分析中\r
+STR_ANALYZING_DONT_EXIT$分析中请勿退出,过程中尽量保持静止,呼吸均匀平衡\r
+STR_FIRST_CAL_KEEP_STILL$首轮校准中,过程中尽量保持静止,呼吸均匀平衡\r
+STR_SECOND_CAL_KEEP_STILL$二轮校准中,过程中尽量保持静止,呼吸均匀平衡\r
+STR_ENTER_BP_READ$请输入血压计值\r
+STR_SBP$收缩压\r
+STR_DBP$舒张压\r
+STR_NORMAL$正常\r
+STR_ELEVATED$偏高\r
+STR_WARNING$预警\r
+STR_SBP_ELEVATED$收缩压偏高\r
+STR_WARN_THRESH$预警值:XX\r
+STR_BP_WARN_CONSULT_DOC$血压达到预警值,请密切关注 自身情况,如有不适或必要时, 请询问医生。\r
+STR_MEAS_FAILED$测量失败
\ No newline at end of file
index 9542406..729240c 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 729d149..b27e66f 100755 (executable)
        <lanstr id="STR_FRE_CONTACT" value="Frequent contact"/>
        <lanstr id="STR_RECORD_MAX" value="The recording space is full"/>
        <lanstr id="STR_CLEAR_ALL_RECORDS" value="Clear all records"/>
-       <lanstr id="STR_DEEPSEEK" value="DEEPSEEK"/>
+       <lanstr id="STR_DEEPSEEK" value="DeepSeek"/>
        <lanstr id="STR_BP_CHECK" value="Blood pressure measurement"/>
        <lanstr id="STR_BP_CALIBRATE" value="Blood pressure calibration"/>
+       <lanstr id="STR_MEARURING" value="Measuring..."/>
+       <lanstr id="STR_MEASURING_KEEP_STILL" value="Measuring. Please keep still and breathe evenly during the process."/>
+       <lanstr id="STR_RECALIBRATE" value="Recalibrate"/>
+       <lanstr id="STR_CALIBRATION_DONE" value="Calibration completed"/>
+       <lanstr id="STR_CALIBRATION_FAILED" value="Calibration failed"/>
+       <lanstr id="STR_MEASUREMENT_DONE" value="I have finished the measurement"/>
+       <lanstr id="STR_CALIBRATION_REMINDER" value="Calibration reminder"/>
+       <lanstr id="STR_USE_TRAD_SPHYGM" value="Please use a traditional sphygmomanometer to measure the same arm"/>
+       <lanstr id="STR_CONFIRM" value="Confirm"/>
+       <lanstr id="STR_CAL_RES_UPLOADED_30D" value="Calibration results have been uploaded. Recalibration available after 30 days"/>
+       <lanstr id="STR_RES_ANALYZING" value="Results analyzing"/>
+       <lanstr id="STR_ANALYZING_DONT_EXIT" value="Do not exit during analysis. Please keep still and breathe evenly."/>
+       <lanstr id="STR_FIRST_CAL_KEEP_STILL" value="First-round calibration in progress. Please keep still and breathe evenly."/>
+       <lanstr id="STR_SECOND_CAL_KEEP_STILL" value="Second-round calibration in progress. Please keep still and breathe evenly."/>
+       <lanstr id="STR_ENTER_BP_READ" value="Please enter blood pressure measurement"/>
+       <lanstr id="STR_SBP" value="SBP"/>
+       <lanstr id="STR_DBP" value="DBP"/>
+       <lanstr id="STR_NORMAL" value="Normal"/>
+       <lanstr id="STR_ELEVATED" value="Elevated"/>
+       <lanstr id="STR_WARNING" value="Warning"/>
+       <lanstr id="STR_SBP_ELEVATED" value="Elevated systolic blood pressure"/>
+       <lanstr id="STR_WARN_THRESH" value="Warning threshold: XX"/>
+       <lanstr id="STR_BP_WARN_CONSULT_DOC" value="Blood pressure has reached the warning threshold. Please monitor your condition closely. Consult a doctor if you feel unwell or as needed."/>
+       <lanstr id="STR_MEAS_FAILED" value="Measurement failed"/>
 </language>
index 9487ded..02dec49 100755 (executable)
        <lanstr id="STR_FRE_CONTACT" value="常用联系人"/>
        <lanstr id="STR_RECORD_MAX" value="录音空间已满"/>
        <lanstr id="STR_CLEAR_ALL_RECORDS" value="清除全部记录"/>
-       <lanstr id="STR_DEEPSEEK" value="DEEPSEEK"/>
+       <lanstr id="STR_DEEPSEEK" value="DeepSeek"/>
        <lanstr id="STR_BP_CHECK" value="血压测量"/>
        <lanstr id="STR_BP_CALIBRATE" value="血压校准"/>
+       <lanstr id="STR_MEARURING" value="测量中..."/>
+       <lanstr id="STR_MEASURING_KEEP_STILL" value="测量中,过程中尽量保持静止,呼吸均匀平衡"/>
+       <lanstr id="STR_RECALIBRATE" value="重新校准"/>
+       <lanstr id="STR_CALIBRATION_DONE" value="校准完成"/>
+       <lanstr id="STR_CALIBRATION_FAILED" value="校准失败"/>
+       <lanstr id="STR_MEASUREMENT_DONE" value="我已测完"/>
+       <lanstr id="STR_CALIBRATION_REMINDER" value="校准提醒"/>
+       <lanstr id="STR_USE_TRAD_SPHYGM" value="请用传统血压计测量同一只手"/>
+       <lanstr id="STR_CONFIRM" value="确认"/>
+       <lanstr id="STR_CAL_RES_UPLOADED_30D" value="校准结果已上传,30天后可重新校准"/>
+       <lanstr id="STR_RES_ANALYZING" value="结果分析中"/>
+       <lanstr id="STR_ANALYZING_DONT_EXIT" value="分析中请勿退出,过程中尽量保持静止,呼吸均匀平衡"/>
+       <lanstr id="STR_FIRST_CAL_KEEP_STILL" value="首轮校准中,过程中尽量保持静止,呼吸均匀平衡"/>
+       <lanstr id="STR_SECOND_CAL_KEEP_STILL" value="二轮校准中,过程中尽量保持静止,呼吸均匀平衡"/>
+       <lanstr id="STR_ENTER_BP_READ" value="请输入血压计值"/>
+       <lanstr id="STR_SBP" value="收缩压"/>
+       <lanstr id="STR_DBP" value="舒张压"/>
+       <lanstr id="STR_NORMAL" value="正常"/>
+       <lanstr id="STR_ELEVATED" value="偏高"/>
+       <lanstr id="STR_WARNING" value="预警"/>
+       <lanstr id="STR_SBP_ELEVATED" value="收缩压偏高"/>
+       <lanstr id="STR_WARN_THRESH" value="预警值:XX"/>
+       <lanstr id="STR_BP_WARN_CONSULT_DOC" value="血压达到预警值,请密切关注 自身情况,如有不适或必要时, 请询问医生。"/>
+       <lanstr id="STR_MEAS_FAILED" value="测量失败"/>
 </language>
index 1bf0019..42aac34 100755 (executable)
Binary files a/tools/language_tool/font/en.lang and b/tools/language_tool/font/en.lang differ
index 6b6ba1f..b7caec6 100755 (executable)
@@ -654,7 +654,31 @@ enum UIResourceTextId : uint16_t {
     STR_DEEPSEEK = 641,\r
     STR_BP_CHECK = 642,\r
     STR_BP_CALIBRATE = 643,\r
-    STR_MAX_ID = 644,\r
+    STR_MEARURING = 644,\r
+    STR_MEASURING_KEEP_STILL = 645,\r
+    STR_RECALIBRATE = 646,\r
+    STR_CALIBRATION_DONE = 647,\r
+    STR_CALIBRATION_FAILED = 648,\r
+    STR_MEASUREMENT_DONE = 649,\r
+    STR_CALIBRATION_REMINDER = 650,\r
+    STR_USE_TRAD_SPHYGM = 651,\r
+    STR_CONFIRM = 652,\r
+    STR_CAL_RES_UPLOADED_30D = 653,\r
+    STR_RES_ANALYZING = 654,\r
+    STR_ANALYZING_DONT_EXIT = 655,\r
+    STR_FIRST_CAL_KEEP_STILL = 656,\r
+    STR_SECOND_CAL_KEEP_STILL = 657,\r
+    STR_ENTER_BP_READ = 658,\r
+    STR_SBP = 659,\r
+    STR_DBP = 660,\r
+    STR_NORMAL = 661,\r
+    STR_ELEVATED = 662,\r
+    STR_WARNING = 663,\r
+    STR_SBP_ELEVATED = 664,\r
+    STR_WARN_THRESH = 665,\r
+    STR_BP_WARN_CONSULT_DOC = 666,\r
+    STR_MEAS_FAILED = 667,\r
+    STR_MAX_ID = 668,\r
 }; // UIResourceTextId\r
 
 enum FontLanguageId : uint8_t {
index 7d44125..338212f 100755 (executable)
Binary files a/tools/language_tool/font/zh.lang and b/tools/language_tool/font/zh.lang differ