Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/modules/clock


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/clock/e_mod_main.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- e_mod_main.c        5 Apr 2005 14:47:47 -0000       1.25
+++ e_mod_main.c        11 Apr 2005 21:50:34 -0000      1.26
@@ -37,11 +37,11 @@
    /* check module api version */
    if (module->api->version < E_MODULE_API_VERSION)
      {
-       e_error_dialog_show("Module API Error",
-                           "Error initializing Module: Clock\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: Clock\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,
                            module->api->version);
        return NULL;
@@ -83,7 +83,7 @@
 {
    char buf[4096];
    
-   module->label = strdup("Clock");
+   module->label = strdup(_("Clock"));
    snprintf(buf, sizeof(buf), "%s/module_icon.png", e_module_dir_get(module));
    module->icon_file = strdup(buf);
    return 1;
@@ -92,8 +92,8 @@
 int
 about(E_Module *module)
 {
-   e_error_dialog_show("Enlightenment Clock Module",
-                      "A simple module to give E17 a clock.");
+   e_error_dialog_show(_("Enlightenment Clock Module"),
+                      _("A simple module to give E17 a clock."));
    return 1;
 }
 
@@ -300,7 +300,7 @@
    /* Enabled */
    /*
    mi = e_menu_item_new(mn);
-   e_menu_item_label_set(mi, "Enabled");
+   e_menu_item_label_set(mi, _("Enabled"));
    e_menu_item_check_set(mi, 1);
    if (face->conf->enabled) e_menu_item_toggle_set(mi, 1);
    e_menu_item_callback_set(mi, _clock_face_cb_menu_enabled, face);
@@ -308,7 +308,7 @@
    
    /* Edit */
    mi = e_menu_item_new(mn);
-   e_menu_item_label_set(mi, "Edit Mode");
+   e_menu_item_label_set(mi, _("Edit Mode"));
    e_menu_item_callback_set(mi, _clock_face_cb_menu_edit, face);
 }
 
@@ -384,3 +384,4 @@
    face = data;
    e_gadman_mode_set(face->gmc->gadman, E_GADMAN_MODE_EDIT);
 }
+




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to