From: Kamil Lipiszko Date: Wed, 19 Oct 2016 09:00:34 +0000 (+0200) Subject: Timer, Stopwatch, Ring: Translations. X-Git-Tag: submit/tizen/20161113.192141~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1914f3d04715a3258f1613ab225f286915cc7465;p=profile%2Fmobile%2Fapps%2Fnative%2Fclock.git Timer, Stopwatch, Ring: Translations. Change-Id: I598c65bcb6aa2f829cfd20ab712f8012651880ec --- diff --git a/clock/res/edje/Timer.edc b/clock/res/edje/Timer.edc index f25d386..099afd1 100644 --- a/clock/res/edje/Timer.edc +++ b/clock/res/edje/Timer.edc @@ -329,10 +329,7 @@ collections { to_x: "sw.hour.inc"; to_y: "pd.time.desc"; } - text { - style: "ATO009"; - text: "Hours"; - } + text.style: "ATO009"; } desc { "contracted"; inherit: "default"; @@ -355,10 +352,7 @@ collections { to_x: "sw.minute.inc"; to_y: "pd.time.desc"; } - text { - style: "ATO009"; - text: "Minutes"; - } + text.style: "ATO009"; } desc { "contracted"; inherit: "default"; @@ -381,10 +375,7 @@ collections { to_x: "sw.second.inc"; to_y: "pd.time.desc"; } - text { - style: "ATO009"; - text: "Seconds"; - } + text.style: "ATO009"; } desc { "contracted"; inherit: "default"; diff --git a/clock/res/edje/ring.edc b/clock/res/edje/ring.edc index ecdef72..2b353f5 100644 --- a/clock/res/edje/ring.edc +++ b/clock/res/edje/ring.edc @@ -150,10 +150,7 @@ collections { align: 0.0 0.0; rel1 { relative: 0.0 1.0; to_x: "sw.content"; to_y: "pd.title"; offset: 18 0; } rel2 { relative: 1.0 1.0; to: "sw.content"; } - text { - style: "ATO009"; - text: "Hours"; - } + text.style: "ATO009"; hid; } desc { "visible"; @@ -169,10 +166,7 @@ collections { align: 0.5 0.0; rel1 { relative: 0.0 1.0; to_x: "sw.content"; to_y: "pd.title"; } rel2 { relative: 1.0 1.0; to: "sw.content";} - text { - style: "ATO009"; - text: "Minutes"; - } + text.style: "ATO009"; hid; } desc { "visible"; @@ -188,10 +182,7 @@ collections { align: 1.0 0.0; rel1 { relative: 0.0 1.0; to_x: "sw.content"; to_y: "pd.title"; } rel2 { relative: 1.0 1.0; to: "sw.content"; offset: -18 0; } - text { - style: "ATO009"; - text: "Seconds"; - } + text.style: "ATO009"; hid; } desc { "visible"; diff --git a/clock/res/po/ar.po b/clock/res/po/ar.po new file mode 100644 index 0000000..614349d --- /dev/null +++ b/clock/res/po/ar.po @@ -0,0 +1,24 @@ + +msgid "IDS_COM_SK_STOP" +msgstr "إيقاف" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "انتهى الوقت" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "إرجاع" + +msgid "IDS_COM_BODY_START" +msgstr "بدء" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "لفة" + +msgid "IDS_COM_BODY_RESUME" +msgstr "استئناف" + +msgid "IDS_COM_SK_CANCEL" +msgstr "إلغاء" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "إيقاف مؤقت" diff --git a/clock/res/po/bg.po b/clock/res/po/bg.po new file mode 100644 index 0000000..9b7b9b3 --- /dev/null +++ b/clock/res/po/bg.po @@ -0,0 +1,24 @@ + +msgid "IDS_COM_BODY_RESUME" +msgstr "Поднови" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "Нyлиране" + +msgid "IDS_COM_BODY_START" +msgstr "Старт" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "Обиколка" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "Времето изтече" + +msgid "IDS_COM_SK_CANCEL" +msgstr "Отмени" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "Пауза" + +msgid "IDS_COM_SK_STOP" +msgstr "Стоп" diff --git a/clock/res/po/ca.po b/clock/res/po/ca.po new file mode 100644 index 0000000..1519744 --- /dev/null +++ b/clock/res/po/ca.po @@ -0,0 +1,24 @@ + +msgid "IDS_COM_SK_STOP" +msgstr "Aturar" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "S'ha exhaurit el temps" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "Restablir" + +msgid "IDS_COM_BODY_START" +msgstr "Iniciar" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "Volta" + +msgid "IDS_COM_BODY_RESUME" +msgstr "Reprendre" + +msgid "IDS_COM_SK_CANCEL" +msgstr "Cancel·lar" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "Pausa" diff --git a/clock/res/po/cs.po b/clock/res/po/cs.po new file mode 100644 index 0000000..7e4a19d --- /dev/null +++ b/clock/res/po/cs.po @@ -0,0 +1,24 @@ + +msgid "IDS_COM_SK_CANCEL" +msgstr "Zrušit" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "Pauza" + +msgid "IDS_COM_SK_STOP" +msgstr "Stop" + +msgid "IDS_COM_BODY_RESUME" +msgstr "Pokračovat" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "Vynulovat" + +msgid "IDS_COM_BODY_START" +msgstr "Začátek" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "Mezičas" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "Časový limit" diff --git a/clock/res/po/da.po b/clock/res/po/da.po new file mode 100644 index 0000000..bc75a07 --- /dev/null +++ b/clock/res/po/da.po @@ -0,0 +1,24 @@ + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "Omgang" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "Tiden er gået" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "Nulstil" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "Pause" + +msgid "IDS_COM_SK_STOP" +msgstr "Stop" + +msgid "IDS_COM_BODY_RESUME" +msgstr "Fortsæt" + +msgid "IDS_COM_SK_CANCEL" +msgstr "Annuller" + +msgid "IDS_COM_BODY_START" +msgstr "Start" diff --git a/clock/res/po/de_DE.po b/clock/res/po/de_DE.po new file mode 100644 index 0000000..11859d0 --- /dev/null +++ b/clock/res/po/de_DE.po @@ -0,0 +1,24 @@ + +msgid "IDS_COM_SK_CANCEL" +msgstr "Abbrechen" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "Pause" + +msgid "IDS_COM_SK_STOP" +msgstr "Stopp" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "Zeit abgelaufen" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "Reset" + +msgid "IDS_COM_BODY_START" +msgstr "Start" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "Runde" + +msgid "IDS_COM_BODY_RESUME" +msgstr "Fortsetzen" diff --git a/clock/res/po/el_GR.po b/clock/res/po/el_GR.po new file mode 100644 index 0000000..60920ee --- /dev/null +++ b/clock/res/po/el_GR.po @@ -0,0 +1,24 @@ + +msgid "IDS_COM_BODY_PAUSE" +msgstr "Παύση" + +msgid "IDS_COM_SK_STOP" +msgstr "Διακοπή" + +msgid "IDS_COM_BODY_RESUME" +msgstr "Συνέχεια" + +msgid "IDS_COM_SK_CANCEL" +msgstr "Άκυρο" + +msgid "IDS_COM_BODY_START" +msgstr "Έναρξη" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "Γύρος" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "Ο χρόνος τελείωσε" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "Μηδενισμ." diff --git a/clock/res/po/en.po b/clock/res/po/en.po new file mode 100644 index 0000000..5d71863 --- /dev/null +++ b/clock/res/po/en.po @@ -0,0 +1,24 @@ + +msgid "IDS_COM_BODY_START" +msgstr "Start" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "Lap" + +msgid "IDS_COM_BODY_RESUME" +msgstr "Resume" + +msgid "IDS_COM_SK_CANCEL" +msgstr "Cancel" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "Pause" + +msgid "IDS_COM_SK_STOP" +msgstr "Stop" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "Time is up" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "Reset" diff --git a/clock/res/po/en_GB.po b/clock/res/po/en_GB.po new file mode 100644 index 0000000..e69de29 diff --git a/clock/res/po/en_US.po b/clock/res/po/en_US.po index 8350acd..e024b2b 100644 --- a/clock/res/po/en_US.po +++ b/clock/res/po/en_US.po @@ -1,5 +1,36 @@ -# This PO file is automatically generated by PO File Editor of Tizen Studio -# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES CAN BE OVERWRITTEN + +msgid "IDS_COM_SK_CANCEL" +msgstr "Cancel" + +msgid "IDS_COM_BODY_START" +msgstr "Start" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "Lap" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "Time is up" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "Reset" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "Pause" + +msgid "IDS_COM_SK_STOP" +msgstr "Stop" + +msgid "IDS_COM_BODY_RESUME" +msgstr "Resume" + +msgid "IDS_COM_BODY_HOURS" +msgstr "Hours" + +msgid "IDS_COM_BODY_MINUTES" +msgstr "Minutes" + +msgid "IDS_COM_BODY_SECONDS" +msgstr "Seconds" msgid "IDS_CLOCK_TPOP_CANT_ADD_MORE_THAN_PD_CITIES" msgstr "Can't add more than %d cities." @@ -16,8 +47,15 @@ msgstr "%d h ahead" msgid "IDS_CLOCK_BODY_PD_H_BEHIND_ABB" msgstr "%d h behind" +msgid "IDS_CLOCK_BODY_SAME_AS_LOCAL" +msgstr "Same as local time" + msgid "IDS_CLOCK_MAX_RECORDS_REACHED_POPUP_ABB" msgstr "Maximum number of stopwatch records (%d) reached." -msgid "IDS_CLOCK_TPOP_CANT_ADD_MORE_THEN_PD_ALARMS" -msgstr "Can't add more then %d alarms." +msgid "IDS_CLOCK_TPOP_CANT_ADD_MORE_THAN_PD_ALARMS" +msgstr "Can't add more than %d alarms." + +msgid "IDS_CLOCK_TPOP_CANT_RECORD_MORE_THAN_PD_LAPS_ABB" +msgstr "Can’t record more than %d laps." + diff --git a/clock/res/po/es_ES.po b/clock/res/po/es_ES.po new file mode 100644 index 0000000..4e18086 --- /dev/null +++ b/clock/res/po/es_ES.po @@ -0,0 +1,24 @@ + +msgid "IDS_COM_SK_CANCEL" +msgstr "Cancelar" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "Pausa" + +msgid "IDS_COM_SK_STOP" +msgstr "Parar" + +msgid "IDS_COM_BODY_RESUME" +msgstr "Reanudar" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "Restab." + +msgid "IDS_COM_BODY_START" +msgstr "Iniciar" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "Etapa" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "Tiempo agotado" diff --git a/clock/res/po/fi.po b/clock/res/po/fi.po new file mode 100644 index 0000000..d400b79 --- /dev/null +++ b/clock/res/po/fi.po @@ -0,0 +1,24 @@ + +msgid "IDS_COM_SK_CANCEL" +msgstr "Peruuta" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "Tauko" + +msgid "IDS_COM_SK_STOP" +msgstr "Lopeta" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "Aika on lopussa" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "Nollaa" + +msgid "IDS_COM_BODY_START" +msgstr "Käynnistä" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "Kierros" + +msgid "IDS_COM_BODY_RESUME" +msgstr "Jatka" diff --git a/clock/res/po/fr_FR.po b/clock/res/po/fr_FR.po new file mode 100644 index 0000000..ecce830 --- /dev/null +++ b/clock/res/po/fr_FR.po @@ -0,0 +1,24 @@ + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "Temps écoulé" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "Réinit." + +msgid "IDS_COM_BODY_START" +msgstr "Début" + +msgid "IDS_COM_SK_STOP" +msgstr "Arrêter" + +msgid "IDS_COM_BODY_RESUME" +msgstr "Reprendre" + +msgid "IDS_COM_SK_CANCEL" +msgstr "Annuler" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "Pause" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "Tour" diff --git a/clock/res/po/he.po b/clock/res/po/he.po new file mode 100644 index 0000000..4d2dd85 --- /dev/null +++ b/clock/res/po/he.po @@ -0,0 +1,24 @@ + +msgid "IDS_COM_BODY_START" +msgstr "התחל" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "הקפה" + +msgid "IDS_COM_BODY_RESUME" +msgstr "חדש פעולה" + +msgid "IDS_COM_SK_CANCEL" +msgstr "ביטול" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "השהה" + +msgid "IDS_COM_SK_STOP" +msgstr "עצור" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "הזמן תם" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "איפוס" diff --git a/clock/res/po/hi.po b/clock/res/po/hi.po new file mode 100644 index 0000000..148c9db --- /dev/null +++ b/clock/res/po/hi.po @@ -0,0 +1,24 @@ + +msgid "IDS_COM_BODY_START" +msgstr "प्रारंभ" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "लेप" + +msgid "IDS_COM_BODY_RESUME" +msgstr "पुनः शुरू" + +msgid "IDS_COM_SK_CANCEL" +msgstr "रद्द" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "विराम" + +msgid "IDS_COM_SK_STOP" +msgstr "रोकें" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "समय बीत गया" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "रीसेट" diff --git a/clock/res/po/hr.po b/clock/res/po/hr.po new file mode 100644 index 0000000..bacbf24 --- /dev/null +++ b/clock/res/po/hr.po @@ -0,0 +1,24 @@ + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "Vrijeme isteklo" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "Poništi" + +msgid "IDS_COM_BODY_START" +msgstr "Početak" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "Krug" + +msgid "IDS_COM_BODY_RESUME" +msgstr "Nastavi" + +msgid "IDS_COM_SK_CANCEL" +msgstr "Prekid" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "Pauza" + +msgid "IDS_COM_SK_STOP" +msgstr "Zaustavi" diff --git a/clock/res/po/hu.po b/clock/res/po/hu.po new file mode 100644 index 0000000..08a13d0 --- /dev/null +++ b/clock/res/po/hu.po @@ -0,0 +1,24 @@ + +msgid "IDS_COM_SK_STOP" +msgstr "Leállít" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "Lejárt az idő" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "Nullázás" + +msgid "IDS_COM_BODY_START" +msgstr "Indít" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "Köridő" + +msgid "IDS_COM_BODY_RESUME" +msgstr "Folytatás" + +msgid "IDS_COM_SK_CANCEL" +msgstr "Mégse" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "Szünet" diff --git a/clock/res/po/id.po b/clock/res/po/id.po new file mode 100644 index 0000000..6e822f7 --- /dev/null +++ b/clock/res/po/id.po @@ -0,0 +1,24 @@ + +msgid "IDS_COM_BODY_START" +msgstr "Mulai" + +msgid "IDS_COM_SK_STOP" +msgstr "Berhenti" + +msgid "IDS_COM_BODY_RESUME" +msgstr "Lanjut" + +msgid "IDS_COM_SK_CANCEL" +msgstr "Batal" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "Tahan" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "Lap" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "Waktu berakhir" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "Reset" diff --git a/clock/res/po/it_IT.po b/clock/res/po/it_IT.po new file mode 100644 index 0000000..6d42a8e --- /dev/null +++ b/clock/res/po/it_IT.po @@ -0,0 +1,24 @@ + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "Tempo scaduto" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "Azzera" + +msgid "IDS_COM_BODY_START" +msgstr "Avvia" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "Giro" + +msgid "IDS_COM_BODY_RESUME" +msgstr "Riprendi" + +msgid "IDS_COM_SK_CANCEL" +msgstr "Annulla" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "Pausa" + +msgid "IDS_COM_SK_STOP" +msgstr "Ferma" diff --git a/clock/res/po/ja_JP.po b/clock/res/po/ja_JP.po new file mode 100644 index 0000000..aaf88b2 --- /dev/null +++ b/clock/res/po/ja_JP.po @@ -0,0 +1,24 @@ + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "リセット" + +msgid "IDS_COM_BODY_START" +msgstr "スタート" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "ラップ" + +msgid "IDS_COM_BODY_RESUME" +msgstr "再開" + +msgid "IDS_COM_SK_CANCEL" +msgstr "キャンセル" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "一時停止" + +msgid "IDS_COM_SK_STOP" +msgstr "停止" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "タイムアップ" diff --git a/clock/res/po/ko_KR.po b/clock/res/po/ko_KR.po new file mode 100644 index 0000000..980cb0a --- /dev/null +++ b/clock/res/po/ko_KR.po @@ -0,0 +1,24 @@ + +msgid "IDS_COM_SK_CANCEL" +msgstr "취소" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "일시 정지" + +msgid "IDS_COM_SK_STOP" +msgstr "중지" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "타이머 완료" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "초기화" + +msgid "IDS_COM_BODY_START" +msgstr "시작" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "기록" + +msgid "IDS_COM_BODY_RESUME" +msgstr "계속" diff --git a/clock/res/po/lt.po b/clock/res/po/lt.po new file mode 100644 index 0000000..8e1550c --- /dev/null +++ b/clock/res/po/lt.po @@ -0,0 +1,24 @@ + +msgid "IDS_COM_SK_STOP" +msgstr "Stabdyti" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "Laikas baigėsi" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "Atstatyti" + +msgid "IDS_COM_BODY_START" +msgstr "Pradžia" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "Ratas" + +msgid "IDS_COM_BODY_RESUME" +msgstr "Tęsti" + +msgid "IDS_COM_SK_CANCEL" +msgstr "Atšaukti" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "Pauzė" diff --git a/clock/res/po/lv.po b/clock/res/po/lv.po new file mode 100644 index 0000000..e7c1039 --- /dev/null +++ b/clock/res/po/lv.po @@ -0,0 +1,24 @@ + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "Laiks beidzies" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "Nodzēst" + +msgid "IDS_COM_BODY_START" +msgstr "Sākt" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "Aplis" + +msgid "IDS_COM_BODY_RESUME" +msgstr "Atsākt" + +msgid "IDS_COM_SK_CANCEL" +msgstr "Atcelt" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "Pauze" + +msgid "IDS_COM_SK_STOP" +msgstr "Apturēt" diff --git a/clock/res/po/ms.po b/clock/res/po/ms.po new file mode 100644 index 0000000..65942bf --- /dev/null +++ b/clock/res/po/ms.po @@ -0,0 +1,24 @@ + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "Masa tamat" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "Ttp.smula" + +msgid "IDS_COM_BODY_START" +msgstr "Mula" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "Pusingan" + +msgid "IDS_COM_BODY_RESUME" +msgstr "Sambung semula" + +msgid "IDS_COM_SK_CANCEL" +msgstr "Batal" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "Jeda" + +msgid "IDS_COM_SK_STOP" +msgstr "Henti" diff --git a/clock/res/po/nl_NL.po b/clock/res/po/nl_NL.po new file mode 100644 index 0000000..b2fef31 --- /dev/null +++ b/clock/res/po/nl_NL.po @@ -0,0 +1,24 @@ + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "Tijd is om" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "Resetten" + +msgid "IDS_COM_BODY_START" +msgstr "Start" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "Ronde" + +msgid "IDS_COM_BODY_RESUME" +msgstr "Hervatten" + +msgid "IDS_COM_SK_CANCEL" +msgstr "Annuleren" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "Pauze" + +msgid "IDS_COM_SK_STOP" +msgstr "Stop" diff --git a/clock/res/po/no.po b/clock/res/po/no.po new file mode 100644 index 0000000..cf0b99c --- /dev/null +++ b/clock/res/po/no.po @@ -0,0 +1,24 @@ + +msgid "IDS_COM_BODY_RESUME" +msgstr "Fortsett" + +msgid "IDS_COM_SK_CANCEL" +msgstr "Avbryt" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "Pause" + +msgid "IDS_COM_SK_STOP" +msgstr "Stopp" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "Tiden er ute" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "Nullstill" + +msgid "IDS_COM_BODY_START" +msgstr "Start" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "Runde" diff --git a/clock/res/po/pl.po b/clock/res/po/pl.po new file mode 100644 index 0000000..960061f --- /dev/null +++ b/clock/res/po/pl.po @@ -0,0 +1,24 @@ + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "Upłynął czas" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "Zeruj" + +msgid "IDS_COM_BODY_START" +msgstr "Start" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "Pomiar" + +msgid "IDS_COM_BODY_RESUME" +msgstr "Wznów" + +msgid "IDS_COM_SK_CANCEL" +msgstr "Anuluj" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "Pauza" + +msgid "IDS_COM_SK_STOP" +msgstr "Stop" diff --git a/clock/res/po/pt_PT.po b/clock/res/po/pt_PT.po new file mode 100644 index 0000000..ee06747 --- /dev/null +++ b/clock/res/po/pt_PT.po @@ -0,0 +1,24 @@ + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "Volta" + +msgid "IDS_COM_BODY_RESUME" +msgstr "Retomar" + +msgid "IDS_COM_SK_CANCEL" +msgstr "Cancelar" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "Pausa" + +msgid "IDS_COM_SK_STOP" +msgstr "Parar" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "Tempo esgotado" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "Repor" + +msgid "IDS_COM_BODY_START" +msgstr "Iniciar" diff --git a/clock/res/po/ro.po b/clock/res/po/ro.po new file mode 100644 index 0000000..c15c92a --- /dev/null +++ b/clock/res/po/ro.po @@ -0,0 +1,24 @@ + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "Tur" + +msgid "IDS_COM_BODY_RESUME" +msgstr "Reluare" + +msgid "IDS_COM_SK_CANCEL" +msgstr "Anulare" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "Pauză" + +msgid "IDS_COM_SK_STOP" +msgstr "Oprire" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "Timp expirat" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "Resetare" + +msgid "IDS_COM_BODY_START" +msgstr "Pornire" diff --git a/clock/res/po/ru_RU.po b/clock/res/po/ru_RU.po new file mode 100644 index 0000000..49ea0b5 --- /dev/null +++ b/clock/res/po/ru_RU.po @@ -0,0 +1,24 @@ + +msgid "IDS_COM_SK_CANCEL" +msgstr "Отмена" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "Пауза" + +msgid "IDS_COM_SK_STOP" +msgstr "Стоп" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "Время истекло" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "Сброс" + +msgid "IDS_COM_BODY_START" +msgstr "Начать" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "Круг" + +msgid "IDS_COM_BODY_RESUME" +msgstr "Возобновить" diff --git a/clock/res/po/sk.po b/clock/res/po/sk.po new file mode 100644 index 0000000..83c44ff --- /dev/null +++ b/clock/res/po/sk.po @@ -0,0 +1,24 @@ + +msgid "IDS_COM_SK_STOP" +msgstr "Stop" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "Čas vypršal" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "Vynulovať" + +msgid "IDS_COM_BODY_START" +msgstr "Spustiť" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "Okruh" + +msgid "IDS_COM_BODY_RESUME" +msgstr "Pokračovať" + +msgid "IDS_COM_SK_CANCEL" +msgstr "Zrušiť" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "Pauza" diff --git a/clock/res/po/sl.po b/clock/res/po/sl.po new file mode 100644 index 0000000..266da4d --- /dev/null +++ b/clock/res/po/sl.po @@ -0,0 +1,24 @@ + +msgid "IDS_COM_BODY_PAUSE" +msgstr "Premor" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "Krog" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "Časa je zmanjkalo" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "Ponastavi" + +msgid "IDS_COM_BODY_START" +msgstr "Začni" + +msgid "IDS_COM_SK_STOP" +msgstr "Ustavi" + +msgid "IDS_COM_BODY_RESUME" +msgstr "Nadaljuj." + +msgid "IDS_COM_SK_CANCEL" +msgstr "Prekliči" diff --git a/clock/res/po/sr.po b/clock/res/po/sr.po new file mode 100644 index 0000000..5b55b29 --- /dev/null +++ b/clock/res/po/sr.po @@ -0,0 +1,24 @@ + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "Resetuj" + +msgid "IDS_COM_BODY_START" +msgstr "Početak" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "Prolazno vreme" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "Vreme je isteklo" + +msgid "IDS_COM_SK_CANCEL" +msgstr "Poništi" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "Pauza" + +msgid "IDS_COM_SK_STOP" +msgstr "Stop" + +msgid "IDS_COM_BODY_RESUME" +msgstr "Nastavi" diff --git a/clock/res/po/sv.po b/clock/res/po/sv.po new file mode 100644 index 0000000..724f83d --- /dev/null +++ b/clock/res/po/sv.po @@ -0,0 +1,24 @@ + +msgid "IDS_COM_SK_STOP" +msgstr "Stopp" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "Tiden har gått ut" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "Nollställ" + +msgid "IDS_COM_BODY_START" +msgstr "Börja" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "Varv" + +msgid "IDS_COM_BODY_RESUME" +msgstr "Fortsätt" + +msgid "IDS_COM_SK_CANCEL" +msgstr "Avbryt" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "Paus" diff --git a/clock/res/po/th.po b/clock/res/po/th.po new file mode 100644 index 0000000..748be6d --- /dev/null +++ b/clock/res/po/th.po @@ -0,0 +1,24 @@ + +msgid "IDS_COM_SK_CANCEL" +msgstr "ยก​เลิก" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "พัก" + +msgid "IDS_COM_SK_STOP" +msgstr "หยุด" + +msgid "IDS_COM_BODY_RESUME" +msgstr "กลับ" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "ตั้งค่าใหม่" + +msgid "IDS_COM_BODY_START" +msgstr "เริ่ม" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "รอบ" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "ถึง​เวลา" diff --git a/clock/res/po/tr_TR.po b/clock/res/po/tr_TR.po new file mode 100644 index 0000000..75c06f9 --- /dev/null +++ b/clock/res/po/tr_TR.po @@ -0,0 +1,24 @@ + +msgid "IDS_COM_BODY_RESUME" +msgstr "Devam" + +msgid "IDS_COM_SK_CANCEL" +msgstr "İptal" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "Duraklat" + +msgid "IDS_COM_SK_STOP" +msgstr "Durdur" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "Süre doldu" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "Sıfırla" + +msgid "IDS_COM_BODY_START" +msgstr "Başlat" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "Tur" diff --git a/clock/res/po/uk.po b/clock/res/po/uk.po new file mode 100644 index 0000000..dd08fa4 --- /dev/null +++ b/clock/res/po/uk.po @@ -0,0 +1,24 @@ + +msgid "IDS_COM_SK_STOP" +msgstr "Стоп" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "Час вичерпано" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "Скинути" + +msgid "IDS_COM_BODY_START" +msgstr "Почати" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "Коло" + +msgid "IDS_COM_BODY_RESUME" +msgstr "Відновити" + +msgid "IDS_COM_SK_CANCEL" +msgstr "Скасувати" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "Пауза" diff --git a/clock/res/po/vi.po b/clock/res/po/vi.po new file mode 100644 index 0000000..44720cc --- /dev/null +++ b/clock/res/po/vi.po @@ -0,0 +1,24 @@ + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "Vòng" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "Hết thời gian" + +msgid "IDS_COM_SK_CANCEL" +msgstr "Hủy" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "Tạm dừng" + +msgid "IDS_COM_SK_STOP" +msgstr "Dừng" + +msgid "IDS_COM_BODY_RESUME" +msgstr "Tiếp tục" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "Xóa" + +msgid "IDS_COM_BODY_START" +msgstr "Bắt đầu" diff --git a/clock/res/po/zh_CN.po b/clock/res/po/zh_CN.po new file mode 100644 index 0000000..86f7a53 --- /dev/null +++ b/clock/res/po/zh_CN.po @@ -0,0 +1,24 @@ + +msgid "IDS_COM_SK_CANCEL" +msgstr "取消" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "暂停" + +msgid "IDS_COM_SK_STOP" +msgstr "停止" + +msgid "IDS_COM_BODY_RESUME" +msgstr "继续" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "重置" + +msgid "IDS_COM_BODY_START" +msgstr "开始" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "圈" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "时间到" diff --git a/clock/res/po/zh_HK.po b/clock/res/po/zh_HK.po new file mode 100644 index 0000000..edc011a --- /dev/null +++ b/clock/res/po/zh_HK.po @@ -0,0 +1,24 @@ + +msgid "IDS_COM_BODY_START" +msgstr "開始" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "圈數" + +msgid "IDS_COM_BODY_RESUME" +msgstr "繼續" + +msgid "IDS_COM_SK_CANCEL" +msgstr "取消" + +msgid "IDS_COM_BODY_PAUSE" +msgstr "暫停" + +msgid "IDS_COM_SK_STOP" +msgstr "停止" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "時間到了" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "重設" diff --git a/clock/res/po/zh_TW.po b/clock/res/po/zh_TW.po new file mode 100644 index 0000000..3efa34a --- /dev/null +++ b/clock/res/po/zh_TW.po @@ -0,0 +1,24 @@ + +msgid "IDS_COM_BODY_PAUSE" +msgstr "暫停" + +msgid "IDS_COM_SK_STOP" +msgstr "停止" + +msgid "IDS_TMR_POP_TIME_IS_UP" +msgstr "時間已到" + +msgid "IDS_SWT_BUTTON_RESET" +msgstr "重設" + +msgid "IDS_COM_BODY_START" +msgstr "開始" + +msgid "IDS_SWT_BUTTON_LAP" +msgstr "圈" + +msgid "IDS_COM_BODY_RESUME" +msgstr "繼續" + +msgid "IDS_COM_SK_CANCEL" +msgstr "取消" diff --git a/clock/src/Presenter/AlarmPresenter.cpp b/clock/src/Presenter/AlarmPresenter.cpp index 6d66998..6010395 100644 --- a/clock/src/Presenter/AlarmPresenter.cpp +++ b/clock/src/Presenter/AlarmPresenter.cpp @@ -19,6 +19,7 @@ #include "Model/AlarmEvent.h" #include "Utils/EventBus.h" #include "Utils/Log.h" +#include "Utils/Translate.h" using namespace presenter; using namespace view; @@ -82,12 +83,12 @@ void AlarmPresenter::OnItemSelected(int idx) void AlarmPresenter::OnAddButtonClicked() { AlarmCreateRequestEvent ev; - char buf[64]; if (!CheckModelSizeLimit()) { - snprintf(buf, sizeof(buf), _("IDS_CLOCK_TPOP_CANT_ADD_MORE_THEN_PD_ALARMS"), + std::string text = Translate::Sprintf("IDS_CLOCK_TPOP_CANT_ADD_MORE_THAN_PD_ALARMS", AVAILABLE_ALARMS_MAX); - view->ShowPopup(buf); + + view->ShowPopup(text); return; } EventBus::FireEvent(ev); diff --git a/clock/src/Presenter/RingPresenter.cpp b/clock/src/Presenter/RingPresenter.cpp index 8659b0a..552f773 100644 --- a/clock/src/Presenter/RingPresenter.cpp +++ b/clock/src/Presenter/RingPresenter.cpp @@ -25,7 +25,7 @@ namespace presenter { RingPresenter::RingPresenter(view::RingView *view, model::Ring *model) : view_(view), model_(model) { - view_->SetTitle("Time is up"); + view_->SetTitle("IDS_TMR_POP_TIME_IS_UP"); view_->ShowCounter(); animator_.RegisterSignal(std::bind(&RingPresenter::TimeUpdateRequest, this)); diff --git a/clock/src/Presenter/WorldClockPresenter.cpp b/clock/src/Presenter/WorldClockPresenter.cpp index ef12678..bdcb7e5 100644 --- a/clock/src/Presenter/WorldClockPresenter.cpp +++ b/clock/src/Presenter/WorldClockPresenter.cpp @@ -21,6 +21,7 @@ #include "Utils/EventBus.h" #include "Utils/Log.h" #include "Utils/PopupManager.h" +#include "Utils/Translate.h" using namespace utils; using namespace model; @@ -105,10 +106,10 @@ void WorldClockPresenter::OnItemAdded() { if (model_->user_locations_.size() >= USER_LOCATIONS_LIMIT) { - char message[128] = {0,}; - snprintf(message, sizeof(message), - _("IDS_CLOCK_TPOP_CANT_ADD_MORE_THAN_PD_CITIES"), USER_LOCATIONS_LIMIT); - utils::PopupManager::CreatePopup(*view_, std::string(message), 3); + std::string message = Translate::Sprintf("IDS_CLOCK_TPOP_CANT_ADD_MORE_THAN_PD_CITIES", + USER_LOCATIONS_LIMIT); + + utils::PopupManager::CreatePopup(*view_, message, 3); return; } const model::Location *l = view_->GetLocationToAdd(); diff --git a/clock/src/Utils/WorldClock.cpp b/clock/src/Utils/WorldClock.cpp index b3521eb..bbe2f90 100644 --- a/clock/src/Utils/WorldClock.cpp +++ b/clock/src/Utils/WorldClock.cpp @@ -16,38 +16,35 @@ #include "Utils/WorldClock.h" #include "Utils/Time.h" +#include "Utils/Translate.h" namespace utils { // local_timezone_offset and timezone_offset should be relative to GMT std::string GetTimezoneDiffDescription(int local_timezone_offset, int timezone_offset) { char *pattern; - char relative[128] = { 0, }; + std::string relative; int offset_integer = (abs(timezone_offset - local_timezone_offset)) / 60; int offset_remainder = (abs(timezone_offset - local_timezone_offset)) % 60; if (timezone_offset < local_timezone_offset) { - if (offset_remainder > 0) { - pattern = _("IDS_CLOCK_BODY_PS1D_H_P2SD_M_BEHIND_ABB"); - snprintf(relative, sizeof(relative), pattern, offset_integer, - offset_remainder); - } else { - pattern = _("IDS_CLOCK_BODY_PD_H_BEHIND_ABB"); - snprintf(relative, sizeof(relative), pattern, offset_integer); + if (offset_remainder > 0) + relative = Translate::Sprintf("IDS_CLOCK_BODY_PS1D_H_P2SD_M_BEHIND_ABB", + offset_integer, offset_remainder); + else { + relative = Translate::Sprintf("IDS_CLOCK_BODY_PD_H_BEHIND_ABB", offset_integer); } } else if (timezone_offset > local_timezone_offset) { - if (offset_remainder > 0) { - pattern = _("IDS_CLOCK_BODY_PS1D_H_P2SD_M_AHEAD_ABB"); - snprintf(relative, sizeof(relative), pattern, offset_integer, - offset_remainder); - } else { - pattern = _("IDS_CLOCK_BODY_PD_H_AHEAD_ABB"); - snprintf(relative, sizeof(relative), pattern, offset_integer); - } + if (offset_remainder > 0) + relative = Translate::Sprintf("IDS_CLOCK_BODY_PS1D_H_P2SD_M_AHEAD_ABB", + offset_integer, offset_remainder); + else + relative = Translate::Sprintf("IDS_CLOCK_BODY_PD_H_AHEAD_ABB", offset_integer); } else { - snprintf(relative, sizeof(relative), "Same as local time"); + relative = Translate::Sprintf("IDS_CLOCK_BODY_SAME_AS_LOCAL"); } + return relative; } diff --git a/clock/src/View/RingView.cpp b/clock/src/View/RingView.cpp index ee42ea3..42cc832 100644 --- a/clock/src/View/RingView.cpp +++ b/clock/src/View/RingView.cpp @@ -73,6 +73,10 @@ RingView::RingView() return; } + elm_object_translatable_part_text_set(layout_, "txt.hours", "IDS_COM_BODY_HOURS"); + elm_object_translatable_part_text_set(layout_, "txt.minutes", "IDS_COM_BODY_MINUTES"); + elm_object_translatable_part_text_set(layout_, "txt.seconds", "IDS_COM_BODY_SECONDS"); + evas_object_size_hint_align_set(layout_, EVAS_HINT_FILL, EVAS_HINT_FILL); evas_object_size_hint_weight_set(layout_, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); @@ -102,7 +106,7 @@ Evas_Object *RingView::GetEvasObject() void RingView::SetTitle(const char *title) { - elm_object_part_text_set(layout_, "txt.title", title); + elm_object_translatable_part_text_set(layout_, "txt.title", title); } void RingView::ShowCounter() @@ -135,9 +139,9 @@ void RingView::SetTimeLabel(const char *ampm, const char *hour, const char *date return; } - elm_object_part_text_set(content, "txt.ampm", ampm); - elm_object_part_text_set(content, "txt.time", hour); - elm_object_part_text_set(content, "txt.date", date); + elm_object_translatable_part_text_set(content, "txt.ampm", ampm); + elm_object_translatable_part_text_set(content, "txt.time", hour); + elm_object_translatable_part_text_set(content, "txt.date", date); evas_object_size_hint_weight_set(content, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_size_hint_align_set(content, EVAS_HINT_FILL, EVAS_HINT_FILL); diff --git a/clock/src/View/StopWatchView.cpp b/clock/src/View/StopWatchView.cpp index bf1baad..c7a8349 100644 --- a/clock/src/View/StopWatchView.cpp +++ b/clock/src/View/StopWatchView.cpp @@ -20,6 +20,7 @@ #include "Utils/Utils.h" #include "Utils/PopupManager.h" #include "Utils/Log.h" +#include "Utils/Translate.h" namespace view { @@ -78,25 +79,19 @@ Evas_Object *StopWatchView::GetEvasObject() void StopWatchView::ShowMaxRecordsReachedPopup() { - char text[128] = {0, }; - const char *textFormat = gettext("IDS_CLOCK_MAX_RECORDS_REACHED_POPUP_ABB"); - - int ret = snprintf(text, sizeof(text), textFormat, MAX_LAPS_RECORDS); - if (ret < 0) { - ERR("Could not format text"); - return; - } + std::string text = utils::Translate::Sprintf( + "IDS_CLOCK_TPOP_CANT_RECORD_MORE_THAN_PD_LAPS_ABB", MAX_LAPS_RECORDS); utils::PopupManager::CreatePopup(*this, text); } void StopWatchView::CreateMenuButtons() { - CreateButton(layout_, "Start", "sw.btn.start", StartButtonClicked); - CreateButton(layout_, "Stop", "sw.btn.stop", StopButtonClicked); - CreateButton(layout_, "Lap", "sw.btn.lap", LapButtonClicked); - CreateButton(layout_, "Resume", "sw.btn.resume", ResumeButtonClicked); - CreateButton(layout_, "Reset", "sw.btn.reset", ResetButtonClicked); + CreateButton(layout_, "IDS_COM_BODY_START", "sw.btn.start", StartButtonClicked); + CreateButton(layout_, "IDS_COM_SK_STOP", "sw.btn.stop", StopButtonClicked); + CreateButton(layout_, "IDS_SWT_BUTTON_LAP", "sw.btn.lap", LapButtonClicked); + CreateButton(layout_, "IDS_COM_BODY_RESUME", "sw.btn.resume", ResumeButtonClicked); + CreateButton(layout_, "IDS_SWT_BUTTON_RESET", "sw.btn.reset", ResetButtonClicked); } void StopWatchView::ShowStartupMenu() @@ -129,7 +124,7 @@ void StopWatchView::CreateButton(Evas_Object *parent, const char *name, button = elm_button_add(parent); - elm_object_text_set(button, name); + elm_object_translatable_text_set(button, name); elm_object_style_set(button, "bottom"); elm_object_part_content_set(layout_, part, button); diff --git a/clock/src/View/TimerView.cpp b/clock/src/View/TimerView.cpp index 68665fa..46da873 100644 --- a/clock/src/View/TimerView.cpp +++ b/clock/src/View/TimerView.cpp @@ -274,6 +274,10 @@ void TimerView::CreateSelector() { selector_ = elm_layout_add(layout_); + elm_object_translatable_part_text_set(layout_, "txt.hours", "IDS_COM_BODY_HOURS"); + elm_object_translatable_part_text_set(layout_, "txt.minutes", "IDS_COM_BODY_MINUTES"); + elm_object_translatable_part_text_set(layout_, "txt.seconds", "IDS_COM_BODY_SECONDS"); + if (!elm_layout_file_set(selector_, GetEdjeFilePath(), "Time_selector")) return; @@ -467,11 +471,11 @@ void TimerView::ShowPausedMenu(void) void TimerView::CreateMenuButtons() { - CreateButton(layout_, "Start", "sw.btn.start", StartButtonClicked); - CreateButton(layout_, "Reset", "sw.btn.reset", ResetButtonClicked); - CreateButton(layout_, "Pause", "sw.btn.pause", PauseButtonClicked); - CreateButton(layout_, "Cancel", "sw.btn.cancel", CancelButtonClicked); - CreateButton(layout_, "Resume", "sw.btn.resume", ResumeButtonClicked); + CreateButton(layout_, "IDS_COM_BODY_START", "sw.btn.start", StartButtonClicked); + CreateButton(layout_, "IDS_SWT_BUTTON_RESET", "sw.btn.reset", ResetButtonClicked); + CreateButton(layout_, "IDS_COM_BODY_PAUSE", "sw.btn.pause", PauseButtonClicked); + CreateButton(layout_, "IDS_COM_SK_CANCEL", "sw.btn.cancel", CancelButtonClicked); + CreateButton(layout_, "IDS_COM_BODY_RESUME", "sw.btn.resume", ResumeButtonClicked); SetEnabledStartButton(false); } @@ -501,7 +505,7 @@ void TimerView::CreateButton(Evas_Object *parent, const char *name, button = elm_button_add(parent); - elm_object_text_set(button, name); + elm_object_translatable_text_set(button, name); elm_object_style_set(button, "bottom"); elm_object_part_content_set(layout_, part, button);