From 4fd18922edcda24b592624649f7b3eaf2c48d4cd Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E7=A8=8B=E7=BE=BD=E9=A3=9E?= <2393524978@qq.com> Date: Fri, 16 Aug 2024 01:23:35 +0000 Subject: [PATCH] Merge #702 into sdk602patch0626 from refs/changes/702/head str resource * refs/changes/702/head: (3 commits squashed) - str resource - resource - image Signed-off-by: dingtalk_kaxuzp <2393524978@qq.com> Reviewed-by: snickersun@163.com Merged-by: snickersun@163.com CR-link: https://codeup.aliyun.com/64191456b9581d62e8f81ac0/FD230/change/702 --- .../include/ui_resource_string.h | 8 ++++++-- .../fs/user/res/applist_icon/schedule.bin | 3 +++ .../fd230/fs/user/res/font/en.lang | Bin 10995 -> 11078 bytes .../fs/user/res/font/ui_resource_string.h | 8 ++++++-- .../fd230/fs/user/res/font/zh.lang | Bin 9928 -> 10002 bytes .../fd230/fs/user/res/schedule_no_data.bin | 3 +++ .../Language_xml/input_list_en.txt | 6 +++++- .../Language_xml/input_list_zh.txt | 6 +++++- .../Language_xml/language_en.xml | 3 +++ .../Language_xml/language_zh.xml | 3 +++ tools/language_tool/font/en.lang | Bin 10995 -> 11065 bytes tools/language_tool/font/ui_resource_string.h | 8 ++++++-- tools/language_tool/font/zh.lang | Bin 9928 -> 9991 bytes 13 files changed, 40 insertions(+), 8 deletions(-) create mode 100644 code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/res/applist_icon/schedule.bin create mode 100644 code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/res/schedule_no_data.bin 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 e52cb31c1..57c019bc0 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 @@ -519,12 +519,16 @@ enum UIResourceTextId : uint16_t { STR_MUSIC_LIST_IS_EMPTY = 506, STR_BT_HEADSET_RESCAN = 507, STR_BT_HEADSET_NOFOND = 508, - STR_MAX_ID = 509, + STR_SCHEDULE = 509, + STR_SCHEDULE_TITLE = 510, + STR_SCHEDULE_NO_DATA = 511, + STR_SCHEDULE_NO_DATA_PROMPT = 512, + STR_MAX_ID = 513, }; // UIResourceTextId enum FontLanguageId : uint8_t { - LANGUAGE_ID_EN, LANGUAGE_ID_ZH, + LANGUAGE_ID_EN, LANGUAGE_ID_MAX }; // UITextLanguageTextId } diff --git a/code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/res/applist_icon/schedule.bin b/code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/res/applist_icon/schedule.bin new file mode 100644 index 000000000..950c96932 --- /dev/null +++ b/code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/res/applist_icon/schedule.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5954d8cb08578c97fdf033738c3eddb10cb072eabf39008a2f14310a430bf4ac +size 5544 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 2d4072734c047f867723b30a89249cc4c8968e90..70e58ab27edbe157fbe8137024f2bd86fbc8847a 100644 GIT binary patch delta 119 zcmewydMr%LbVvK#)I0_hz{s>w>U5n3tHInwy$e!r+&$Pz;qXW(dehO)O4TD6Y&)Rw&Ob$xtZCNL6qQ2w(sJtnwpl delta 36 gcmX>W_BmASc|#&&Y90d$_{+Fa>w>5^=$gm=PSAyAk_19 t3!hJDV|coE^3%@VXVVuzC10%H{b0{}%oFrWYc delta 36 hcmbQ_cfwcfhw{0rRT&H@;4kAwu`leKr8xG<0RYVg3LO9d diff --git a/code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/res/schedule_no_data.bin b/code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/res/schedule_no_data.bin new file mode 100644 index 000000000..60569ea5c --- /dev/null +++ b/code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/res/schedule_no_data.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:23284b2be3f3dd2f4ccdf891d6292d3bad834898f2dfd8b81c95387f9ad7faa8 +size 9624 diff --git a/tools/language_tool/Language_xml/input_list_en.txt b/tools/language_tool/Language_xml/input_list_en.txt index ee0611cd3..e38bd7b08 100644 --- a/tools/language_tool/Language_xml/input_list_en.txt +++ b/tools/language_tool/Language_xml/input_list_en.txt @@ -506,4 +506,8 @@ STR_4G_NOTE$Note: After opening, the power consumption of the watch will be incr STR_MUSIC_PLAYER_SOURCE_NOTE$Please enter Music - Music Source from the watch app interface, set it to Mobile Mode and try again STR_MUSIC_LIST_IS_EMPTY$The current music list is empty, please download and add via APP STR_BT_HEADSET_RESCAN$Rescan -STR_BT_HEADSET_NOFOND$No headset Bluetooth device can be found \ No newline at end of file +STR_BT_HEADSET_NOFOND$No headset Bluetooth device can be found +STR_SCHEDULE$Schedule +STR_SCHEDULE_TITLE$Schedule management +STR_SCHEDULE_NO_DATA$No schedules +STR_SCHEDULE_NO_DATA_PROMPT$Please sync with the APP \ 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 fe7432369..fe0bef7e1 100644 --- a/tools/language_tool/Language_xml/input_list_zh.txt +++ b/tools/language_tool/Language_xml/input_list_zh.txt @@ -506,4 +506,8 @@ STR_4G_NOTE$注:开启后,手表功耗会提高,待机时间会缩短 STR_MUSIC_PLAYER_SOURCE_NOTE$请从手表端应用界面进入“音乐”-“音乐来源”,设置为“手机模式”后重试 STR_MUSIC_LIST_IS_EMPTY$当前音乐列表为空请通过APP下载添加 STR_BT_HEADSET_RESCAN$重新搜索 -STR_BT_HEADSET_NOFOND$当前搜索不到耳机蓝牙设备 \ No newline at end of file +STR_BT_HEADSET_NOFOND$当前搜索不到耳机蓝牙设备 +STR_SCHEDULE$日程 +STR_SCHEDULE_TITLE$日程管理 +STR_SCHEDULE_NO_DATA$当前无日程 +STR_SCHEDULE_NO_DATA_PROMPT$请先通过APP同步 \ No newline at end of file diff --git a/tools/language_tool/Language_xml/language_en.xml b/tools/language_tool/Language_xml/language_en.xml index 11c50cea5..146df0b8a 100644 --- a/tools/language_tool/Language_xml/language_en.xml +++ b/tools/language_tool/Language_xml/language_en.xml @@ -508,4 +508,7 @@ + + + diff --git a/tools/language_tool/Language_xml/language_zh.xml b/tools/language_tool/Language_xml/language_zh.xml index 2b70d68f9..90dc16f4a 100644 --- a/tools/language_tool/Language_xml/language_zh.xml +++ b/tools/language_tool/Language_xml/language_zh.xml @@ -508,4 +508,7 @@ + + + diff --git a/tools/language_tool/font/en.lang b/tools/language_tool/font/en.lang index 2d4072734c047f867723b30a89249cc4c8968e90..c6126ecdd86b60280583b8efbaf59494a9d41a79 100644 GIT binary patch delta 106 zcmewyx-(2n{?~M;)I0`Mz_d~93p>|KB?gASK+L7QnSq0LNQdhm?0o1HL*BVp|~5{A~Kt=PSCOuUq(hLL0-= ny_27I_CA}w03yopV*U1~tsO5LX1&