Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        actions.c 


Log Message:
Make About box text localizable.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/actions.c,v
retrieving revision 1.170
retrieving revision 1.171
diff -u -3 -r1.170 -r1.171
--- actions.c   27 Jun 2004 22:30:53 -0000      1.170
+++ actions.c   11 Jul 2004 10:58:53 -0000      1.171
@@ -2865,6 +2865,7 @@
 {
    Dialog             *d;
    DItem              *table, *di;
+   char                buf[1024];
 
    EDBUG(6, "doAbout");
    d = FindItem("ABOUT_ENLIGHTENMENT", 0, LIST_FINDBY_NAME, LIST_TYPE_DIALOG);
@@ -2875,13 +2876,9 @@
      }
 
    d = DialogCreate("ABOUT_ENLIGHTENMENT");
-   {
-      char                stuff[255];
-
-      Esnprintf(stuff, sizeof(stuff), _("About Enlightenment %s"),
-               ENLIGHTENMENT_VERSION);
-      DialogSetTitle(d, stuff);
-   }
+   Esnprintf(buf, sizeof(buf),
+            _("About Enlightenment %s"), ENLIGHTENMENT_VERSION);
+   DialogSetTitle(d, buf);
 
    table = DialogInitItem(d);
    DialogItemTableSetOptions(table, 2, 0, 0, 0);
@@ -2893,22 +2890,22 @@
    di = DialogAddItem(table, DITEM_TEXT);
    DialogItemSetPadding(di, 2, 2, 2, 2);
    DialogItemSetFill(di, 1, 0);
-   DialogItemTextSetText(di,
-                        _("Welcome to the " ENLIGHTENMENT_VERSION " version\n"
-                          "of the Enlightenment "
-                          "window manager.\n Enlightenment is still under "
-                          "development, but\n"
-                          "we have tried to iron out all the bugs "
-                          "that\nwe can find. If "
-                          "you find a bug in the software,\n please do "
-                          "not hesitate to send "
-                          "in a bug report.\nSee \"Help\" for information "
-                          "on joining the\n" "mailing list.\n" "\n"
-                          "This code last updated on:\n" E_CHECKOUT_DATE "\n"
-                          "\n" "Good luck. We hope you enjoy the software.\n"
-                          "\n" "The Rasterman - [EMAIL PROTECTED]"
-                          "Mandrake - [EMAIL PROTECTED]"
-                          "Kim Woelders - [EMAIL PROTECTED]"));
+   Esnprintf(buf, sizeof(buf),
+            _("Welcome to the %s version\n"
+              "of the Enlightenment window manager.\n"
+              "Enlightenment is still under development, but\n"
+              "we have tried to iron out all the bugs that\n"
+              "we can find. If you find a bug in the software,\n"
+              "please do not hesitate to send in a bug report.\n"
+              "See \"Help\" for information on joining the\n"
+              "mailing list.\n" "\n"
+              "This code was last updated on:\n%s\n" "\n"
+              "Good luck. We hope you enjoy the software.\n" "\n"
+              "The Rasterman - [EMAIL PROTECTED]"
+              "Mandrake - [EMAIL PROTECTED]"
+              "Kim Woelders - [EMAIL PROTECTED]"),
+            ENLIGHTENMENT_VERSION, E_CHECKOUT_DATE);
+   DialogItemTextSetText(di, buf);
 
    DialogAddButton(d, _("OK"), NULL, 1);
    ShowDialog(d);




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to