wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/src reports.cpp


From: Isaac Clerencia
Subject: [Wesnoth-cvs-commits] wesnoth/src reports.cpp
Date: Thu, 16 Sep 2004 08:12:24 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Isaac Clerencia <address@hidden>        04/09/16 12:06:47

Modified files:
        src            : reports.cpp 

Log message:
        Fix "* village" i18n

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/reports.cpp.diff?tr1=1.45&tr2=1.46&r1=text&r2=text

Patches:
Index: wesnoth/src/reports.cpp
diff -u wesnoth/src/reports.cpp:1.45 wesnoth/src/reports.cpp:1.46
--- wesnoth/src/reports.cpp:1.45        Sun Aug 29 16:09:57 2004
+++ wesnoth/src/reports.cpp     Thu Sep 16 12:06:46 2004
@@ -307,19 +307,20 @@
                if(map.is_village(mouseover)) {
                        const int owner = village_owner(mouseover,teams)+1;
                        if(owner == 0) {
+                               str << _("Village");
                        } else if(owner == current_side) {
-                               str << _("Owned");
+                               str << _("Owned village");
                        } else if(current_team.is_enemy(owner)) {
-                               str << _("Enemy");
+                               str << _("Enemy village");
                        } else {
-                               str << _("Allied");
+                               str << _("Allied village");
                        }
 
                        str << " ";
+               }else{
+                       str << name;
                }
 
-               str << name;
-
                if(underlying_names.size() != 1 || 
string_table[underlying_names.front()] != name) {
                        str << " (";
                        




reply via email to

[Prev in Thread] Current Thread [Next in Thread]