Author: pepeto
Date: Thu Jan 29 21:32:28 2015
New Revision: 27899

URL: http://svn.gna.org/viewcvs/freeciv?rev=27899&view=rev
Log:
Make translation of "Future Tech %d" possible, as it was in earlier versions.

See gna bug #23222

Modified:
    trunk/common/research.c

Modified: trunk/common/research.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/common/research.c?rev=27899&r1=27898&r2=27899&view=diff
==============================================================================
--- trunk/common/research.c     (original)
+++ trunk/common/research.c     Thu Jan 29 21:32:28 2015
@@ -279,9 +279,7 @@
     }
 
     /* NB: 'presearch->future_tech == 0' means "Future Tech. 1". */
-    fc_snprintf(buffer, sizeof(buffer), "%s %d",
-                name_translation(&advance_future_name),
-                no + 1);
+    fc_snprintf(buffer, sizeof(buffer), _("Future Tech. %d"), no + 1);
     name = research_future_set_name(future_name_translation, no, buffer);
     fc_assert(name != NULL);
     fc_assert(name != buffer);


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

Reply via email to