[Datetime]: datetime Popup title fix, "set date and weekday displayed"
authorshilpa singh <shilpa.singh@samsung.com>
Fri, 30 Aug 2013 15:34:33 +0000 (21:04 +0530)
committerSungho Kwak <sungho1.kwak@samsung.com>
Fri, 13 Sep 2013 01:57:13 +0000 (10:57 +0900)
and "set time", all po files also updated.

Change-Id: I809de7a8333d724f0fcfe3639843d70162b85be4

Conflicts:

po/fa.po
po/fr.po
po/gl.po
po/he.po
po/ja_JP.po
po/ko_KR.po
po/nl.po
po/pt.po
po/ru.po
po/ur.po
po/yi.po

19 files changed:
po/ar.po
po/az_IR.po
po/cs.po
po/de.po
po/fa.po
po/fr.po
po/gl.po
po/he.po
po/it.po
po/ja_JP.po
po/ko_KR.po
po/nl.po
po/pl.po
po/ps.po
po/pt.po
po/ru.po
po/ur.po
po/yi.po
src/modules/datetime_input_popup/datetime_input_popup.c

index 761d71c..52099b7 100644 (file)
--- a/po/ar.po
+++ b/po/ar.po
@@ -207,3 +207,11 @@ msgstr "ﺾﺒﻃ"
 #: src/modules/ctxpopup_CopypasteUI/copypaste.c
 msgid "Translate"
 msgstr "ترجمة"
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:375
+msgid "Set date"
+msgstr "اختر التاريخ"
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:384
+msgid "Set time"
+msgstr "اختر الوقت"
index ce84a58..e902d52 100644 (file)
@@ -9,7 +9,7 @@ msgstr ""
 "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
 "POT-Creation-Date: 2012-09-20 13:50+0900\n"
 "PO-Revision-Date: 2010-12-26 10:05+0200\n"
-"Last-Translator: Tom Hacohen <tom.hacohen@samsung.com>\n"
+"Last-Translator: Shilpa Singh <shilpa.singh@samsung.com>\n"
 "Language-Team: General\n"
 "Language: \n"
 "MIME-Version: 1.0\n"
@@ -202,3 +202,11 @@ msgstr ""
 #: src/modules/datetime_input_popup/datetime_input_popup.c:786
 msgid "Set"
 msgstr ""
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:375
+msgid "Set date"
+msgstr ""
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:384
+msgid "Set time"
+msgstr ""
\ No newline at end of file
index 7809c47..0afa2fc 100644 (file)
--- a/po/cs.po
+++ b/po/cs.po
@@ -8,7 +8,7 @@ msgstr ""
 "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
 "POT-Creation-Date: 2012-09-20 13:50+0900\n"
 "PO-Revision-Date: 2011-10-23 01:31+0100\n"
-"Last-Translator: Daniel Kolesa <quaker66@gmail.com>\n"
+"Last-Translator: Shilpa Singh <shilpa.singh@samsung.com>\n"
 "Language-Team: Czech <kde-i18n-doc@kde.org>\n"
 "Language: cs\n"
 "MIME-Version: 1.0\n"
@@ -208,3 +208,11 @@ msgstr "Sada"
 
 #~ msgid "OFF"
 #~ msgstr "VYPNUTO"
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:375
+msgid "Set date"
+msgstr "Nastavit datum"
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:384
+msgid "Set time"
+msgstr "Nastavit čas"
index 41c15d7..e786edf 100644 (file)
--- a/po/de.po
+++ b/po/de.po
@@ -209,3 +209,11 @@ msgstr "Einstellen"
 #: src/modules/ctxpopup_CopypasteUI/copypaste.c
 msgid "Translate"
 msgstr "Übersetzen"
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:375
+msgid "Set date"
+msgstr "Datum einstellen"
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:384
+msgid "Set time"
+msgstr "Uhrzeit einstellen"
index ce84a58..8b89bd5 100644 (file)
--- a/po/fa.po
+++ b/po/fa.po
@@ -9,7 +9,7 @@ msgstr ""
 "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
 "POT-Creation-Date: 2012-09-20 13:50+0900\n"
 "PO-Revision-Date: 2010-12-26 10:05+0200\n"
-"Last-Translator: Tom Hacohen <tom.hacohen@samsung.com>\n"
+"Last-Translator: Shilpa Singh <shilpa.singh@samsung.com>\n"
 "Language-Team: General\n"
 "Language: \n"
 "MIME-Version: 1.0\n"
@@ -202,3 +202,15 @@ msgstr ""
 #: src/modules/datetime_input_popup/datetime_input_popup.c:786
 msgid "Set"
 msgstr ""
+
+#: src/modules/ctxpopup_CopypasteUI/copypaste.c
+msgid "Translate"
+msgstr "ترجمه"
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:375
+msgid "Set date"
+msgstr "تنظیم تاریخ"
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:384
+msgid "Set time"
+msgstr "تنظيم ساعت"
index f46d0d8..36ea668 100644 (file)
--- a/po/fr.po
+++ b/po/fr.po
@@ -10,7 +10,7 @@ msgstr ""
 "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
 "POT-Creation-Date: 2012-09-20 13:50+0900\n"
 "PO-Revision-Date: 2011-11-08 07:57+0100\n"
-"Last-Translator: dazibao <dazibao@sfr.fr>\n"
+"Last-Translator: Shilpa Singh <shilpa.singh@samsung.com>\n"
 "Language-Team: French <sansgourou@gmail.com>\n"
 "Language: \n"
 "MIME-Version: 1.0\n"
@@ -212,3 +212,15 @@ msgstr "Régler"
 
 #~ msgid "OFF"
 #~ msgstr "NON"
+
+#: src/modules/ctxpopup_CopypasteUI/copypaste.c
+msgid "Translate"
+msgstr "Traduire"
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:375
+msgid "Set date"
+msgstr "Définir la date"
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:384
+msgid "Set time"
+msgstr "Définir l'heure"
index af86e05..ca6f87b 100644 (file)
--- a/po/gl.po
+++ b/po/gl.po
@@ -8,7 +8,7 @@ msgstr ""
 "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
 "POT-Creation-Date: 2012-10-02 20:47+0200\n"
 "PO-Revision-Date: 2012-10-02 20:51+0200\n"
-"Last-Translator: Khany <khany@member.trisquel.info>\n"
+"Last-Translator: Shilpa Singh <shilpa.singh@samsung.com>\n"
 "Language-Team: http://trasno.net/ <proxecto@trasno.net>\n"
 "Language: gl\n"
 "MIME-Version: 1.0\n"
@@ -236,3 +236,16 @@ msgstr "Conxunto"
 
 #~ msgid "day selector item"
 #~ msgstr "selector de día"
+
+#: src/modules/ctxpopup_CopypasteUI/copypaste.c
+msgid "Translate"
+msgstr "Traducir"
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:375
+msgid "Set date"
+msgstr "Definir data"
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:384
+msgid "Set time"
+msgstr "Definir hora"
+
index ed3444d..72953f4 100644 (file)
--- a/po/he.po
+++ b/po/he.po
@@ -9,7 +9,7 @@ msgstr ""
 "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
 "POT-Creation-Date: 2012-09-20 13:50+0900\n"
 "PO-Revision-Date: 2010-12-26 10:05+0200\n"
-"Last-Translator: Aharon Hillel <a.hillel@samsung.com>\n"
+"Last-Translator: Shilpa Singh <shilpa.singh@samsung.com>\n"
 "Language-Team: General\n"
 "Language: \n"
 "MIME-Version: 1.0\n"
@@ -203,3 +203,15 @@ msgstr ""
 #: src/modules/datetime_input_popup/datetime_input_popup.c:786
 msgid "Set"
 msgstr ""
+
+#: src/modules/ctxpopup_CopypasteUI/copypaste.c
+msgid "Translate"
+msgstr "תרגם"
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:375
+msgid "Set date"
+msgstr "הגדר תאריך"
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:384
+msgid "Set time"
+msgstr "הגדר שעה"
index aff7b1d..3c160ec 100644 (file)
--- a/po/it.po
+++ b/po/it.po
@@ -207,3 +207,11 @@ msgstr "Imposta"
 #: src/modules/ctxpopup_CopypasteUI/copypaste.c
 msgid "Translate"
 msgstr "Traduci"
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:375
+msgid "Set date"
+msgstr "Imposta data"
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:384
+msgid "Set time"
+msgstr "Imposta ora"
index 0718953..b76d8ed 100644 (file)
@@ -9,7 +9,7 @@ msgstr ""
 "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
 "POT-Creation-Date: 2013-07-20 15:21+0000\n"
 "PO-Revision-Date: 2010-12-26 10:05+0200\n"
-"Last-Translator: Sumanth Krishna <sumanth.m@samsung.com>\n"
+"Last-Translator: Shilpa Singh <shilpa.singh@samsung.com>\n"
 "Language-Team: General\n"
 "Language: \n"
 "MIME-Version: 1.0\n"
@@ -237,3 +237,15 @@ msgstr "PM"
 #: src/modules/datetime_input_popup/datetime_input_popup.c:786
 msgid "Set"
 msgstr "設定"
+
+#: src/modules/ctxpopup_copypasteUI/copypaste.c:
+msgid "Translate"
+msgstr "翻訳"
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:375
+msgid "Set date"
+msgstr "日付を設定"
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:384
+msgid "Set time"
+msgstr "時刻を設定"
index 93ced3b..35708cb 100644 (file)
@@ -9,7 +9,7 @@ msgstr ""
 "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
 "POT-Creation-Date: 2012-09-20 13:50+0900\n"
 "PO-Revision-Date: 2011-02-22 09:09-0800\n"
-"Last-Translator: Daniel Juyung Seo <seojuyung@gmail.com>\n"
+"Last-Translator: Shilpa Singh <shilpa.singh@samsung.com>\n"
 "Language-Team: General\n"
 "Language: \n"
 "MIME-Version: 1.0\n"
@@ -203,3 +203,15 @@ msgstr "오후"
 #: src/modules/datetime_input_popup/datetime_input_popup.c:786
 msgid "Set"
 msgstr "설정"
+
+#: src/modules/ctxpopup_copypasteUI/copypaste.c:
+msgid "Translate"
+msgstr "번역"
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:375
+msgid "Set date"
+msgstr "날짜 설정"
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:384
+msgid "Set time"
+msgstr "시간 설정"
index 95d0e2f..0f19e18 100644 (file)
--- a/po/nl.po
+++ b/po/nl.po
@@ -11,7 +11,7 @@ msgstr ""
 "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
 "POT-Creation-Date: 2012-09-20 13:50+0900\n"
 "PO-Revision-Date: 2011-06-19 16:41+0100\n"
-"Last-Translator: Heimen Stoffels <vistausss@gmail.com>\n"
+"Last-Translator: Shilpa Singh <shilpa.singh@samsung.com>\n"
 "Language-Team: Dutch <vistausss@gmail.com>\n"
 "Language: de\n"
 "MIME-Version: 1.0\n"
@@ -207,3 +207,15 @@ msgstr ""
 #: src/modules/datetime_input_popup/datetime_input_popup.c:786
 msgid "Set"
 msgstr "Setzen"
+
+#: src/modules/ctxpopup_CopypasteUI/copypaste.c
+msgid "Translate"
+msgstr "Vertalen"
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:375
+msgid "Set date"
+msgstr "Datum instellen"
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:384
+msgid "Set time"
+msgstr "Tijd instellen"
index e9bc74b..f3a6609 100644 (file)
--- a/po/pl.po
+++ b/po/pl.po
@@ -240,3 +240,11 @@ msgstr ""
 #: src/modules/datetime_input_popup/datetime_input_popup.c:983
 msgid "Set"
 msgstr "Ustaw"
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:375
+msgid "Set date"
+msgstr "Ustaw datę"
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:384
+msgid "Set time"
+msgstr "Ustaw godzinę"
\ No newline at end of file
index 49de1dd..0f57fb8 100644 (file)
--- a/po/ps.po
+++ b/po/ps.po
@@ -9,7 +9,7 @@ msgstr ""
 "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
 "POT-Creation-Date: 2012-09-20 13:50+0900\n"
 "PO-Revision-Date: 2010-12-26 10:05+0200\n"
-"Last-Translator: Tom Hacohen <tom.hacohen@samsung.com>\n"
+"Last-Translator: Shilpa Singh <shilpa.singh@samsung.com>\n"
 "Language-Team: General\n"
 "Language: \n"
 "MIME-Version: 1.0\n"
@@ -201,3 +201,12 @@ msgstr ""
 #: src/modules/datetime_input_popup/datetime_input_popup.c:786
 msgid "Set"
 msgstr ""
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:375
+msgid "Set date"
+msgstr ""
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:384
+msgid "Set time"
+msgstr ""
+
index ea42d32..a0528f9 100644 (file)
--- a/po/pt.po
+++ b/po/pt.po
@@ -7,7 +7,7 @@ msgstr ""
 "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
 "POT-Creation-Date: 2012-09-20 13:50+0900\n"
 "PO-Revision-Date: 2012-09-22 00:13+0100\n"
-"Last-Translator: Sérgio Marques <smarquespt@gmail.com>\n"
+"Last-Translator: Shilpa Singh <shilpa.singh@samsung.com>\n"
 "Language-Team: \n"
 "Language: pt_PT\n"
 "MIME-Version: 1.0\n"
@@ -219,3 +219,15 @@ msgstr "zestaw"
 
 #~ msgid "OFF"
 #~ msgstr "Desligar"
+
+#: src/modules/ctxpopup_CopypasteUI/copypaste.c
+msgid "Translate"
+msgstr "Traduzir"
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:375
+msgid "Set date"
+msgstr "Definir data"
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:384
+msgid "Set time"
+msgstr "Definir hora"
index 8fb82aa..faeb174 100644 (file)
--- a/po/ru.po
+++ b/po/ru.po
@@ -12,7 +12,7 @@ msgstr ""
 "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
 "POT-Creation-Date: 2012-09-20 13:50+0900\n"
 "PO-Revision-Date: 2012-09-14 22:20+0300\n"
-"Last-Translator: Danny Moshnakov <dm@agent.co.il>\n"
+"Last-Translator: Shilpa Singh <shilpa.singh@samsung.com>\n"
 "Language-Team: ru <ru>\n"
 "Language: ru\n"
 "MIME-Version: 1.0\n"
@@ -206,3 +206,15 @@ msgstr ""
 #: src/modules/datetime_input_popup/datetime_input_popup.c:786
 msgid "Set"
 msgstr "набор"
+
+#: src/modules/ctxpopup_CopypasteUI/copypaste.c
+msgid "Translate"
+msgstr "Перевести"
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:375
+msgid "Set date"
+msgstr "Выберите дату"
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:384
+msgid "Set time"
+msgstr "Выберите время"
index 49de1dd..81b6750 100644 (file)
--- a/po/ur.po
+++ b/po/ur.po
@@ -9,7 +9,7 @@ msgstr ""
 "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
 "POT-Creation-Date: 2012-09-20 13:50+0900\n"
 "PO-Revision-Date: 2010-12-26 10:05+0200\n"
-"Last-Translator: Tom Hacohen <tom.hacohen@samsung.com>\n"
+"Last-Translator: Shilpa Singh <shilpa.singh@samsung.com>\n"
 "Language-Team: General\n"
 "Language: \n"
 "MIME-Version: 1.0\n"
@@ -201,3 +201,15 @@ msgstr ""
 #: src/modules/datetime_input_popup/datetime_input_popup.c:786
 msgid "Set"
 msgstr ""
+
+#: src/modules/ctxpopup_CopypasteUI/copypaste.c
+msgid "Translate"
+msgstr "ترجمہ کریں"
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:375
+msgid "Set date"
+msgstr "تاریخ سیٹ کریں"
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:384
+msgid "Set time"
+msgstr "وقت سیٹ کریں"
index 49de1dd..a3777db 100644 (file)
--- a/po/yi.po
+++ b/po/yi.po
@@ -9,7 +9,7 @@ msgstr ""
 "Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
 "POT-Creation-Date: 2012-09-20 13:50+0900\n"
 "PO-Revision-Date: 2010-12-26 10:05+0200\n"
-"Last-Translator: Tom Hacohen <tom.hacohen@samsung.com>\n"
+"Last-Translator: Shilpa Singh <shilpa.singh@samsung.com>\n"
 "Language-Team: General\n"
 "Language: \n"
 "MIME-Version: 1.0\n"
@@ -201,3 +201,15 @@ msgstr ""
 #: src/modules/datetime_input_popup/datetime_input_popup.c:786
 msgid "Set"
 msgstr ""
+
+#: src/modules/ctxpopup_CopypasteUI/copypaste.c
+msgid "Translate"
+msgstr "איבערזעצן"
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:375
+msgid "Set date"
+msgstr ""
+
+#: src/modules/datetime_input_popup/datetime_input_popup.c:384
+msgid "Set time"
+msgstr ""
index c3743e7..b2eaf7e 100644 (file)
@@ -361,7 +361,7 @@ _set_datepicker_popup_title_text(Popup_Module_Data *popup_mod)
 {
    struct tm set_time;
    time_t t;
-   char title[BUFF_SIZE];
+   char weekday[BUFF_SIZE];
    if (!popup_mod) return;
 
    t = time(NULL);
@@ -373,21 +373,19 @@ _set_datepicker_popup_title_text(Popup_Module_Data *popup_mod)
     * ignore day light saving mode in mktime(). */
    set_time.tm_isdst = -1;
    mktime(&set_time);
-   strftime(title, BUFF_SIZE, "%a %x", &set_time);
-   elm_object_part_text_set(popup_mod->popup, "title,text", title);
+   strftime(weekday, BUFF_SIZE, "%a", &set_time);
+   elm_object_part_text_set(popup_mod->popup, "elm.text.title2", weekday);
+
+   elm_object_domain_translatable_part_text_set(popup_mod->popup, "title,text", PACKAGE, E_("Set date"));
 }
 
 void
 _set_timepicker_popup_title_text(Popup_Module_Data *popup_mod)
 {
-   char title[BUFF_SIZE];
    if (!popup_mod) return;
 
-   if (!popup_mod->time_12hr_fmt)
-     strftime(title, BUFF_SIZE, "%H:%M", &(popup_mod->set_time));
-   else
-     strftime(title, BUFF_SIZE, "%I:%M %p", &(popup_mod->set_time));
-   elm_object_part_text_set(popup_mod->popup, "title,text", title);
+   elm_object_domain_translatable_part_text_set(popup_mod->popup, "title,text", PACKAGE, E_("Set time"));
+   elm_object_part_text_set(popup_mod->popup, "elm.text.title2", "");
 }
 
 static void
@@ -503,7 +501,6 @@ _timepicker_value_changed_cb(void *data, Evas_Object *obj, void *event_info __UN
    else if (obj == popup_mod->popup_field[ELM_DATETIME_MINUTE])
      (popup_mod->set_time).tm_min = (int)elm_spinner_value_get(obj);
 
-   _set_timepicker_popup_title_text(popup_mod);
 }
 
 static void
@@ -532,7 +529,6 @@ _ampm_clicked_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNU
    (popup_mod->set_time).tm_hour = hour;
    popup_mod->is_pm = (hour < STRUCT_TM_TIME_12HRS_MAX_VALUE) ? 0 : 1;
    _set_ampm_value(popup_mod);
-   _set_timepicker_popup_title_text(popup_mod);
 }
 
 const char *