Add some strings for Multilingual Support 53/252153/2 accepted/tizen/unified/20210126.141629 submit/tizen/20210125.053321 submit/tizen/20210127.060632 submit/trunk/20210125.045130
authorkiso.chang <kiso.chang@samsung.com>
Mon, 25 Jan 2021 03:41:46 +0000 (12:41 +0900)
committerkiso.chang <kiso.chang@samsung.com>
Mon, 25 Jan 2021 04:43:59 +0000 (13:43 +0900)
Change-Id: I076638ec91a24ae23f075986e7caa9b8d86a3f06
Signed-off-by: kiso.chang <kiso.chang@samsung.com>
resource/po/en_US.po
resource/po/ko_KR.po
setting-about/src/setting-about-main.c
setting-profile/src/setting-profile-other-sounds-view.c
setting-profile/src/setting-profile-sound-main.c
setting-profile/src/setting-profile-sound-mode-view.c
setting-profile/src/setting-profile-sound-mode.c

index cd6867bba5a31cbbd87fe8dd29acee4e15aa5cc1..06c745f749fa73a856a36fe91e6f48103bb4d2db 100755 (executable)
@@ -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."
index 34cf47329df3dd42e412cbbb146e7cc82e775317..dfcc2847a2537debfb490b6678515617e3e18a66 100644 (file)
@@ -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 등에서 장치를 구별하기 위해 디바이스 이름이 표시됩니다."
index bdc4dd8367a7ca347dc012bbe8e9ba643bbe3ea9..40d872d184ac76f4241a89f1cf4fc4596434194c 100755 (executable)
@@ -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;
index cab8290c8a654979103c0d2a213ba3f5f76e8703..14ea70d87d05667325ac8bbffaa8fda49dfff866 100644 (file)
@@ -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;
index 36d2bf7e2160a9c3f1107114bba9f13e237b9d9b..f8ec030c2c0f6edf3623dc135ef39085dd971b7a 100755 (executable)
@@ -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);
 
index 0f585ac382a8c741a7ed801cbf00146c3b482826..9ddf8b13b54c864afc0d82213969c0eec9768ada 100644 (file)
@@ -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);
 
index 6d6e3543881b4963de68372f2de04803ae444800..f0f3992c97b3892c2e887f947d82007ceb287a65 100644 (file)
@@ -17,7 +17,7 @@
 
 #include <vconf.h>
 #include <stdbool.h>
-#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;
        }