From: xue <2144439972@qq.com> Date: Sat, 21 Jun 2025 07:08:48 +0000 (+0800) Subject: 增加多国语言 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=af2de04b74c00e6ca3b0cca8184557d646fd0862;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 6b6ba1fe7..b7caec622 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 @@ -654,7 +654,31 @@ enum UIResourceTextId : uint16_t { STR_DEEPSEEK = 641, STR_BP_CHECK = 642, STR_BP_CALIBRATE = 643, - STR_MAX_ID = 644, + STR_MEARURING = 644, + STR_MEASURING_KEEP_STILL = 645, + STR_RECALIBRATE = 646, + STR_CALIBRATION_DONE = 647, + STR_CALIBRATION_FAILED = 648, + STR_MEASUREMENT_DONE = 649, + STR_CALIBRATION_REMINDER = 650, + STR_USE_TRAD_SPHYGM = 651, + STR_CONFIRM = 652, + STR_CAL_RES_UPLOADED_30D = 653, + STR_RES_ANALYZING = 654, + STR_ANALYZING_DONT_EXIT = 655, + STR_FIRST_CAL_KEEP_STILL = 656, + STR_SECOND_CAL_KEEP_STILL = 657, + STR_ENTER_BP_READ = 658, + STR_SBP = 659, + STR_DBP = 660, + STR_NORMAL = 661, + STR_ELEVATED = 662, + STR_WARNING = 663, + STR_SBP_ELEVATED = 664, + STR_WARN_THRESH = 665, + STR_BP_WARN_CONSULT_DOC = 666, + STR_MEAS_FAILED = 667, + STR_MAX_ID = 668, }; // UIResourceTextId enum FontLanguageId : uint8_t { 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 1bf0019ac..42aac34ea 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 6b6ba1fe7..b7caec622 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 @@ -654,7 +654,31 @@ enum UIResourceTextId : uint16_t { STR_DEEPSEEK = 641, STR_BP_CHECK = 642, STR_BP_CALIBRATE = 643, - STR_MAX_ID = 644, + STR_MEARURING = 644, + STR_MEASURING_KEEP_STILL = 645, + STR_RECALIBRATE = 646, + STR_CALIBRATION_DONE = 647, + STR_CALIBRATION_FAILED = 648, + STR_MEASUREMENT_DONE = 649, + STR_CALIBRATION_REMINDER = 650, + STR_USE_TRAD_SPHYGM = 651, + STR_CONFIRM = 652, + STR_CAL_RES_UPLOADED_30D = 653, + STR_RES_ANALYZING = 654, + STR_ANALYZING_DONT_EXIT = 655, + STR_FIRST_CAL_KEEP_STILL = 656, + STR_SECOND_CAL_KEEP_STILL = 657, + STR_ENTER_BP_READ = 658, + STR_SBP = 659, + STR_DBP = 660, + STR_NORMAL = 661, + STR_ELEVATED = 662, + STR_WARNING = 663, + STR_SBP_ELEVATED = 664, + STR_WARN_THRESH = 665, + STR_BP_WARN_CONSULT_DOC = 666, + STR_MEAS_FAILED = 667, + STR_MAX_ID = 668, }; // 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 7d4412586..338212f90 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 9b983a0d6..70357300d 100755 --- a/tools/language_tool/Language_xml/input_list_en.txt +++ b/tools/language_tool/Language_xml/input_list_en.txt @@ -641,6 +641,30 @@ STR_DELETE_ALL$Clear all STR_FRE_CONTACT$Frequent contact STR_RECORD_MAX$The recording space is full STR_CLEAR_ALL_RECORDS$Clear all records -STR_DEEPSEEK$DEEPSEEK +STR_DEEPSEEK$DeepSeek STR_BP_CHECK$Blood pressure measurement -STR_BP_CALIBRATE$Blood pressure calibration \ No newline at end of file +STR_BP_CALIBRATE$Blood pressure calibration +STR_MEARURING$Measuring... +STR_MEASURING_KEEP_STILL$Measuring. Please keep still and breathe evenly during the process. +STR_RECALIBRATE$Recalibrate +STR_CALIBRATION_DONE$Calibration completed +STR_CALIBRATION_FAILED$Calibration failed +STR_MEASUREMENT_DONE$I have finished the measurement +STR_CALIBRATION_REMINDER$Calibration reminder +STR_USE_TRAD_SPHYGM$Please use a traditional sphygmomanometer to measure the same arm +STR_CONFIRM$Confirm +STR_CAL_RES_UPLOADED_30D$Calibration results have been uploaded. Recalibration available after 30 days +STR_RES_ANALYZING$Results analyzing +STR_ANALYZING_DONT_EXIT$Do not exit during analysis. Please keep still and breathe evenly. +STR_FIRST_CAL_KEEP_STILL$First-round calibration in progress. Please keep still and breathe evenly. +STR_SECOND_CAL_KEEP_STILL$Second-round calibration in progress. Please keep still and breathe evenly. +STR_ENTER_BP_READ$Please enter blood pressure measurement +STR_SBP$SBP +STR_DBP$DBP +STR_NORMAL$Normal +STR_ELEVATED$Elevated +STR_WARNING$Warning +STR_SBP_ELEVATED$Elevated systolic blood pressure +STR_WARN_THRESH$Warning threshold: XX +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. +STR_MEAS_FAILED$Measurement failed \ 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 9e733bc2f..55244e371 100755 --- a/tools/language_tool/Language_xml/input_list_zh.txt +++ b/tools/language_tool/Language_xml/input_list_zh.txt @@ -641,6 +641,30 @@ STR_DELETE_ALL$全部清除 STR_FRE_CONTACT$常用联系人 STR_RECORD_MAX$录音空间已满 STR_CLEAR_ALL_RECORDS$清除全部记录 -STR_DEEPSEEK$DEEPSEEK +STR_DEEPSEEK$DeepSeek STR_BP_CHECK$血压测量 -STR_BP_CALIBRATE$血压校准 \ No newline at end of file +STR_BP_CALIBRATE$血压校准 +STR_MEARURING$测量中... +STR_MEASURING_KEEP_STILL$测量中,过程中尽量保持静止,呼吸均匀平衡 +STR_RECALIBRATE$重新校准 +STR_CALIBRATION_DONE$校准完成 +STR_CALIBRATION_FAILED$校准失败 +STR_MEASUREMENT_DONE$我已测完 +STR_CALIBRATION_REMINDER$校准提醒 +STR_USE_TRAD_SPHYGM$请用传统血压计测量同一只手 +STR_CONFIRM$确认 +STR_CAL_RES_UPLOADED_30D$校准结果已上传,30天后可重新校准 +STR_RES_ANALYZING$结果分析中 +STR_ANALYZING_DONT_EXIT$分析中请勿退出,过程中尽量保持静止,呼吸均匀平衡 +STR_FIRST_CAL_KEEP_STILL$首轮校准中,过程中尽量保持静止,呼吸均匀平衡 +STR_SECOND_CAL_KEEP_STILL$二轮校准中,过程中尽量保持静止,呼吸均匀平衡 +STR_ENTER_BP_READ$请输入血压计值 +STR_SBP$收缩压 +STR_DBP$舒张压 +STR_NORMAL$正常 +STR_ELEVATED$偏高 +STR_WARNING$预警 +STR_SBP_ELEVATED$收缩压偏高 +STR_WARN_THRESH$预警值:XX +STR_BP_WARN_CONSULT_DOC$血压达到预警值,请密切关注 自身情况,如有不适或必要时, 请询问医生。 +STR_MEAS_FAILED$测量失败 \ 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 9542406a0..729240cad 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 729d149dc..b27e66f40 100755 --- a/tools/language_tool/Language_xml/language_en.xml +++ b/tools/language_tool/Language_xml/language_en.xml @@ -642,7 +642,31 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/language_tool/Language_xml/language_zh.xml b/tools/language_tool/Language_xml/language_zh.xml index 9487dedab..02dec498b 100755 --- a/tools/language_tool/Language_xml/language_zh.xml +++ b/tools/language_tool/Language_xml/language_zh.xml @@ -642,7 +642,31 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/language_tool/font/en.lang b/tools/language_tool/font/en.lang index 1bf0019ac..42aac34ea 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 6b6ba1fe7..b7caec622 100755 --- a/tools/language_tool/font/ui_resource_string.h +++ b/tools/language_tool/font/ui_resource_string.h @@ -654,7 +654,31 @@ enum UIResourceTextId : uint16_t { STR_DEEPSEEK = 641, STR_BP_CHECK = 642, STR_BP_CALIBRATE = 643, - STR_MAX_ID = 644, + STR_MEARURING = 644, + STR_MEASURING_KEEP_STILL = 645, + STR_RECALIBRATE = 646, + STR_CALIBRATION_DONE = 647, + STR_CALIBRATION_FAILED = 648, + STR_MEASUREMENT_DONE = 649, + STR_CALIBRATION_REMINDER = 650, + STR_USE_TRAD_SPHYGM = 651, + STR_CONFIRM = 652, + STR_CAL_RES_UPLOADED_30D = 653, + STR_RES_ANALYZING = 654, + STR_ANALYZING_DONT_EXIT = 655, + STR_FIRST_CAL_KEEP_STILL = 656, + STR_SECOND_CAL_KEEP_STILL = 657, + STR_ENTER_BP_READ = 658, + STR_SBP = 659, + STR_DBP = 660, + STR_NORMAL = 661, + STR_ELEVATED = 662, + STR_WARNING = 663, + STR_SBP_ELEVATED = 664, + STR_WARN_THRESH = 665, + STR_BP_WARN_CONSULT_DOC = 666, + STR_MEAS_FAILED = 667, + STR_MAX_ID = 668, }; // UIResourceTextId enum FontLanguageId : uint8_t { diff --git a/tools/language_tool/font/zh.lang b/tools/language_tool/font/zh.lang index 7d4412586..338212f90 100755 Binary files a/tools/language_tool/font/zh.lang and b/tools/language_tool/font/zh.lang differ