Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2004:
[Freeciv-Dev] (PR#10762) i18n patches
Home

[Freeciv-Dev] (PR#10762) i18n patches

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#10762) i18n patches
From: "Dmitriy Genzel" <dg@xxxxxxxxxxxx>
Date: Wed, 27 Oct 2004 12:39:35 -0700
Reply-to: rt@xxxxxxxxxxx

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

Attached are two trivial i18n patches:

first for client/gui-gtk-2.0/pages.c (BOTH branches)

second for po/POTFILES.in (2.0 only!, HEAD already has it)

The second bug is especially annoying for the translators, since it masks
the needed translations.

Dmitriy Genzel
--- client/gui-gtk-2.0/pages.c.old      2004-10-27 15:06:58.000000000 -0400
+++ client/gui-gtk-2.0/pages.c  2004-10-27 15:08:52.000000000 -0400
@@ -194,7 +194,7 @@
   g_signal_connect(button, "clicked",
       G_CALLBACK(start_scenario_callback), NULL);
 
-  button = gtk_button_new_with_mnemonic("_Load Saved Game");
+  button = gtk_button_new_with_mnemonic(_("_Load Saved Game"));
   gtk_size_group_add_widget(size, button);
   gtk_container_add(GTK_CONTAINER(bbox), button);
   g_signal_connect(button, "clicked",
@@ -1188,7 +1188,7 @@
   gtk_box_set_spacing(GTK_BOX(bbox), 12);
   gtk_box_pack_start(GTK_BOX(box), bbox, FALSE, FALSE, 0);
 
-  button = gtk_button_new_with_mnemonic("_Browse...");
+  button = gtk_button_new_with_mnemonic(_("_Browse..."));
   gtk_container_add(GTK_CONTAINER(bbox), button);
   gtk_button_box_set_child_secondary(GTK_BUTTON_BOX(bbox), button, TRUE);
   g_signal_connect(button, "clicked",
--- po/POTFILES.in.old  2004-10-27 15:18:49.000000000 -0400
+++ po/POTFILES.in      2004-10-27 15:19:13.000000000 -0400
@@ -85,6 +85,7 @@
 client/gui-gtk-2.0/menu.c
 client/gui-gtk-2.0/messagedlg.c
 client/gui-gtk-2.0/messagewin.c
+client/gui-gtk-2.0/pages.c
 client/gui-gtk-2.0/plrdlg.c
 client/gui-gtk-2.0/repodlgs.c
 client/gui-gtk-2.0/spaceshipdlg.c

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#10762) i18n patches, Dmitriy Genzel <=