e xkbswitch module: change to keyboard in all user-visible strings.
authorChidambar Zinnoury <illogict@online.fr>
Sun, 8 Jul 2012 10:36:00 +0000 (10:36 +0000)
committerChidambar Zinnoury <illogict@online.fr>
Sun, 8 Jul 2012 10:36:00 +0000 (10:36 +0000)
SVN revision: 73466

src/modules/xkbswitch/e_mod_config.c
src/modules/xkbswitch/e_mod_main.c
src/modules/xkbswitch/module.desktop.in

index 91a0ea7..9dbcdb8 100644 (file)
@@ -70,9 +70,9 @@ _xkb_cfg_dialog(E_Container *con, const char *params __UNUSED__)
    v->basic.create_widgets = _basic_create;
    v->basic.apply_cfdata   = _basic_apply;
 
-   cfd = e_config_dialog_new(con, _("XKB Switcher Module"), "E",
+   cfd = e_config_dialog_new(con, _("Keyboard Settings"), "E",
                              "keyboard_and_mouse/xkbswitch",
-                             "preferences-desktop-locale",
+                             "preferences-desktop-keyboard",
                              0, v, NULL);
    e_dialog_resizable_set(cfd->dia, 1);
    _xkb.cfd = cfd;
index f615bcf..c25f38f 100644 (file)
@@ -72,8 +72,8 @@ e_modapi_init(E_Module *m)
    e_configure_registry_category_add("keyboard_and_mouse", 80, _("Input"), 
                                      NULL, "preferences-behavior");
    e_configure_registry_item_add("keyboard_and_mouse/xkbswitch", 110,
-                                 _("XKB Switcher"),  NULL,
-                                 "preferences-desktop-locale", 
+                                 _("Keyboard"),  NULL,
+                                 "preferences-desktop-keyboard", 
                                  _xkb_cfg_dialog);
    _xkb.module = m;
    _xkb.evh = ecore_event_handler_add(E_EVENT_XKB_CHANGED, _xkb_changed, NULL);
@@ -251,7 +251,7 @@ _gc_orient(E_Gadcon_Client *gcc, E_Gadcon_Orient orient __UNUSED__)
 static const char *
 _gc_label(E_Gadcon_Client_Class *client_class __UNUSED__)
 {
-   return _("XKB Switcher");
+   return _("Keyboard");
 }
 
 static const char *
index e179ca0..d9a71db 100644 (file)
@@ -1,8 +1,8 @@
 [Desktop Entry]
 Type=Link
-Name=XKBSwitch
-Name[fr]=Services XKB
-Icon=e-module-xkbswitch
+Name=Keyboard
+Name[fr]=Clavier
+Icon=preferences-desktop-keyboard
 X-Enlightenment-ModuleType=utils
 Comment=Keyboard layout configuration and switcher
 Comment[fr]=Pour configurer et basculer l'agencement du clavier.