Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2004:
[Freeciv-Dev] (PR#8456) Some _()'s missing in gtk2 client
Home

[Freeciv-Dev] (PR#8456) Some _()'s missing in gtk2 client

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#8456) Some _()'s missing in gtk2 client
From: "mateusz stefek" <matusik_s@xxxxx>
Date: Sun, 4 Apr 2004 06:44:47 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=8456 >

Patch attached
--
mateusz

diff -ur -Xdiff_ignore freeorig/client/gui-gtk-2.0/inteldlg.c 
freeciv/client/gui-gtk-2.0/inteldlg.c
--- freeorig/client/gui-gtk-2.0/inteldlg.c      2004-03-30 10:10:34.000000000 
+0200
+++ freeciv/client/gui-gtk-2.0/inteldlg.c       2004-04-03 11:09:21.000000000 
+0200
@@ -145,7 +145,7 @@
 
   for (i = 0; i < ARRAY_SIZE(table_text); i++) {
     if (table_text[i]) {
-      label = gtk_label_new(table_text[i]);
+      label = gtk_label_new(_(table_text[i]));
       gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5);
       gtk_table_attach(GTK_TABLE(table), label,
          0, 1, i, i+1, GTK_FILL, GTK_FILL|GTK_EXPAND, 0, 0);
diff -ur -Xdiff_ignore freeorig/client/gui-gtk-2.0/mapview.c 
freeciv/client/gui-gtk-2.0/mapview.c
--- freeorig/client/gui-gtk-2.0/mapview.c       2004-04-02 16:28:26.000000000 
+0200
+++ freeciv/client/gui-gtk-2.0/mapview.c        2004-04-03 11:12:08.000000000 
+0200
@@ -231,7 +231,7 @@
 
     if (ptype->veteran[punit->veteran].name[0] != '\0') {
       sz_strlcat(buffer, " (");
-      sz_strlcat(buffer, ptype->veteran[punit->veteran].name);
+      sz_strlcat(buffer, _(ptype->veteran[punit->veteran].name));
       sz_strlcat(buffer, ")");
     }
 

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#8456) Some _()'s missing in gtk2 client, mateusz stefek <=