From: kiso.chang Date: Mon, 25 Jan 2021 03:41:46 +0000 (+0900) Subject: Add some strings for Multilingual Support X-Git-Tag: submit/trunk/20210125.045130^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5f7e947308482a3f0798161f270add51906c0b5c;p=profile%2Fcommon%2Fapps%2Fnative%2Fsettings.git Add some strings for Multilingual Support Change-Id: I076638ec91a24ae23f075986e7caa9b8d86a3f06 Signed-off-by: kiso.chang --- diff --git a/resource/po/en_US.po b/resource/po/en_US.po index cd6867b..06c745f 100755 --- a/resource/po/en_US.po +++ b/resource/po/en_US.po @@ -1198,6 +1198,12 @@ msgstr "Password must be %1$d characters or more than %1$d characters and %2$d o msgid "IDS_ST_BODY_PLAY_SOUNDS_WHEN_LOCKING_AND_UNLOCKING_SCREEN" msgstr "Play sounds when locking and unlocking screen" +msgid "IDS_ST_BODY_PLAY_SOUNDS_WHEN_MAKING_SCREEN_SELECTION" +msgstr "Play sounds when making screen selection" + +msgid "IDS_ST_BODY_SOUND_FEEDBACK_FOR_SYSTEM_KEYBOARD" +msgstr "Sound feedback for system keyboard" + msgid "IDS_ST_POP_PASSWORDS_DO_NOT_MATCH" msgstr "Passwords do not match." @@ -1516,6 +1522,15 @@ msgstr "Text-to-speech" msgid "IDS_ST_HEADER_SOUND" msgstr "Sound" +msgid "IDS_ST_HEADER_VIBRATE" +msgstr "Vibrate" + +msgid "IDS_ST_HEADER_MUTE" +msgstr "Mute" + +msgid "IDS_ST_HEADER_SOUND_MODE" +msgstr "Sound mode" + msgid "IDS_ST_BODY_ESTIMATED_MAX_STANDBY_TIME_ABB" msgstr "Estimated max. standby time" @@ -2756,3 +2771,12 @@ msgstr "Change language" msgid "IDS_ST_POP_DEFAULT_LANGUAGE_WILL_BE_CHANGED" msgstr "Default language will be changed" + +msgid "IDS_ST_BODY_RESOLUTION" +msgstr "Resolution" + +msgid "IDS_ST_BODY_STATUS" +msgstr "Status" + +msgid "IDS_ST_BODY_DEVICE_NAMES_ARE_DISPLAYED" +msgstr "Device names are displayed to distinguish each of the devices available via Bluetooth, Wi-Fi Direct, and other methods." diff --git a/resource/po/ko_KR.po b/resource/po/ko_KR.po index 34cf473..dfcc284 100644 --- a/resource/po/ko_KR.po +++ b/resource/po/ko_KR.po @@ -1198,6 +1198,12 @@ msgstr "비밀번호는 %1$d자보다 길어야 하며 %2$d자보다 짧아야 msgid "IDS_ST_BODY_PLAY_SOUNDS_WHEN_LOCKING_AND_UNLOCKING_SCREEN" msgstr "화면을 잠그거나 잠금을 해제할 때 소리로 알려줍니다." +msgid "IDS_ST_BODY_PLAY_SOUNDS_WHEN_MAKING_SCREEN_SELECTION" +msgstr "화면을 선택할 때 소리로 알려줍니다." + +msgid "IDS_ST_BODY_SOUND_FEEDBACK_FOR_SYSTEM_KEYBOARD" +msgstr "시스템 키보드에 대한 소리 피드백" + msgid "IDS_ST_POP_PASSWORDS_DO_NOT_MATCH" msgstr "비밀번호가 일치하지 않습니다." @@ -1516,6 +1522,15 @@ msgstr "글자 읽어주기" msgid "IDS_ST_HEADER_SOUND" msgstr "소리" +msgid "IDS_ST_HEADER_VIBRATE" +msgstr "진동" + +msgid "IDS_ST_HEADER_MUTE" +msgstr "무음" + +msgid "IDS_ST_HEADER_SOUND_MODE" +msgstr "소리 모드" + msgid "IDS_ST_BODY_ESTIMATED_MAX_STANDBY_TIME_ABB" msgstr "최대 예상 대기시간" @@ -2771,4 +2786,13 @@ msgid "IDS_MSG_RESET_CANNOT_BE_UNDONE" msgstr "수행한 작업은 취소할 수 없습니다." msgid "IDS_ST_BODY_SHOW_NETWORK_STATUS_AND_OTHER_INFORMATION" -msgstr "네트워크 상황 및 기타 정보 표시" \ No newline at end of file +msgstr "네트워크 상황 및 기타 정보 표시" + +msgid "IDS_ST_BODY_RESOLUTION" +msgstr "화면 해상도" + +msgid "IDS_ST_BODY_STATUS" +msgstr "상태" + +msgid "IDS_ST_BODY_DEVICE_NAMES_ARE_DISPLAYED" +msgstr "블루투스, Wi-Fi Direct 등에서 장치를 구별하기 위해 디바이스 이름이 표시됩니다." diff --git a/setting-about/src/setting-about-main.c b/setting-about/src/setting-about-main.c index bdc4dd8..40d872d 100755 --- a/setting-about/src/setting-about-main.c +++ b/setting-about/src/setting-about-main.c @@ -368,12 +368,12 @@ static void __creat_name_view(void *data) SettingAbout *ad = data; Evas_Object *popup = enter_text_popup_create(ad->md.naviframe); - enter_text_popup_title_set(popup, "Rename device"); - enter_text_popup_confirm_text_set(popup, "ADD"); + enter_text_popup_title_set(popup, _("IDS_ST_HEADER_DEVICE_NAME")); + enter_text_popup_confirm_text_set(popup, "APPLY"); enter_text_popup_reject_text_set(popup, "CANCEL"); - enter_text_popup_description_set(popup, "Device names are displayed to distinguish each of the devices available via Bluetooth, Wi-Fi Direct, and other methods."); - enter_text_popup_header_set(popup, "Name"); - enter_text_popup_guide_text_set(popup, "Device name"); + enter_text_popup_description_set(popup, _("IDS_ST_BODY_DEVICE_NAMES_ARE_DISPLAYED")); + enter_text_popup_header_set(popup, _("IDS_ST_BODY_NAME")); + enter_text_popup_guide_text_set(popup, _("IDS_ST_HEADER_DEVICE_NAME")); char *name_value = vconf_get_str(VCONFKEY_SETAPPL_DEVICE_NAME_STR); if (name_value) { @@ -443,7 +443,7 @@ static void __mouse_up_Gendial_list_cb(void *data, Evas_Object *obj, } else if (!safeStrCmp("IDS_ST_BODY_NAME", list_item->keyStr)) { __creat_name_view(data); - } else if (!safeStrCmp(ITEM_NAME_STATUS, + } else if (!safeStrCmp("IDS_ST_BODY_STATUS", list_item->keyStr)) { setting_view_create(&view_setting_about_status, (void *)data); } @@ -732,7 +732,7 @@ static int __generate_genlist(void *data) item_data = setting_create_Gendial_field_def(ad->md.genlist, &(ad->itc_2text_2), NULL, NULL, SWALLOW_Type_INVALID, NULL, - NULL, 0, "Resolution", str, + NULL, 0, "IDS_ST_BODY_RESOLUTION", str, NULL); if (item_data) { elm_genlist_item_select_mode_set(item_data->item, @@ -743,7 +743,7 @@ static int __generate_genlist(void *data) (void)setting_create_Gendial_field_def(ad->md.genlist, &(ad->itc_1icon_1text_sub), __mouse_up_Gendial_list_cb, ad, SWALLOW_Type_INVALID, NULL, NULL, 0, - ITEM_NAME_STATUS, _("IDS_ST_BODY_SHOW_NETWORK_STATUS_AND_OTHER_INFORMATION"), + "IDS_ST_BODY_STATUS", _("IDS_ST_BODY_SHOW_NETWORK_STATUS_AND_OTHER_INFORMATION"), NULL); return SETTING_RETURN_SUCCESS; diff --git a/setting-profile/src/setting-profile-other-sounds-view.c b/setting-profile/src/setting-profile-other-sounds-view.c index cab8290..14ea70d 100644 --- a/setting-profile/src/setting-profile-other-sounds-view.c +++ b/setting-profile/src/setting-profile-other-sounds-view.c @@ -41,11 +41,11 @@ struct item { static struct item items[] = { { - "Touch sound", "Play sound when making screen selection", + "IDS_ST_MBODY_TOUCH_SOUND", "IDS_ST_BODY_PLAY_SOUNDS_WHEN_LOCKING_AND_UNLOCKING_SCREEN", setting_profile_other_sound_touch_sound_enabled, setting_profile_other_sound_enable_touch_sound }, { - "Keyboard sound", "Sound feedback for system keyboard", + "IDS_ST_MBODY_KEYBOARD_SOUND", "IDS_ST_BODY_SOUND_FEEDBACK_FOR_SYSTEM_KEYBOARD", setting_profile_other_sound_keyboard_sound_enabled, setting_profile_other_sound_enable_keyboard_sound }, }; @@ -94,8 +94,8 @@ static int _view_create(void *cb) NULL, NULL, it->get(), - it->label, - it->sublabel, + _(it->label), + _(it->sublabel), _checkbox_changed_cb); if (id) id->userdata = it; diff --git a/setting-profile/src/setting-profile-sound-main.c b/setting-profile/src/setting-profile-sound-main.c index 36d2bf7..f8ec030 100755 --- a/setting-profile/src/setting-profile-sound-main.c +++ b/setting-profile/src/setting-profile-sound-main.c @@ -450,7 +450,7 @@ static void __genlist_item_notifications_clicked_cb(void *data, Evas_Object *obj SettingSoundData *gd = data; gd->ringtone_type = IDS_ST_BODY_NOTIFICATION; elm_genlist_item_selected_set(event_info, EINA_FALSE); - _create_myfile_ug(gd, "Notifications"); + _create_myfile_ug(gd, _("IDS_ST_BODY_NOTIFICATIONS")); } static void __genlist_item_other_sounds_clicked_cb(void *data, Evas_Object *obj, void *event_info) @@ -512,7 +512,7 @@ static void _get_lite_main_list(void *data) NULL, NULL, 0, - "Sound Mode", + _("IDS_ST_HEADER_SOUND_MODE"), setting_profile_sound_mode_to_string(mode), NULL); if (!ad->sound_mode) @@ -537,7 +537,7 @@ static void _get_lite_main_list(void *data) NULL, NULL, 0, - "Notifications", + _("IDS_ST_BODY_NOTIFICATIONS"), display_name, NULL); if (!ad->data_msg_alert_tone) @@ -554,7 +554,7 @@ static void _get_lite_main_list(void *data) NULL, NULL, 0, - "Other sounds", + _("IDS_ST_MBODY_OTHER_SOUNDS"), NULL, NULL); diff --git a/setting-profile/src/setting-profile-sound-mode-view.c b/setting-profile/src/setting-profile-sound-mode-view.c index 0f585ac..9ddf8b1 100644 --- a/setting-profile/src/setting-profile-sound-mode-view.c +++ b/setting-profile/src/setting-profile-sound-mode-view.c @@ -77,7 +77,7 @@ static int _view_create(void *cb) setting_create_Gendial_itc(SETTING_GENLIST_ICON_1LINE_STYLE, &itc); setting_create_genlist_and_push_to_naviframe( - _("Sound mode"), NULL, + _("IDS_ST_HEADER_SOUND_MODE"), NULL, _naviframe_item_pop_cb, g_ad, &genlist, g_ad->md.naviframe); diff --git a/setting-profile/src/setting-profile-sound-mode.c b/setting-profile/src/setting-profile-sound-mode.c index 6d6e354..f0f3992 100644 --- a/setting-profile/src/setting-profile-sound-mode.c +++ b/setting-profile/src/setting-profile-sound-mode.c @@ -17,7 +17,7 @@ #include #include -#include "setting-debug.h" +#include "setting-profile.h" #include "setting-profile-sound-mode.h" sound_mode_e setting_profile_get_sound_mode() @@ -71,11 +71,11 @@ const char *setting_profile_sound_mode_to_string(sound_mode_e mode) switch (mode) { case SOUND_MODE_SOUND: - return "Sound"; + return _("IDS_ST_HEADER_SOUND"); case SOUND_MODE_VIBRATE: - return "Vibrate"; + return _("IDS_ST_HEADER_VIBRATE"); case SOUND_MODE_MUTE: - return "Mute"; + return _("IDS_ST_HEADER_MUTE"); default: return NULL; }