<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40738 >

It turns out that there was only one place where I used _()
instead of Q_(); the attached patch fixes it.

Perhaps the fact that Q_() is not necessary in ruleset files
should be added to the Internationalization wiki page?


-----------------------------------------------------------------------
そんなに恐ろしいことじゃなさそうだね。
diff --git a/client/gui-gtk-2.0/pages.c b/client/gui-gtk-2.0/pages.c
index 29645e1..2259c2e 100644
--- a/client/gui-gtk-2.0/pages.c
+++ b/client/gui-gtk-2.0/pages.c
@@ -1616,7 +1616,7 @@ GtkWidget *create_start_page(void)
                CL_COL_GGZ_RATING, "rating_col");
   add_tree_col(view, G_TYPE_BOOLEAN, _("Ready"),
                CL_COL_READY_STATE, NULL);
-  add_tree_col(view, G_TYPE_STRING, _("?player:Leader"),
+  add_tree_col(view, G_TYPE_STRING, Q_("?player:Leader"),
                CL_COL_PLAYER_NAME, NULL);
   add_tree_col(view, G_TYPE_STRING, _("Nation"),
                CL_COL_NATION, NULL);
diff --git a/client/gui-gtk-2.0/pages.c b/client/gui-gtk-2.0/pages.c
index 414c848..19eae83 100644
--- a/client/gui-gtk-2.0/pages.c
+++ b/client/gui-gtk-2.0/pages.c
@@ -1606,7 +1606,7 @@ GtkWidget *create_start_page(void)
 
   rend = gtk_cell_renderer_text_new();
   gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(view),
-                                              -1, _("?player:Leader"),
+                                              -1, Q_("?player:Leader"),
                                               rend, "text", 3, NULL);
 
   rend = gtk_cell_renderer_text_new();
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to