[elm_check.c]Modification based on review commets for internationalization support for check labels
[elm_check.c]Added internationalization support for check labels
Change-Id: I7445be13cc4799666d97e3c19d9a646f6be63a5d
msgstr ""
"Project-Id-Version: elementary\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2011-05-14 11:29+0900\n"
+"POT-Creation-Date: 2011-06-20 14:18+0530\n"
"PO-Revision-Date: 2010-12-26 10:05+0200\n"
"Last-Translator: Tom Hacohen <tom.hacohen@partner.samsung.com>\n"
"Language-Team: General\n"
msgid "Home"
msgstr ""
-#: src/lib/elc_fileselector.c:791 src/lib/elm_entry.c:1087
+#: src/lib/elc_fileselector.c:791 src/lib/elm_entry.c:1097
msgid "Cancel"
msgstr ""
msgid "default:LTR"
msgstr "default:RTL"
-#: src/lib/elm_entry.c:1061
+#: src/lib/elm_entry.c:1071
msgid "Select"
msgstr ""
-#: src/lib/elm_entry.c:1066
+#: src/lib/elm_entry.c:1076
msgid "Paste"
msgstr ""
-#: src/lib/elm_entry.c:1071 src/lib/elm_entry.c:1091
+#: src/lib/elm_entry.c:1081 src/lib/elm_entry.c:1101
msgid "More"
msgstr ""
-#: src/lib/elm_entry.c:1081
+#: src/lib/elm_entry.c:1091
msgid "Copy"
msgstr ""
-#: src/lib/elm_entry.c:1084
+#: src/lib/elm_entry.c:1094
msgid "Cut"
msgstr ""
+
+#: src/lib/elm_check.c:156
+msgid "On"
+msgstr ""
+
+#: src/lib/elm_check.c:156
+msgid "Off"
+msgstr ""
+
msgstr ""
"Project-Id-Version: elementary\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2011-05-14 11:29+0900\n"
+"POT-Creation-Date: 2011-06-20 14:18+0530\n"
"PO-Revision-Date: 2010-12-26 10:05+0200\n"
"Last-Translator: Tom Hacohen <tom.hacohen@partner.samsung.com>\n"
"Language-Team: General\n"
msgid "Home"
msgstr ""
-#: src/lib/elc_fileselector.c:791 src/lib/elm_entry.c:1087
+#: src/lib/elc_fileselector.c:791 src/lib/elm_entry.c:1097
msgid "Cancel"
msgstr ""
msgid "default:LTR"
msgstr "default:RTL"
-#: src/lib/elm_entry.c:1061
+#: src/lib/elm_entry.c:1071
msgid "Select"
msgstr ""
-#: src/lib/elm_entry.c:1066
+#: src/lib/elm_entry.c:1076
msgid "Paste"
msgstr ""
-#: src/lib/elm_entry.c:1071 src/lib/elm_entry.c:1091
+#: src/lib/elm_entry.c:1081 src/lib/elm_entry.c:1101
msgid "More"
msgstr ""
-#: src/lib/elm_entry.c:1081
+#: src/lib/elm_entry.c:1091
msgid "Copy"
msgstr ""
-#: src/lib/elm_entry.c:1084
+#: src/lib/elm_entry.c:1094
msgid "Cut"
msgstr ""
+
+#: src/lib/elm_check.c:156
+msgid "On"
+msgstr ""
+
+#: src/lib/elm_check.c:156
+msgid "Off"
+msgstr ""
msgstr ""
"Project-Id-Version: elementary 0.7.0.57309\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2011-05-14 11:29+0900\n"
+"POT-Creation-Date: 2011-06-20 14:18+0530\n"
"PO-Revision-Date: 2011-02-25 20:22+0100\n"
"Last-Translator: Fabian Nowak <timystery@arcor.de>\n"
"Language-Team: German\n"
msgid "Home"
msgstr "Persönlicher Ordner"
-#: src/lib/elc_fileselector.c:791 src/lib/elm_entry.c:1087
+#: src/lib/elc_fileselector.c:791 src/lib/elm_entry.c:1097
msgid "Cancel"
msgstr "Abbrechen"
msgid "default:LTR"
msgstr "Standard: LTR"
-#: src/lib/elm_entry.c:1061
+#: src/lib/elm_entry.c:1071
msgid "Select"
msgstr "Auswählen"
-#: src/lib/elm_entry.c:1066
+#: src/lib/elm_entry.c:1076
msgid "Paste"
msgstr "Einfügen"
-#: src/lib/elm_entry.c:1071 src/lib/elm_entry.c:1091
+#: src/lib/elm_entry.c:1081 src/lib/elm_entry.c:1101
msgid "More"
msgstr ""
-#: src/lib/elm_entry.c:1081
+#: src/lib/elm_entry.c:1091
msgid "Copy"
msgstr "Kopieren"
-#: src/lib/elm_entry.c:1084
+#: src/lib/elm_entry.c:1094
msgid "Cut"
msgstr "Ausschneiden"
+
+#: src/lib/elm_check.c:156
+msgid "On"
+msgstr ""
+
+#: src/lib/elm_check.c:156
+msgid "Off"
+msgstr ""
msgstr ""
"Project-Id-Version: elementary\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2011-05-14 11:29+0900\n"
+"POT-Creation-Date: 2011-06-20 14:18+0530\n"
"PO-Revision-Date: 2010-12-26 10:05+0200\n"
"Last-Translator: Tom Hacohen <tom.hacohen@partner.samsung.com>\n"
"Language-Team: General\n"
msgid "Home"
msgstr ""
-#: src/lib/elc_fileselector.c:791 src/lib/elm_entry.c:1087
+#: src/lib/elc_fileselector.c:791 src/lib/elm_entry.c:1097
msgid "Cancel"
msgstr ""
msgid "default:LTR"
msgstr "default:RTL"
-#: src/lib/elm_entry.c:1061
+#: src/lib/elm_entry.c:1071
msgid "Select"
msgstr ""
-#: src/lib/elm_entry.c:1066
+#: src/lib/elm_entry.c:1076
msgid "Paste"
msgstr ""
-#: src/lib/elm_entry.c:1071 src/lib/elm_entry.c:1091
+#: src/lib/elm_entry.c:1081 src/lib/elm_entry.c:1101
msgid "More"
msgstr ""
-#: src/lib/elm_entry.c:1081
+#: src/lib/elm_entry.c:1091
msgid "Copy"
msgstr ""
-#: src/lib/elm_entry.c:1084
+#: src/lib/elm_entry.c:1094
msgid "Cut"
msgstr ""
+
+#: src/lib/elm_check.c:156
+msgid "On"
+msgstr ""
+
+#: src/lib/elm_check.c:156
+msgid "Off"
+msgstr ""
msgstr ""
"Project-Id-Version: Elementary\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2011-05-14 11:29+0900\n"
+"POT-Creation-Date: 2011-06-20 14:18+0530\n"
"PO-Revision-Date: 2011-03-26 08:13+0400\n"
"Last-Translator: batden <batden@orange.fr>\n"
"Language-Team: Enlightenment French Team <pourunmondesansgourou@gmail.com>\n"
msgid "Home"
msgstr "Home"
-#: src/lib/elc_fileselector.c:791 src/lib/elm_entry.c:1087
+#: src/lib/elc_fileselector.c:791 src/lib/elm_entry.c:1097
msgid "Cancel"
msgstr "Annuler"
msgid "default:LTR"
msgstr "LTR par défaut"
-#: src/lib/elm_entry.c:1061
+#: src/lib/elm_entry.c:1071
msgid "Select"
msgstr "Sélectionner"
-#: src/lib/elm_entry.c:1066
+#: src/lib/elm_entry.c:1076
msgid "Paste"
msgstr "Coller"
-#: src/lib/elm_entry.c:1071 src/lib/elm_entry.c:1091
+#: src/lib/elm_entry.c:1081 src/lib/elm_entry.c:1101
msgid "More"
msgstr ""
-#: src/lib/elm_entry.c:1081
+#: src/lib/elm_entry.c:1091
msgid "Copy"
msgstr "Copier"
-#: src/lib/elm_entry.c:1084
+#: src/lib/elm_entry.c:1094
msgid "Cut"
msgstr "Couper"
+
+#: src/lib/elm_check.c:156
+msgid "On"
+msgstr ""
+
+#: src/lib/elm_check.c:156
+msgid "Off"
+msgstr ""
msgstr ""
"Project-Id-Version: elementary\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2011-05-14 11:29+0900\n"
+"POT-Creation-Date: 2011-06-20 14:18+0530\n"
"PO-Revision-Date: 2010-12-26 10:05+0200\n"
"Last-Translator: Aharon Hillel <a.hillel@partner.samsung.com>\n"
"Language-Team: General\n"
msgid "Home"
msgstr ""
-#: src/lib/elc_fileselector.c:791 src/lib/elm_entry.c:1087
+#: src/lib/elc_fileselector.c:791 src/lib/elm_entry.c:1097
msgid "Cancel"
msgstr "בטל"
msgid "default:LTR"
msgstr "default:RTL"
-#: src/lib/elm_entry.c:1061
+#: src/lib/elm_entry.c:1071
msgid "Select"
msgstr "התחל בחירה"
-#: src/lib/elm_entry.c:1066
+#: src/lib/elm_entry.c:1076
msgid "Paste"
msgstr "הדבק"
-#: src/lib/elm_entry.c:1071 src/lib/elm_entry.c:1091
+#: src/lib/elm_entry.c:1081 src/lib/elm_entry.c:1101
msgid "More"
msgstr ""
-#: src/lib/elm_entry.c:1081
+#: src/lib/elm_entry.c:1091
msgid "Copy"
msgstr "העתק"
-#: src/lib/elm_entry.c:1084
+#: src/lib/elm_entry.c:1094
msgid "Cut"
msgstr "גזור"
+
+#: src/lib/elm_check.c:156
+msgid "On"
+msgstr ""
+
+#: src/lib/elm_check.c:156
+msgid "Off"
+msgstr ""
msgstr ""
"Project-Id-Version: Elementary\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2011-05-14 11:29+0900\n"
+"POT-Creation-Date: 2011-06-20 14:18+0530\n"
"PO-Revision-Date: 2011-03-26 13:53+0100\n"
"Last-Translator: Massimo Maiurana <maiurana@gmail.com>\n"
"Language-Team: none\n"
msgid "Home"
msgstr "Home"
-#: src/lib/elc_fileselector.c:791 src/lib/elm_entry.c:1087
+#: src/lib/elc_fileselector.c:791 src/lib/elm_entry.c:1097
msgid "Cancel"
msgstr "Annulla"
msgid "default:LTR"
msgstr "predefintito: LTR"
-#: src/lib/elm_entry.c:1061
+#: src/lib/elm_entry.c:1071
msgid "Select"
msgstr "Seleziona"
-#: src/lib/elm_entry.c:1066
+#: src/lib/elm_entry.c:1076
msgid "Paste"
msgstr "Incolla"
-#: src/lib/elm_entry.c:1071 src/lib/elm_entry.c:1091
+#: src/lib/elm_entry.c:1081 src/lib/elm_entry.c:1101
msgid "More"
msgstr ""
-#: src/lib/elm_entry.c:1081
+#: src/lib/elm_entry.c:1091
msgid "Copy"
msgstr "Copia"
-#: src/lib/elm_entry.c:1084
+#: src/lib/elm_entry.c:1094
msgid "Cut"
msgstr "Taglia"
+
+#: src/lib/elm_check.c:156
+msgid "On"
+msgstr ""
+
+#: src/lib/elm_check.c:156
+msgid "Off"
+msgstr ""
msgstr ""
"Project-Id-Version: elementary\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2011-05-14 11:29+0900\n"
+"POT-Creation-Date: 2011-06-20 14:18+0530\n"
"PO-Revision-Date: 2011-02-22 09:09-0800\n"
"Last-Translator: Daniel Juyung Seo <seojuyung@gmail.com>\n"
"Language-Team: General\n"
msgid "Home"
msgstr "홈"
-#: src/lib/elc_fileselector.c:791 src/lib/elm_entry.c:1087
+#: src/lib/elc_fileselector.c:791 src/lib/elm_entry.c:1097
msgid "Cancel"
msgstr "취소"
msgid "default:LTR"
msgstr "default:RTL"
-#: src/lib/elm_entry.c:1061
+#: src/lib/elm_entry.c:1071
msgid "Select"
msgstr "선택"
-#: src/lib/elm_entry.c:1066
+#: src/lib/elm_entry.c:1076
msgid "Paste"
msgstr "붙여넣기"
-#: src/lib/elm_entry.c:1071 src/lib/elm_entry.c:1091
+#: src/lib/elm_entry.c:1081 src/lib/elm_entry.c:1101
msgid "More"
msgstr ""
-#: src/lib/elm_entry.c:1081
+#: src/lib/elm_entry.c:1091
msgid "Copy"
msgstr "복사"
-#: src/lib/elm_entry.c:1084
+#: src/lib/elm_entry.c:1094
msgid "Cut"
msgstr "잘라내기"
+
+#: src/lib/elm_check.c:156
+msgid "On"
+msgstr ""
+
+#: src/lib/elm_check.c:156
+msgid "Off"
+msgstr ""
msgstr ""
"Project-Id-Version: elementary\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2011-05-14 11:29+0900\n"
+"POT-Creation-Date: 2011-06-20 14:18+0530\n"
"PO-Revision-Date: 2010-12-26 10:05+0200\n"
"Last-Translator: Tom Hacohen <tom.hacohen@partner.samsung.com>\n"
"Language-Team: General\n"
msgid "Home"
msgstr ""
-#: src/lib/elc_fileselector.c:791 src/lib/elm_entry.c:1087
+#: src/lib/elc_fileselector.c:791 src/lib/elm_entry.c:1097
msgid "Cancel"
msgstr ""
msgid "default:LTR"
msgstr "default:RTL"
-#: src/lib/elm_entry.c:1061
+#: src/lib/elm_entry.c:1071
msgid "Select"
msgstr ""
-#: src/lib/elm_entry.c:1066
+#: src/lib/elm_entry.c:1076
msgid "Paste"
msgstr ""
-#: src/lib/elm_entry.c:1071 src/lib/elm_entry.c:1091
+#: src/lib/elm_entry.c:1081 src/lib/elm_entry.c:1101
msgid "More"
msgstr ""
-#: src/lib/elm_entry.c:1081
+#: src/lib/elm_entry.c:1091
msgid "Copy"
msgstr ""
-#: src/lib/elm_entry.c:1084
+#: src/lib/elm_entry.c:1094
msgid "Cut"
msgstr ""
+
+#: src/lib/elm_check.c:156
+msgid "On"
+msgstr ""
+
+#: src/lib/elm_check.c:156
+msgid "Off"
+msgstr ""
msgstr ""
"Project-Id-Version: Elementary\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2011-05-14 11:29+0900\n"
+"POT-Creation-Date: 2011-06-20 14:18+0530\n"
"PO-Revision-Date: 2011-02-16 11:42-0000\n"
"Last-Translator: Sérgio Marques <smarquespt@gmail.com>\n"
"Language-Team: \n"
msgid "Home"
msgstr ""
-#: src/lib/elc_fileselector.c:791 src/lib/elm_entry.c:1087
+#: src/lib/elc_fileselector.c:791 src/lib/elm_entry.c:1097
msgid "Cancel"
msgstr "Cancelar"
msgid "default:LTR"
msgstr "omissão:LTR"
-#: src/lib/elm_entry.c:1061
+#: src/lib/elm_entry.c:1071
msgid "Select"
msgstr "Selecionar"
-#: src/lib/elm_entry.c:1066
+#: src/lib/elm_entry.c:1076
msgid "Paste"
msgstr "Colar"
-#: src/lib/elm_entry.c:1071 src/lib/elm_entry.c:1091
+#: src/lib/elm_entry.c:1081 src/lib/elm_entry.c:1101
msgid "More"
msgstr ""
-#: src/lib/elm_entry.c:1081
+#: src/lib/elm_entry.c:1091
msgid "Copy"
msgstr "Copiar"
-#: src/lib/elm_entry.c:1084
+#: src/lib/elm_entry.c:1094
msgid "Cut"
msgstr "Cortar"
+
+#: src/lib/elm_check.c:156
+msgid "On"
+msgstr ""
+
+#: src/lib/elm_check.c:156
+msgid "Off"
+msgstr ""
msgstr ""
"Project-Id-Version: elementary\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2011-05-14 11:29+0900\n"
+"POT-Creation-Date: 2011-06-20 14:18+0530\n"
"PO-Revision-Date: 2010-12-26 10:05+0200\n"
"Last-Translator: Tom Hacohen <tom.hacohen@partner.samsung.com>\n"
"Language-Team: General\n"
msgid "Home"
msgstr ""
-#: src/lib/elc_fileselector.c:791 src/lib/elm_entry.c:1087
+#: src/lib/elc_fileselector.c:791 src/lib/elm_entry.c:1097
msgid "Cancel"
msgstr ""
msgid "default:LTR"
msgstr "default:RTL"
-#: src/lib/elm_entry.c:1061
+#: src/lib/elm_entry.c:1071
msgid "Select"
msgstr ""
-#: src/lib/elm_entry.c:1066
+#: src/lib/elm_entry.c:1076
msgid "Paste"
msgstr ""
-#: src/lib/elm_entry.c:1071 src/lib/elm_entry.c:1091
+#: src/lib/elm_entry.c:1081 src/lib/elm_entry.c:1101
msgid "More"
msgstr ""
-#: src/lib/elm_entry.c:1081
+#: src/lib/elm_entry.c:1091
msgid "Copy"
msgstr ""
-#: src/lib/elm_entry.c:1084
+#: src/lib/elm_entry.c:1094
msgid "Cut"
msgstr ""
+
+#: src/lib/elm_check.c:156
+msgid "On"
+msgstr ""
+
+#: src/lib/elm_check.c:156
+msgid "Off"
+msgstr ""
msgstr ""
"Project-Id-Version: elementary\n"
"Report-Msgid-Bugs-To: enlightenment-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2011-05-14 11:29+0900\n"
+"POT-Creation-Date: 2011-06-20 14:18+0530\n"
"PO-Revision-Date: 2010-12-26 10:05+0200\n"
"Last-Translator: Tom Hacohen <tom.hacohen@partner.samsung.com>\n"
"Language-Team: General\n"
msgid "Home"
msgstr ""
-#: src/lib/elc_fileselector.c:791 src/lib/elm_entry.c:1087
+#: src/lib/elc_fileselector.c:791 src/lib/elm_entry.c:1097
msgid "Cancel"
msgstr ""
msgid "default:LTR"
msgstr "default:RTL"
-#: src/lib/elm_entry.c:1061
+#: src/lib/elm_entry.c:1071
msgid "Select"
msgstr ""
-#: src/lib/elm_entry.c:1066
+#: src/lib/elm_entry.c:1076
msgid "Paste"
msgstr ""
-#: src/lib/elm_entry.c:1071 src/lib/elm_entry.c:1091
+#: src/lib/elm_entry.c:1081 src/lib/elm_entry.c:1101
msgid "More"
msgstr ""
-#: src/lib/elm_entry.c:1081
+#: src/lib/elm_entry.c:1091
msgid "Copy"
msgstr ""
-#: src/lib/elm_entry.c:1084
+#: src/lib/elm_entry.c:1094
msgid "Cut"
msgstr ""
+
+#: src/lib/elm_check.c:156
+msgid "On"
+msgstr ""
+
+#: src/lib/elm_check.c:156
+msgid "Off"
+msgstr ""
static void
_theme_hook(Evas_Object *obj)
{
+ unsigned int counter = 0;
+ unsigned int i = 1;
+ unsigned int length = 0;
+ char *str = NULL;
+ char labels[128] ;
+ char buffer[PATH_MAX]={'\0',};
+ char s1[PATH_MAX] = {'\0',};
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return;
+
_elm_widget_mirrored_reload(obj);
_mirrored_set(obj, elm_widget_mirrored_get(obj));
_elm_theme_object_set(obj, wd->chk, "check", "base", elm_widget_style_get(obj));
edje_object_signal_emit(wd->chk, "elm,state,disabled", "elm");
edje_object_message_signal_process(wd->chk);
edje_object_scale_set(wd->chk, elm_widget_scale_get(obj) * _elm_config->scale);
+
+ //introduced internationalization of additional text parts used in style
+ while (1)
+ {
+ // s1 is used to store part name while buffer is used to store the part's value string
+ snprintf(labels,sizeof(labels),"label_%d",i++);
+ str = edje_object_data_get(wd->chk,labels);
+ if (!str) break;
+ length = strlen(str);
+ while ((str[counter]!= ' ') && (counter < length))
+ counter++;
+ if (counter == length)
+ continue;
+ strncpy(s1, str, counter);
+ s1[counter] = '\0';
+ strncpy(buffer, str + counter, sizeof(buffer));
+ edje_object_part_text_set(wd->chk, s1, E_(buffer));
+ }
_sizing_eval(obj);
}