|
From: <enl...@li...> - 2005-04-11 21:51:12
|
Enlightenment CVS committal
Author : raster
Project : e17
Module : apps/e
Dir : e17/apps/e/src/modules/test
Modified Files:
e_mod_main.c
Log Message:
ibox isnt used/etc. so for now lets remove it.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/test/e_mod_main.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- e_mod_main.c 25 Nov 2004 03:37:45 -0000 1.1
+++ e_mod_main.c 11 Apr 2005 21:50:36 -0000 1.2
@@ -6,11 +6,11 @@
{
if (m->api->version < E_MODULE_API_VERSION)
{
- e_error_dialog_show("Module API Error",
- "Error initializing Module: test\n"
- "It requires a minimum module API version of: %i.\n"
- "The module API advertized by Enlightenment is: %i.\n"
- "Aborting module.",
+ e_error_dialog_show(_("Module API Error"),
+ _("Error initializing Module: test\n"
+ "It requires a minimum module API version of: %i.\n"
+ "The module API advertized by Enlightenment is: %i.\n"
+ "Aborting module."),
E_MODULE_API_VERSION,
m->api->version);
return NULL;
@@ -21,15 +21,15 @@
mn = e_menu_new();
mi = e_menu_item_new(mn);
- e_menu_item_label_set(mi, "Module Config Menu Item 1");
+ e_menu_item_label_set(mi, _("Module Config Menu Item 1"));
mi = e_menu_item_new(mn);
- e_menu_item_label_set(mi, "Module Config Menu Item 2");
+ e_menu_item_label_set(mi, _("Module Config Menu Item 2"));
mi = e_menu_item_new(mn);
- e_menu_item_label_set(mi, "Module Config Menu Item 3");
+ e_menu_item_label_set(mi, _("Module Config Menu Item 3"));
mi = e_menu_item_new(mn);
e_menu_item_separator_set(mi, 1);
mi = e_menu_item_new(mn);
- e_menu_item_label_set(mi, "Something Else");
+ e_menu_item_label_set(mi, _("Something Else"));
m->config_menu = mn;
}
return init; /* bogus pointer - just to say we worked */
@@ -56,16 +56,16 @@
int
info(E_Module *m)
{
- m->label = strdup("Test!!!");
+ m->label = strdup(_("Test!!!"));
return 1;
}
int
about(E_Module *m)
{
- e_error_dialog_show("Enlightenment Test Module",
- "This module is VERY simple and is only used to test the basic\n"
- "interface of the Enlightenment 0.17.0 module system. Please\n"
- "Ignore this module unless you are working on the module system.");
+ e_error_dialog_show(_("Enlightenment Test Module"),
+ _("This module is VERY simple and is only used to test the basic\n"
+ "interface of the Enlightenment 0.17.0 module system. Please\n"
+ "Ignore this module unless you are working on the module system."));
return 1;
}
|