Author: cazfi
Date: Tue Feb 10 19:34:22 2015
New Revision: 28084

URL: http://svn.gna.org/viewcvs/freeciv?rev=28084&view=rev
Log:
Qualified demographics category name "Literacy" to allow distinct translations 
from the tech name.

See patch #5807

Modified:
    branches/S2_4/server/report.c

Modified: branches/S2_4/server/report.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_4/server/report.c?rev=28084&r1=28083&r2=28084&view=diff
==============================================================================
--- branches/S2_4/server/report.c       (original)
+++ branches/S2_4/server/report.c       Tue Feb 10 19:34:22 2015
@@ -158,7 +158,8 @@
   {'A', N_("Land Area"),        get_landarea,    area_to_text,        TRUE },
   {'S', N_("Settled Area"),     get_settledarea, area_to_text,        TRUE },
   {'R', N_("Research Speed"),   get_research,    science_to_text,     TRUE },
-  {'L', N_("Literacy"),         get_literacy,    percent_to_text,     TRUE },
+  /* TRANS: How literate people are. */
+  {'L', N_("?ability:Literacy"), get_literacy,    percent_to_text,     TRUE },
   {'P', N_("Production"),       get_production,  production_to_text,  TRUE },
   {'E', N_("Economics"),        get_economics,   economics_to_text,   TRUE },
   {'M', N_("Military Service"), get_mil_service, mil_service_to_text, FALSE },
@@ -1011,7 +1012,7 @@
   buffer[0] = '\0';
   for (i = 0; i < ARRAY_SIZE(rowtable); i++) {
     if (strchr(game.server.demography, rowtable[i].key)) {
-      const char *name = _(rowtable[i].name);
+      const char *name = Q_(rowtable[i].name);
 
       cat_snprintf(buffer, sizeof(buffer), "%s", name);
       cat_snprintf(buffer, sizeof(buffer), "%*s",


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

Reply via email to