Author: cazfi
Date: Sat Dec 12 22:15:02 2015
New Revision: 30963

URL: http://svn.gna.org/viewcvs/freeciv?rev=30963&view=rev
Log:
Mark names of the ruleset objects saved from the ruledit for translatable 
string lookup

See patch #6657

Modified:
    trunk/tools/ruledit/rulesave.c

Modified: trunk/tools/ruledit/rulesave.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/tools/ruledit/rulesave.c?rev=30963&r1=30962&r2=30963&view=diff
==============================================================================
--- trunk/tools/ruledit/rulesave.c      (original)
+++ trunk/tools/ruledit/rulesave.c      Sat Dec 12 22:15:02 2015
@@ -113,9 +113,12 @@
                                   struct name_translation *name,
                                   const char *path)
 {
-  secfile_insert_str(sfile,
-                     untranslated_name(name),
-                     "%s.name", path);
+  struct entry *mod_entry;
+
+  mod_entry = secfile_insert_str(sfile,
+                                 untranslated_name(name),
+                                 "%s.name", path);
+  entry_str_set_gt_marking(mod_entry, TRUE);
   if (strcmp(skip_intl_qualifier_prefix(untranslated_name(name)),
              rule_name(name))) {
     secfile_insert_str(sfile,


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

Reply via email to