Author: cazfi
Date: Wed Aug 26 19:16:17 2015
New Revision: 29684

URL: http://svn.gna.org/viewcvs/freeciv?rev=29684&view=rev
Log:
Correctly qualify "None" as bonus type as "?bonus:None"

See bug #23817

Modified:
    trunk/client/gui-gtk-2.0/helpdlg.c
    trunk/client/gui-gtk-3.0/helpdlg.c

Modified: trunk/client/gui-gtk-2.0/helpdlg.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-gtk-2.0/helpdlg.c?rev=29684&r1=29683&r2=29684&view=diff
==============================================================================
--- trunk/client/gui-gtk-2.0/helpdlg.c  (original)
+++ trunk/client/gui-gtk-2.0/helpdlg.c  Wed Aug 26 19:16:17 2015
@@ -1290,7 +1290,7 @@
       }
       gtk_label_set_text(GTK_LABEL(help_elabel[5]), bonus);
     } else {
-      gtk_label_set_text(GTK_LABEL(help_elabel[5]), _("None"));
+      gtk_label_set_text(GTK_LABEL(help_elabel[5]), Q_("?bonus:None"));
     }
 
     helptext_extra(buf, sizeof(buf), client.conn.playing, pitem->text, pextra);

Modified: trunk/client/gui-gtk-3.0/helpdlg.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-gtk-3.0/helpdlg.c?rev=29684&r1=29683&r2=29684&view=diff
==============================================================================
--- trunk/client/gui-gtk-3.0/helpdlg.c  (original)
+++ trunk/client/gui-gtk-3.0/helpdlg.c  Wed Aug 26 19:16:17 2015
@@ -1315,7 +1315,7 @@
       }
       gtk_label_set_text(GTK_LABEL(help_elabel[5]), bonus);
     } else {
-      gtk_label_set_text(GTK_LABEL(help_elabel[5]), _("None"));
+      gtk_label_set_text(GTK_LABEL(help_elabel[5]), Q_("?bonus:None"));
     }
 
     helptext_extra(buf, sizeof(buf), client.conn.playing, pitem->text, pextra);


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to