From: cheng Date: Thu, 15 Aug 2024 03:12:52 +0000 (+0800) Subject: str resource X-Git-Tag: release_V1.2.70_20241020_135402~653^2~6 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=refs%2Fchanges%2F702%2F1;p=mirrors%2FFD230.git str resource --- 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..c6f89ac5a 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 @@ -1,15 +1,15 @@ -/* -* Copyright (c) xxxxxxxx Technologies Co., Ltd. 2021-2021. All rights reserved. -* Description: language -* Author: Graphic develop team -* Create: 2021-07-06 -*/ - -#ifndef UI_RESOURCE_STRING_H -#define UI_RESOURCE_STRING_H -#include -namespace OHOS { -enum UIResourceTextId : uint16_t { +/* +* Copyright (c) xxxxxxxx Technologies Co., Ltd. 2021-2021. All rights reserved. +* Description: language +* Author: Graphic develop team +* Create: 2021-07-06 +*/ + +#ifndef UI_RESOURCE_STRING_H +#define UI_RESOURCE_STRING_H +#include +namespace OHOS { +enum UIResourceTextId : uint16_t { STR_EXERCISE_OUTDOORWALKING = 0, STR_EXERCISE_OUTDOORRUNNING = 1, STR_EXERCISE_OUTDOORBIKING = 2, @@ -519,12 +519,15 @@ 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_TITLE = 509, + STR_SCHEDULE_NO_DATA = 510, + STR_SCHEDULE_NO_DATA_PROMPT = 511, + STR_MAX_ID = 512, }; // UIResourceTextId - -enum FontLanguageId : uint8_t { - LANGUAGE_ID_EN, + +enum FontLanguageId : uint8_t { 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/font/en.lang b/code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/res/font/en.lang index 2d4072734..c6126ecdd 100644 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 7a74b5d29..c6f89ac5a 100644 --- 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 @@ -519,12 +519,15 @@ 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_TITLE = 509, + STR_SCHEDULE_NO_DATA = 510, + STR_SCHEDULE_NO_DATA_PROMPT = 511, + STR_MAX_ID = 512, }; // 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/font/zh.lang b/code/sdk/build/config/target_config/brandy/mk_fs_image/fd230/fs/user/res/font/zh.lang index 6ec39cfae..eca7ab565 100644 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/tools/language_tool/Language_xml/input_list_en.txt b/tools/language_tool/Language_xml/input_list_en.txt index ee0611cd3..17517f082 100644 --- a/tools/language_tool/Language_xml/input_list_en.txt +++ b/tools/language_tool/Language_xml/input_list_en.txt @@ -506,4 +506,7 @@ 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_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..277aa9c5d 100644 --- a/tools/language_tool/Language_xml/input_list_zh.txt +++ b/tools/language_tool/Language_xml/input_list_zh.txt @@ -506,4 +506,7 @@ 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_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 2d4072734..c6126ecdd 100644 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 7a74b5d29..c6f89ac5a 100644 --- a/tools/language_tool/font/ui_resource_string.h +++ b/tools/language_tool/font/ui_resource_string.h @@ -519,12 +519,15 @@ 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_TITLE = 509, + STR_SCHEDULE_NO_DATA = 510, + STR_SCHEDULE_NO_DATA_PROMPT = 511, + STR_MAX_ID = 512, }; // UIResourceTextId enum FontLanguageId : uint8_t { - LANGUAGE_ID_EN, LANGUAGE_ID_ZH, + LANGUAGE_ID_EN, LANGUAGE_ID_MAX }; // UITextLanguageTextId } diff --git a/tools/language_tool/font/zh.lang b/tools/language_tool/font/zh.lang index 6ec39cfae..eca7ab565 100644 Binary files a/tools/language_tool/font/zh.lang and b/tools/language_tool/font/zh.lang differ