Author: cazfi
Date: Sat Mar 28 07:58:17 2015
New Revision: 28640

URL: http://svn.gna.org/viewcvs/freeciv?rev=28640&view=rev
Log:
Quolified ruledit ruleset statistics strings.

See patch #5947

Modified:
    trunk/tools/ruledit/tab_misc.cpp
    trunk/utility/fcintl.h

Modified: trunk/tools/ruledit/tab_misc.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/tools/ruledit/tab_misc.cpp?rev=28640&r1=28639&r2=28640&view=diff
==============================================================================
--- trunk/tools/ruledit/tab_misc.cpp    (original)
+++ trunk/tools/ruledit/tab_misc.cpp    Sat Mar 28 07:58:17 2015
@@ -83,63 +83,63 @@
   stats = new QTableWidget(this);
   stats->setColumnCount(8);
   stats->setRowCount(6);
-  item = new QTableWidgetItem(QString::fromUtf8(R__("Terrains")));
+  item = new QTableWidgetItem(QString::fromUtf8(RQ_("?stat:Terrains")));
   stats->setItem(0, 0, item);
   item = new QTableWidgetItem("-");
   stats->setItem(0, 1, item);
-  item = new QTableWidgetItem(QString::fromUtf8(R__("Resources")));
+  item = new QTableWidgetItem(QString::fromUtf8(RQ_("?stat:Resources")));
   stats->setItem(1, 0, item);
   item = new QTableWidgetItem("-");
   stats->setItem(1, 1, item);
-  item = new QTableWidgetItem(QString::fromUtf8(R__("Techs")));
+  item = new QTableWidgetItem(QString::fromUtf8(RQ_("?stat:Techs")));
   stats->setItem(2, 0, item);
   item = new QTableWidgetItem("-");
   stats->setItem(2, 1, item);
-  item = new QTableWidgetItem(QString::fromUtf8(R__("Unit Classes")));
+  item = new QTableWidgetItem(QString::fromUtf8(RQ_("?stat:Unit Classes")));
   stats->setItem(3, 0, item);
   item = new QTableWidgetItem("-");
   stats->setItem(3, 1, item);
-  item = new QTableWidgetItem(QString::fromUtf8(R__("Unit Types")));
+  item = new QTableWidgetItem(QString::fromUtf8(RQ_("?stat:Unit Types")));
   stats->setItem(4, 0, item);
   item = new QTableWidgetItem("-");
   stats->setItem(4, 1, item);
-  item = new QTableWidgetItem(QString::fromUtf8(R__("Buildings")));
+  item = new QTableWidgetItem(QString::fromUtf8(RQ_("?stat:Buildings")));
   stats->setItem(5, 0, item);
   item = new QTableWidgetItem("-");
   stats->setItem(5, 1, item);
-  item = new QTableWidgetItem(QString::fromUtf8(R__("Nations")));
+  item = new QTableWidgetItem(QString::fromUtf8(RQ_("?stat:Nations")));
   stats->setItem(0, 3, item);
   item = new QTableWidgetItem("-");
   stats->setItem(0, 4, item);
-  item = new QTableWidgetItem(QString::fromUtf8(R__("Styles")));
+  item = new QTableWidgetItem(QString::fromUtf8(RQ_("?stat:Styles")));
   stats->setItem(1, 3, item);
   item = new QTableWidgetItem("-");
   stats->setItem(1, 4, item);
-  item = new QTableWidgetItem(QString::fromUtf8(R__("Specialists")));
+  item = new QTableWidgetItem(QString::fromUtf8(RQ_("?stat:Specialists")));
   stats->setItem(2, 3, item);
   item = new QTableWidgetItem("-");
   stats->setItem(2, 4, item);
-  item = new QTableWidgetItem(QString::fromUtf8(R__("Governments")));
+  item = new QTableWidgetItem(QString::fromUtf8(RQ_("?stat:Governments")));
   stats->setItem(3, 3, item);
   item = new QTableWidgetItem("-");
   stats->setItem(3, 4, item);
-  item = new QTableWidgetItem(QString::fromUtf8(R__("Disasters")));
+  item = new QTableWidgetItem(QString::fromUtf8(RQ_("?stat:Disasters")));
   stats->setItem(4, 3, item);
   item = new QTableWidgetItem("-");
   stats->setItem(4, 4, item);
-  item = new QTableWidgetItem(QString::fromUtf8(R__("Achievements")));
+  item = new QTableWidgetItem(QString::fromUtf8(RQ_("?stat:Achievements")));
   stats->setItem(5, 3, item);
   item = new QTableWidgetItem("-");
   stats->setItem(5, 4, item);
-  item = new QTableWidgetItem(QString::fromUtf8(R__("Extras")));
+  item = new QTableWidgetItem(QString::fromUtf8(RQ_("?stat:Extras")));
   stats->setItem(0, 6, item);
   item = new QTableWidgetItem("-");
   stats->setItem(0, 7, item);
-  item = new QTableWidgetItem(QString::fromUtf8(R__("Bases")));
+  item = new QTableWidgetItem(QString::fromUtf8(RQ_("?stat:Bases")));
   stats->setItem(1, 6, item);
   item = new QTableWidgetItem("-");
   stats->setItem(1, 7, item);
-  item = new QTableWidgetItem(QString::fromUtf8(R__("Roads")));
+  item = new QTableWidgetItem(QString::fromUtf8(RQ_("?stat:Roads")));
   stats->setItem(2, 6, item);
   item = new QTableWidgetItem("-");
   stats->setItem(2, 7, item);

Modified: trunk/utility/fcintl.h
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/utility/fcintl.h?rev=28640&r1=28639&r2=28640&view=diff
==============================================================================
--- trunk/utility/fcintl.h      (original)
+++ trunk/utility/fcintl.h      Sat Mar 28 07:58:17 2015
@@ -43,6 +43,7 @@
 
 /* Ruledit */
 #define R__(String) dgettext("freeciv-ruledit", String)
+#define RQ_(String) skip_intl_qualifier_prefix(dgettext("freeciv-ruledit", 
String))
 
 #else  /* FREECIV_ENABLE_NLS */
 
@@ -56,6 +57,7 @@
 
 /* Ruledit */
 #define R__(String) (String)
+#define RQ_(String) skip_intl_qualifier_prefix(String)
 
 #undef textdomain
 #undef bindtextdomain


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

Reply via email to