From: Enlightenment C. <no...@cv...> - 2006-07-25 17:06:23
|
Enlightenment CVS committal Author : maxerba Project : e_modules Module : language Dir : e_modules/language/po Log Message: Directory /cvs/e/e_modules/language/po added to the repository |
From: Enlightenment C. <no...@cv...> - 2006-07-25 17:07:19
|
Enlightenment CVS committal Author : maxerba Project : e_modules Module : language Dir : e_modules/language/src/module Modified Files: e_mod_config.c e_mod_main.c e_mod_main.h Log Message: added i18n support and italian localization =================================================================== RCS file: /cvs/e/e_modules/language/src/module/e_mod_config.c,v retrieving revision 1.18 retrieving revision 1.19 diff -u -3 -r1.18 -r1.19 --- e_mod_config.c 17 Jul 2006 23:08:29 -0000 1.18 +++ e_mod_config.c 25 Jul 2006 22:07:17 -0000 1.19 @@ -101,7 +101,7 @@ snprintf(buf, sizeof(buf), "%s/module.eap", e_module_dir_get(language_config->module)); cfd = e_config_dialog_new(e_container_current_get(e_manager_current_get()), - _("Language Module Settings"), buf, 0, v, conf); + D_("Language Module Settings"), buf, 0, v, conf); conf->config_dialog = cfd; } @@ -171,7 +171,7 @@ o = e_widget_list_add(evas, 0, 0); ol = e_widget_list_add(evas, 0, 1); - of = e_widget_framelist_add(evas, _("Available Languages"), 1); + of = e_widget_framelist_add(evas, D_("Available Languages"), 1); ob = e_widget_ilist_add(evas, ILIST_ICON_WIDTH, ILIST_ICON_HEIGHT, &(cfdata->plang)); e_widget_min_size_set(ob, 220, 160); e_widget_ilist_go(ob); @@ -179,7 +179,7 @@ cfdata->gui.o_plang = ob; e_widget_list_object_append(ol, of, 1, 1, 0.5); - of = e_widget_framelist_add(evas, _("Selected Languages"), 0); + of = e_widget_framelist_add(evas, D_("Selected Languages"), 0); ob = e_widget_ilist_add(evas, ILIST_ICON_WIDTH, ILIST_ICON_HEIGHT, &(cfdata->slang)); e_widget_min_size_set(ob, 220, 160); e_widget_ilist_go(ob); @@ -195,12 +195,12 @@ e_widget_list_object_append(ol2, ob, 1, 1, 0.5); cfdata->gui.o_del = ob; - ob = e_widget_button_add(evas, _("Up"), "widget/up_arrow", + ob = e_widget_button_add(evas, D_("Up"), "widget/up_arrow", _conf_cb_language_up, cfdata, NULL); e_widget_list_object_append(ol2, ob, 1, 1, 0.5); cfdata->gui.o_up = ob; - ob = e_widget_button_add(evas, _("Down"), "widget/down_arrow", + ob = e_widget_button_add(evas, D_("Down"), "widget/down_arrow", _conf_cb_language_down, cfdata, NULL); e_widget_list_object_append(ol2, ob, 1, 1, 0.5); cfdata->gui.o_down = ob; @@ -208,16 +208,16 @@ e_widget_list_object_append(ol, of, 1, 1, 0.5); e_widget_list_object_append(o, ol, 1, 1, 0.5); - of = e_widget_framelist_add(evas, _("Language Switch Policy"), 1); + of = e_widget_framelist_add(evas, D_("Language Switch Policy"), 1); rg = e_widget_radio_group_new((int *)&(cfdata->lang_policy)); - ob = e_widget_radio_add(evas, _("Global"), LS_GLOBAL_POLICY, rg); + ob = e_widget_radio_add(evas, D_("Global"), LS_GLOBAL_POLICY, rg); e_widget_framelist_object_append(of, ob); - ob = e_widget_radio_add(evas, _("Window"), LS_WINDOW_POLICY, rg); + ob = e_widget_radio_add(evas, D_("Window"), LS_WINDOW_POLICY, rg); e_widget_framelist_object_append(of, ob); - ob = e_widget_radio_add(evas, _("Application"), LS_APPLICATION_POLICY, rg); + ob = e_widget_radio_add(evas, D_("Application"), LS_APPLICATION_POLICY, rg); e_widget_framelist_object_append(of, ob); e_widget_disabled_set(ob, 1); // this is temporary e_widget_list_object_append(o, of, 1, 1, 0.5); @@ -246,7 +246,7 @@ o = e_widget_list_add(evas, 0, 0); ol = e_widget_list_add(evas, 0, 1); - of = e_widget_framelist_add(evas, _("Available Languages"), 1); + of = e_widget_framelist_add(evas, D_("Available Languages"), 1); ob = e_widget_ilist_add(evas, ILIST_ICON_WIDTH, ILIST_ICON_HEIGHT, &(cfdata->plang)); e_widget_min_size_set(ob, 220, 160); e_widget_ilist_go(ob); @@ -254,7 +254,7 @@ cfdata->gui.o_plang = ob; e_widget_list_object_append(ol, of, 1, 1, 0.5); - of = e_widget_framelist_add(evas, _("Selected Languages"), 0); + of = e_widget_framelist_add(evas, D_("Selected Languages"), 0); ob = e_widget_ilist_add(evas, ILIST_ICON_WIDTH, ILIST_ICON_HEIGHT, &(cfdata->slang)); e_widget_min_size_set(ob, 220, 160); e_widget_ilist_go(ob); @@ -270,12 +270,12 @@ e_widget_list_object_append(ol2, ob, 1, 1, 0.5); cfdata->gui.o_del = ob; - ob = e_widget_button_add(evas, _("Up"), "widget/up_arrow", + ob = e_widget_button_add(evas, D_("Up"), "widget/up_arrow", _conf_cb_language_up, cfdata, NULL); e_widget_list_object_append(ol2, ob, 1, 1, 0.5); cfdata->gui.o_up = ob; - ob = e_widget_button_add(evas, _("Down"), "widget/down_arrow", + ob = e_widget_button_add(evas, D_("Down"), "widget/down_arrow", _conf_cb_language_down, cfdata, NULL); e_widget_list_object_append(ol2, ob, 1, 1, 0.5); cfdata->gui.o_down = ob; @@ -284,7 +284,7 @@ e_widget_list_object_append(o, ol, 1, 1, 0.5); ol = e_widget_list_add(evas, 0, 1); - of = e_widget_framelist_add(evas, _("Keyboard Model"), 1); + of = e_widget_framelist_add(evas, D_("Keyboard Model"), 1); ob = e_widget_ilist_add(evas, 0, 0, &(cfdata->kb_model)); e_widget_min_size_set(ob, 390, 80); e_widget_ilist_go(ob); @@ -292,7 +292,7 @@ e_widget_framelist_object_append(of, ob); e_widget_list_object_append(ol, of, 1, 1, 0.5); - of = e_widget_framelist_add(evas, _("Layout Variant"), 0); + of = e_widget_framelist_add(evas, D_("Layout Variant"), 0); ob = e_widget_ilist_add(evas, 0, 0, &(cfdata->kb_variant)); e_widget_min_size_set(ob, 120, 80); e_widget_ilist_go(ob); @@ -301,16 +301,16 @@ e_widget_list_object_append(ol, of, 1, 1, 0.5); e_widget_list_object_append(o, ol, 1, 1, 0.5); - of = e_widget_framelist_add(evas, _("Language Switch Policy"), 1); + of = e_widget_framelist_add(evas, D_("Language Switch Policy"), 1); rg = e_widget_radio_group_new((int *)&(cfdata->lang_policy)); - ob = e_widget_radio_add(evas, _("Global"), LS_GLOBAL_POLICY, rg); + ob = e_widget_radio_add(evas, D_("Global"), LS_GLOBAL_POLICY, rg); e_widget_framelist_object_append(of, ob); - ob = e_widget_radio_add(evas, _("Window"), LS_WINDOW_POLICY, rg); + ob = e_widget_radio_add(evas, D_("Window"), LS_WINDOW_POLICY, rg); e_widget_framelist_object_append(of, ob); - ob = e_widget_radio_add(evas, _("Application"), LS_APPLICATION_POLICY, rg); + ob = e_widget_radio_add(evas, D_("Application"), LS_APPLICATION_POLICY, rg); e_widget_framelist_object_append(of, ob); e_widget_disabled_set(ob, 1); // this is temporary e_widget_list_object_append(o, of, 1, 1, 0.5); =================================================================== RCS file: /cvs/e/e_modules/language/src/module/e_mod_main.c,v retrieving revision 1.22 retrieving revision 1.23 diff -u -3 -r1.22 -r1.23 --- e_mod_main.c 17 Jul 2006 23:08:29 -0000 1.22 +++ e_mod_main.c 25 Jul 2006 22:07:17 -0000 1.23 @@ -108,7 +108,7 @@ static char * _gc_label(void) { - return _("Language"); + return D_("Language"); } static Evas_Object * _gc_icon(Evas *evas) @@ -133,6 +133,9 @@ EAPI void * e_modapi_init(E_Module *m) { + bindtextdomain(PACKAGE, LOCALEDIR); + bind_textdomain_codeset(PACKAGE, "UTF-8"); + int load_default_config = 0; Evas_List *l; @@ -283,8 +286,8 @@ EAPI int e_modapi_about(E_Module *m) { - e_module_dialog_show(m,_("Enlightenment Language Enhancment Module"), - _("This module is used to switch between input languages.")); + e_module_dialog_show(m,D_("Enlightenment Language Enhancment Module"), + D_("This module is used to switch between input languages.")); return 1; } @@ -401,12 +404,12 @@ mn2 = e_menu_new(); mi = e_menu_item_new(mn2); - e_menu_item_label_set(mi, _("Configuration")); + e_menu_item_label_set(mi, D_("Configuration")); e_util_menu_item_edje_icon_set(mi, "enlightenment/configuration"); e_menu_item_callback_set(mi, _language_face_cb_menu_configure, NULL); mi = e_menu_item_new(mn2); - e_menu_item_label_set(mi, _("Configure Key Bindings")); + e_menu_item_label_set(mi, D_("Configure Key Bindings")); e_util_menu_item_edje_icon_set(mi, "enlightenment/configuration"); e_menu_item_callback_set(mi, _language_face_cb_menu_keybindings_configure, NULL); @@ -423,7 +426,7 @@ mn = e_menu_new(); mi = e_menu_item_new(mn); - e_menu_item_label_set(mi, _("Module Configuration")); + e_menu_item_label_set(mi, D_("Module Configuration")); e_menu_item_submenu_set(mi, mn2); e_util_menu_item_edje_icon_set(mi, "enlightenment/configuration"); =================================================================== RCS file: /cvs/e/e_modules/language/src/module/e_mod_main.h,v retrieving revision 1.15 retrieving revision 1.16 diff -u -3 -r1.15 -r1.16 --- e_mod_main.h 3 Jul 2006 14:08:34 -0000 1.15 +++ e_mod_main.h 25 Jul 2006 22:07:17 -0000 1.16 @@ -1,3 +1,5 @@ +#define D_(str) dgettext(PACKAGE, str) + #ifndef E_MOD_MAIN_H #define E_MOD_MAIN_H |
From: Enlightenment C. <no...@cv...> - 2006-07-25 17:07:19
|
Enlightenment CVS committal Author : maxerba Project : e_modules Module : language Dir : e_modules/language/po Added Files: .cvsignore Makefile.am it.po Log Message: added i18n support and italian localization |
From: Enlightenment C. <no...@cv...> - 2006-07-25 17:07:49
|
Enlightenment CVS committal Author : maxerba Project : e_modules Module : language Dir : e_modules/language Modified Files: Makefile.am autogen.sh configure.in Added Files: ABOUT-NLS Log Message: added i18n support and italian localization =================================================================== RCS file: /cvs/e/e_modules/language/Makefile.am,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- Makefile.am 1 Jun 2006 19:23:42 -0000 1.4 +++ Makefile.am 25 Jul 2006 22:07:16 -0000 1.5 @@ -1,6 +1,6 @@ MAINTAINERCLEANFILES = Makefile.in -SUBDIRS = src data +SUBDIRS = src data po # data files for the module filesdir = $(datadir) =================================================================== RCS file: /cvs/e/e_modules/language/autogen.sh,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- autogen.sh 16 Jun 2006 20:58:30 -0000 1.2 +++ autogen.sh 25 Jul 2006 22:07:16 -0000 1.3 @@ -10,6 +10,17 @@ echo "Running autoconf..." ; autoconf || exit 1 echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --automake) || exit 1 echo "Running automake..." ; automake --add-missing --copy --foreign || exit 1 +echo "Generating gettext language.pot template"; \ +xgettext \ +--output language.pot \ +--output-dir=po \ +--language=C \ +--add-location \ +--keyword=D_ \ +--sort-by-file \ +--copyright-holder="TODO" \ +--foreign-user \ +`find . -name "*.[ch]" -print` || exit 1 if [ -z "$NOCONFIGURE" ]; then ./configure "$@" =================================================================== RCS file: /cvs/e/e_modules/language/configure.in,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- configure.in 25 Jul 2006 13:31:45 -0000 1.9 +++ configure.in 25 Jul 2006 22:07:16 -0000 1.10 @@ -17,11 +17,11 @@ AM_ENABLE_SHARED AM_PROG_LIBTOOL -ALL_LINGUAS="" +ALL_LINGUAS="it" AC_SUBST(ALL_LINGUAS) -#AM_GNU_GETTEXT([external]) -#AM_GNU_GETTEXT_VERSION(0.14) +AM_GNU_GETTEXT([external]) +AM_GNU_GETTEXT_VERSION(0.14) MODULE_ARCH="$host_os-$host_cpu" AC_SUBST(MODULE_ARCH) @@ -161,6 +161,7 @@ data/Makefile data/themes/Makefile data/themes/images/Makefile +po/Makefile ],[ ]) |
From: Enlightenment C. <no...@cv...> - 2006-07-29 16:17:19
|
Enlightenment CVS committal Author : maxerba Project : e_modules Module : language Dir : e_modules/language/po Modified Files: it.po Log Message: =================================================================== RCS file: /cvs/e/e_modules/language/po/it.po,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- it.po 25 Jul 2006 22:07:16 -0000 1.1 +++ it.po 29 Jul 2006 21:17:16 -0000 1.2 @@ -7,7 +7,7 @@ "Project-Id-Version: Language\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-07-23 14:21+0200\n" -"PO-Revision-Date: 2006-07-23 14:32+0200\n" +"PO-Revision-Date: 2006-07-29 12:30+0200\n" "Last-Translator: Massimo Maiurana <mai...@in...>\n" "Language-Team: none\n" "MIME-Version: 1.0\n" @@ -32,7 +32,7 @@ #: src/module/e_mod_config.c:203 src/module/e_mod_config.c:278 msgid "Down" -msgstr "Giu" +msgstr "Giù" #: src/module/e_mod_config.c:211 src/module/e_mod_config.c:304 msgid "Language Switch Policy" @@ -44,11 +44,11 @@ #: src/module/e_mod_config.c:217 src/module/e_mod_config.c:310 msgid "Window" -msgstr "Per finestra" +msgstr "Finestra" #: src/module/e_mod_config.c:220 src/module/e_mod_config.c:313 msgid "Application" -msgstr "Per applicazione" +msgstr "Applicazione" #: src/module/e_mod_config.c:287 msgid "Keyboard Model" |
From: Enlightenment C. <no...@cv...> - 2007-06-04 17:48:41
|
Enlightenment CVS committal Author : maxerba Project : e_modules Module : language Dir : e_modules/language/po Added Files: fr.po Log Message: added french localization for some modules |
From: Enlightenment C. <no...@cv...> - 2007-06-04 17:49:15
|
Enlightenment CVS committal Author : maxerba Project : e_modules Module : language Dir : e_modules/language Modified Files: configure.in Log Message: added french localization for some modules =================================================================== RCS file: /cvs/e/e_modules/language/configure.in,v retrieving revision 1.16 retrieving revision 1.17 diff -u -3 -r1.16 -r1.17 --- configure.in 29 May 2007 16:26:01 -0000 1.16 +++ configure.in 4 Jun 2007 17:48:39 -0000 1.17 @@ -17,7 +17,7 @@ AM_ENABLE_SHARED AM_PROG_LIBTOOL -ALL_LINGUAS="eo it sv" +ALL_LINGUAS="eo it sv fr" AC_SUBST(ALL_LINGUAS) AM_GNU_GETTEXT([external]) |
From: Enlightenment C. <no...@cv...> - 2007-11-04 15:35:08
|
Enlightenment CVS committal Author : maxerba Project : e_modules Module : language Dir : e_modules/language Modified Files: module.desktop Log Message: =================================================================== RCS file: /cvs/e/e_modules/language/module.desktop,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- module.desktop 26 Aug 2007 19:49:44 -0000 1.2 +++ module.desktop 4 Nov 2007 15:34:35 -0000 1.3 @@ -7,3 +7,4 @@ X-Enlightenment-IconClass=language,gadget Icon=e-module-language Comment=<hilight>Language Gadget</hilight><br>Gadget to control active keyboard,<br>keyboard layout, and layout variant. +Comment[it]=<hilight>Modulo Language</hilight><br>Modulo per controllare la tastiera<br>attiva, il layout di tastiera e le<br>varianti del layout. |
From: Enlightenment C. <no...@cv...> - 2007-11-04 15:36:36
|
Enlightenment CVS committal Author : maxerba Project : e_modules Module : language Dir : e_modules/language/po Modified Files: it.po Log Message: |
From: Enlightenment C. <no...@cv...> - 2007-11-18 19:47:15
|
Enlightenment CVS committal Author : maxerba Project : e_modules Module : language Dir : e_modules/language/po Modified Files: it.po Log Message: |
From: Enlightenment C. <no...@cv...> - 2007-12-11 11:50:32
|
Enlightenment CVS committal Author : maxerba Project : e_modules Module : language Dir : e_modules/language/po Modified Files: eo.po Log Message: |
From: Enlightenment C. <no...@cv...> - 2008-01-23 21:08:37
|
Enlightenment CVS committal Author : maxerba Project : e_modules Module : language Dir : e_modules/language/po Modified Files: LINGUAS Added Files: fi.po Log Message: =================================================================== RCS file: /cvs/e/e_modules/language/po/LINGUAS,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- LINGUAS 7 Nov 2007 20:27:41 -0000 1.1 +++ LINGUAS 23 Jan 2008 21:08:03 -0000 1.2 @@ -1 +1 @@ -eo it sv fr +eo it sv fr fi |
From: Enlightenment C. <no...@cv...> - 2008-02-12 17:13:44
|
Enlightenment CVS committal Author : maxerba Project : e_modules Module : language Dir : e_modules/language/po Modified Files: eo.po Log Message: |
From: Enlightenment C. <no...@cv...> - 2008-02-27 11:49:43
|
Enlightenment CVS committal Author : maxerba Project : e_modules Module : language Dir : e_modules/language Modified Files: module.desktop Log Message: updated module.desktop files with eo localization. =================================================================== RCS file: /cvs/e/e_modules/language/module.desktop,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- module.desktop 30 Dec 2007 19:49:24 -0000 1.4 +++ module.desktop 27 Feb 2008 11:49:06 -0000 1.5 @@ -1,10 +1,12 @@ [Desktop Entry] Type=Link Name=Language +Name[eo]=Lingvo Exec=enlightenment StartupNotify=false X-Enlightenment-WaitExit=false X-Enlightenment-IconClass=language,gadget Icon=e-module-language Comment=<hilight>Language Gadget</hilight><br><br>Gadget to control active keyboard, keyboard layout, and layout variant. +Comment[eo]=<hilight>Modulo de lingvoj</hilight><br><br>Kontroli la aktivan klavaron, klavaran aranÄon kaj klavaran variaĵon. Comment[it]=<hilight>Modulo Language</hilight><br><br>Modulo per controllare la tastiera attiva, il layout di tastiera e le varianti del layout. |
From: Enlightenment C. <no...@cv...> - 2008-03-10 20:47:34
|
Enlightenment CVS committal Author : maxerba Project : e_modules Module : language Dir : e_modules/language/po Modified Files: LINGUAS Added Files: hu.po Log Message: added hungarian localization =================================================================== RCS file: /cvs/e/e_modules/language/po/LINGUAS,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- LINGUAS 23 Jan 2008 21:08:03 -0000 1.2 +++ LINGUAS 10 Mar 2008 20:46:58 -0000 1.3 @@ -1 +1 @@ -eo it sv fr fi +eo fi fr hu it sv |
From: Enlightenment C. <no...@cv...> - 2008-04-18 11:19:28
|
Enlightenment CVS committal Author : maxerba Project : e_modules Module : language Dir : e_modules/language/po Modified Files: eo.po Log Message: |
From: Enlightenment C. <no...@cv...> - 2008-04-30 13:48:59
|
Enlightenment CVS committal Author : maxerba Project : e_modules Module : language Dir : e_modules/language Modified Files: module.desktop Log Message: hu translations for desktop files =================================================================== RCS file: /cvs/e/e_modules/language/module.desktop,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- module.desktop 27 Feb 2008 11:49:06 -0000 1.5 +++ module.desktop 30 Apr 2008 10:28:38 -0000 1.6 @@ -2,6 +2,7 @@ Type=Link Name=Language Name[eo]=Lingvo +Name[hu]=Billentyűzet nyelvezete Exec=enlightenment StartupNotify=false X-Enlightenment-WaitExit=false @@ -9,4 +10,5 @@ Icon=e-module-language Comment=<hilight>Language Gadget</hilight><br><br>Gadget to control active keyboard, keyboard layout, and layout variant. Comment[eo]=<hilight>Modulo de lingvoj</hilight><br><br>Kontroli la aktivan klavaron, klavaran aranÄon kaj klavaran variaĵon. +Comment[hu]=<hilight>Nyelvi modul</hilight><br><br>Modul az aktÃv billentyűzet beállÃtásához (billentyűzet kimenete, nyelve). Comment[it]=<hilight>Modulo Language</hilight><br><br>Modulo per controllare la tastiera attiva, il layout di tastiera e le varianti del layout. |