From b85012d4e063fd39a925457c1c7e2778bf945db8 Mon Sep 17 00:00:00 2001 From: "sung1103.park" Date: Wed, 29 Aug 2012 19:25:47 +0900 Subject: [PATCH] add language files --- CMakeLists.txt | 1 + include/draglock.h | 3 +++ packaging/org.tizen.draglock.spec | 1 + po/CMakeLists.txt | 28 ++++++++++++++++++++++++++++ po/ar.po | 6 ++++++ po/az.po | 6 ++++++ po/bg.po | 6 ++++++ po/ca.po | 6 ++++++ po/cs.po | 6 ++++++ po/da.po | 6 ++++++ po/de_DE.po | 6 ++++++ po/el_GR.po | 6 ++++++ po/en.po | 6 ++++++ po/en_PH.po | 6 ++++++ po/en_US.po | 6 ++++++ po/es_ES.po | 6 ++++++ po/es_US.po | 6 ++++++ po/et.po | 6 ++++++ po/eu.po | 6 ++++++ po/fi.po | 6 ++++++ po/fr_CA.po | 6 ++++++ po/fr_FR.po | 6 ++++++ po/ga.po | 6 ++++++ po/gl.po | 6 ++++++ po/hi.po | 6 ++++++ po/hr.po | 6 ++++++ po/hu.po | 6 ++++++ po/hy.po | 6 ++++++ po/is.po | 6 ++++++ po/it_IT.po | 6 ++++++ po/ja_JP.po | 6 ++++++ po/ka.po | 6 ++++++ po/kk.po | 6 ++++++ po/ko_KR.po | 6 ++++++ po/lt.po | 6 ++++++ po/lv.po | 6 ++++++ po/mk.po | 6 ++++++ po/nb.po | 6 ++++++ po/nl_NL.po | 6 ++++++ po/pl.po | 6 ++++++ po/pt_BR.po | 6 ++++++ po/pt_PT.po | 6 ++++++ po/ro.po | 6 ++++++ po/ru_RU.po | 6 ++++++ po/sk.po | 6 ++++++ po/sl.po | 6 ++++++ po/sr.po | 6 ++++++ po/sv.po | 6 ++++++ po/tr_TR.po | 6 ++++++ po/uk.po | 6 ++++++ po/uz.po | 6 ++++++ po/zh_CN.po | 6 ++++++ po/zh_HK.po | 6 ++++++ po/zh_SG.po | 6 ++++++ po/zh_TW.po | 6 ++++++ src/draglock-time.c | 4 ++-- 56 files changed, 341 insertions(+), 2 deletions(-) create mode 100755 po/CMakeLists.txt create mode 100755 po/ar.po create mode 100755 po/az.po create mode 100755 po/bg.po create mode 100755 po/ca.po create mode 100755 po/cs.po create mode 100755 po/da.po create mode 100755 po/de_DE.po create mode 100755 po/el_GR.po create mode 100755 po/en.po create mode 100755 po/en_PH.po create mode 100755 po/en_US.po create mode 100755 po/es_ES.po create mode 100755 po/es_US.po create mode 100755 po/et.po create mode 100755 po/eu.po create mode 100755 po/fi.po create mode 100755 po/fr_CA.po create mode 100755 po/fr_FR.po create mode 100755 po/ga.po create mode 100755 po/gl.po create mode 100755 po/hi.po create mode 100755 po/hr.po create mode 100755 po/hu.po create mode 100755 po/hy.po create mode 100755 po/is.po create mode 100755 po/it_IT.po create mode 100755 po/ja_JP.po create mode 100755 po/ka.po create mode 100755 po/kk.po create mode 100755 po/ko_KR.po create mode 100755 po/lt.po create mode 100755 po/lv.po create mode 100755 po/mk.po create mode 100755 po/nb.po create mode 100755 po/nl_NL.po create mode 100755 po/pl.po create mode 100755 po/pt_BR.po create mode 100755 po/pt_PT.po create mode 100755 po/ro.po create mode 100755 po/ru_RU.po create mode 100755 po/sk.po create mode 100755 po/sl.po create mode 100755 po/sr.po create mode 100755 po/sv.po create mode 100755 po/tr_TR.po create mode 100755 po/uk.po create mode 100755 po/uz.po create mode 100755 po/zh_CN.po create mode 100755 po/zh_HK.po create mode 100755 po/zh_SG.po create mode 100755 po/zh_TW.po diff --git a/CMakeLists.txt b/CMakeLists.txt index eaa546b..3e9426d 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -90,5 +90,6 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.tizen.${PROJECT_NAME}.xml DESTINAT INSTALL(DIRECTORY DESTINATION ${DATADIR}) #install etc +ADD_SUBDIRECTORY(po) ADD_SUBDIRECTORY(res) diff --git a/include/draglock.h b/include/draglock.h index f8c6ea4..764efd6 100755 --- a/include/draglock.h +++ b/include/draglock.h @@ -45,6 +45,9 @@ #define EDJEFILE EDJEDIR"/"PACKAGE".edj" +#define _S(str) dgettext("sys_string", str) +#define _(str) gettext(str) + #define _EDJ(x) elm_layout_edje_get(x) #define DEFAULT_WIN_WIDTH 720 diff --git a/packaging/org.tizen.draglock.spec b/packaging/org.tizen.draglock.spec index b1663af..701a72d 100755 --- a/packaging/org.tizen.draglock.spec +++ b/packaging/org.tizen.draglock.spec @@ -54,6 +54,7 @@ GOPTION="-g 6514" %files %defattr(-,root,root,-) %attr(-,inhouse,inhouse) %dir /opt/apps/org.tizen.draglock/data +/opt/apps/org.tizen.draglock/res/locale /opt/apps/org.tizen.draglock/bin/draglock /opt/apps/org.tizen.draglock/res/edje/draglock.edj /opt/share/packages/%{name}.xml diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt new file mode 100755 index 0000000..1697e96 --- /dev/null +++ b/po/CMakeLists.txt @@ -0,0 +1,28 @@ +# for i18n + +SET(POFILES et.po is.po hy.po hu.po hr.po hi.po nb.po ga.po fr_FR.po fr_CA.po fi.po +eu.po it_IT.po es_US.po es_ES.po en_US.po en_PH.po en.po el_GR.po de_DE.po da.po +ca.po bg.po az.po ar.po ja_JP.po zh_TW.po zh_SG.po zh_HK.po zh_CN.po uz.po cs.po +uk.po tr_TR.po sv.po sr.po sl.po sk.po ru_RU.po ka.po pt_PT.po pt_BR.po pl.po +nl_NL.po gl.po mk.po lv.po lt.po ko_KR.po kk.po ro.po) + +SET(MSGFMT "/usr/bin/msgfmt") + +FOREACH(pofile ${POFILES}) + SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile}) + MESSAGE("PO: ${pofile}") + GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE) + GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE) + SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo) + ADD_CUSTOM_COMMAND( + OUTPUT ${moFile} + COMMAND ${MSGFMT} -o ${moFile} ${absPofile} + DEPENDS ${absPofile} + ) + INSTALL(FILES ${moFile} + DESTINATION ${LOCALEDIR}/${lang}/LC_MESSAGES RENAME ${PROJECT_NAME}.mo) + SET(moFiles ${moFiles} ${moFile}) +ENDFOREACH(pofile) + +MESSAGE(".mo files: ${moFiles}") +ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles}) diff --git a/po/ar.po b/po/ar.po new file mode 100755 index 0000000..33733d9 --- /dev/null +++ b/po/ar.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "ص" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "م" + diff --git a/po/az.po b/po/az.po new file mode 100755 index 0000000..fc600fa --- /dev/null +++ b/po/az.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "Günortadan əvvəl" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "Günortadan sonra" + diff --git a/po/bg.po b/po/bg.po new file mode 100755 index 0000000..f737ee8 --- /dev/null +++ b/po/bg.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "AM" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/ca.po b/po/ca.po new file mode 100755 index 0000000..f737ee8 --- /dev/null +++ b/po/ca.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "AM" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/cs.po b/po/cs.po new file mode 100755 index 0000000..65a8b16 --- /dev/null +++ b/po/cs.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "dop." + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "odp." + diff --git a/po/da.po b/po/da.po new file mode 100755 index 0000000..f737ee8 --- /dev/null +++ b/po/da.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "AM" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/de_DE.po b/po/de_DE.po new file mode 100755 index 0000000..f737ee8 --- /dev/null +++ b/po/de_DE.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "AM" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/el_GR.po b/po/el_GR.po new file mode 100755 index 0000000..18373d2 --- /dev/null +++ b/po/el_GR.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "ΠΜ" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "ΜΜ" + diff --git a/po/en.po b/po/en.po new file mode 100755 index 0000000..f737ee8 --- /dev/null +++ b/po/en.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "AM" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/en_PH.po b/po/en_PH.po new file mode 100755 index 0000000..f737ee8 --- /dev/null +++ b/po/en_PH.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "AM" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/en_US.po b/po/en_US.po new file mode 100755 index 0000000..f737ee8 --- /dev/null +++ b/po/en_US.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "AM" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/es_ES.po b/po/es_ES.po new file mode 100755 index 0000000..f737ee8 --- /dev/null +++ b/po/es_ES.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "AM" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/es_US.po b/po/es_US.po new file mode 100755 index 0000000..f737ee8 --- /dev/null +++ b/po/es_US.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "AM" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/et.po b/po/et.po new file mode 100755 index 0000000..a370d8a --- /dev/null +++ b/po/et.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "EL" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PL" + diff --git a/po/eu.po b/po/eu.po new file mode 100755 index 0000000..f737ee8 --- /dev/null +++ b/po/eu.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "AM" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/fi.po b/po/fi.po new file mode 100755 index 0000000..9919049 --- /dev/null +++ b/po/fi.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "AP" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "IP" + diff --git a/po/fr_CA.po b/po/fr_CA.po new file mode 100755 index 0000000..f737ee8 --- /dev/null +++ b/po/fr_CA.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "AM" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/fr_FR.po b/po/fr_FR.po new file mode 100755 index 0000000..f737ee8 --- /dev/null +++ b/po/fr_FR.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "AM" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/ga.po b/po/ga.po new file mode 100755 index 0000000..e7a20cf --- /dev/null +++ b/po/ga.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "R.N." + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "I.N." + diff --git a/po/gl.po b/po/gl.po new file mode 100755 index 0000000..f737ee8 --- /dev/null +++ b/po/gl.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "AM" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/hi.po b/po/hi.po new file mode 100755 index 0000000..df239eb --- /dev/null +++ b/po/hi.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "ए ऍम" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/hr.po b/po/hr.po new file mode 100755 index 0000000..f737ee8 --- /dev/null +++ b/po/hr.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "AM" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/hu.po b/po/hu.po new file mode 100755 index 0000000..a7144c9 --- /dev/null +++ b/po/hu.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "de." + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "du." + diff --git a/po/hy.po b/po/hy.po new file mode 100755 index 0000000..f737ee8 --- /dev/null +++ b/po/hy.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "AM" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/is.po b/po/is.po new file mode 100755 index 0000000..948f57b --- /dev/null +++ b/po/is.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "f.h." + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "e.h." + diff --git a/po/it_IT.po b/po/it_IT.po new file mode 100755 index 0000000..f737ee8 --- /dev/null +++ b/po/it_IT.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "AM" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/ja_JP.po b/po/ja_JP.po new file mode 100755 index 0000000..f737ee8 --- /dev/null +++ b/po/ja_JP.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "AM" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/ka.po b/po/ka.po new file mode 100755 index 0000000..f737ee8 --- /dev/null +++ b/po/ka.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "AM" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/kk.po b/po/kk.po new file mode 100755 index 0000000..5da92b7 --- /dev/null +++ b/po/kk.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "ТД" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "TK" + diff --git a/po/ko_KR.po b/po/ko_KR.po new file mode 100755 index 0000000..3829da0 --- /dev/null +++ b/po/ko_KR.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "오전" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "오후" + diff --git a/po/lt.po b/po/lt.po new file mode 100755 index 0000000..b3a746d --- /dev/null +++ b/po/lt.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "АМ" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/lv.po b/po/lv.po new file mode 100755 index 0000000..f737ee8 --- /dev/null +++ b/po/lv.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "AM" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/mk.po b/po/mk.po new file mode 100755 index 0000000..b3a746d --- /dev/null +++ b/po/mk.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "АМ" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/nb.po b/po/nb.po new file mode 100755 index 0000000..ebd3280 --- /dev/null +++ b/po/nb.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "Formiddag" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "Ettermiddag" + diff --git a/po/nl_NL.po b/po/nl_NL.po new file mode 100755 index 0000000..f737ee8 --- /dev/null +++ b/po/nl_NL.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "AM" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/pl.po b/po/pl.po new file mode 100755 index 0000000..f737ee8 --- /dev/null +++ b/po/pl.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "AM" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/pt_BR.po b/po/pt_BR.po new file mode 100755 index 0000000..f737ee8 --- /dev/null +++ b/po/pt_BR.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "AM" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/pt_PT.po b/po/pt_PT.po new file mode 100755 index 0000000..f737ee8 --- /dev/null +++ b/po/pt_PT.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "AM" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/ro.po b/po/ro.po new file mode 100755 index 0000000..f737ee8 --- /dev/null +++ b/po/ro.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "AM" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/ru_RU.po b/po/ru_RU.po new file mode 100755 index 0000000..f737ee8 --- /dev/null +++ b/po/ru_RU.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "AM" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/sk.po b/po/sk.po new file mode 100755 index 0000000..65a8b16 --- /dev/null +++ b/po/sk.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "dop." + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "odp." + diff --git a/po/sl.po b/po/sl.po new file mode 100755 index 0000000..313c31b --- /dev/null +++ b/po/sl.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "Dop." + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/sr.po b/po/sr.po new file mode 100755 index 0000000..f737ee8 --- /dev/null +++ b/po/sr.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "AM" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/sv.po b/po/sv.po new file mode 100755 index 0000000..a99cad8 --- /dev/null +++ b/po/sv.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "FM" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "EM" + diff --git a/po/tr_TR.po b/po/tr_TR.po new file mode 100755 index 0000000..f737ee8 --- /dev/null +++ b/po/tr_TR.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "AM" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/uk.po b/po/uk.po new file mode 100755 index 0000000..f737ee8 --- /dev/null +++ b/po/uk.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "AM" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/uz.po b/po/uz.po new file mode 100755 index 0000000..f737ee8 --- /dev/null +++ b/po/uz.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "AM" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "PM" + diff --git a/po/zh_CN.po b/po/zh_CN.po new file mode 100755 index 0000000..a467f15 --- /dev/null +++ b/po/zh_CN.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "上午" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "下午" + diff --git a/po/zh_HK.po b/po/zh_HK.po new file mode 100755 index 0000000..a467f15 --- /dev/null +++ b/po/zh_HK.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "上午" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "下午" + diff --git a/po/zh_SG.po b/po/zh_SG.po new file mode 100755 index 0000000..a467f15 --- /dev/null +++ b/po/zh_SG.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "上午" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "下午" + diff --git a/po/zh_TW.po b/po/zh_TW.po new file mode 100755 index 0000000..a467f15 --- /dev/null +++ b/po/zh_TW.po @@ -0,0 +1,6 @@ +msgid "IDS_COM_POP_AM_M_ABB" +msgstr "上午" + +msgid "IDS_COM_POP_PM_M_ABB" +msgstr "下午" + diff --git a/src/draglock-time.c b/src/draglock-time.c index 1acf226..fc39dc4 100755 --- a/src/draglock-time.c +++ b/src/draglock-time.c @@ -179,10 +179,10 @@ static Eina_Bool _draglock_time_set_date(void *data) { if (st.tm_hour >= 0 && st.tm_hour < 12) { elm_object_part_text_set(ad->time_layout, "text.time.period", - "AM"); + _("IDS_COM_POP_AM_M_ABB")); } else { elm_object_part_text_set(ad->time_layout, "text.time.period", - "PM"); + _("IDS_COM_POP_PM_M_ABB")); } } else { elm_object_part_text_set(ad->time_layout, "text.time.period", ""); -- 2.7.4