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

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

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


From: Guillaume Melquiond
Subject: [Wesnoth-cvs-commits] wesnoth/src unit.cpp
Date: Sat, 23 Apr 2005 18:14:53 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Guillaume Melquiond <address@hidden>    05/04/23 22:14:53

Modified files:
        src            : unit.cpp 

Log message:
        Fix punctuation in trait tooltip.

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

Patches:
Index: wesnoth/src/unit.cpp
diff -u wesnoth/src/unit.cpp:1.144 wesnoth/src/unit.cpp:1.145
--- wesnoth/src/unit.cpp:1.144  Sat Apr 23 21:55:38 2005
+++ wesnoth/src/unit.cpp        Sat Apr 23 22:14:52 2005
@@ -1,4 +1,4 @@
-/* $Id: unit.cpp,v 1.144 2005/04/23 21:55:38 silene Exp $ */
+/* $Id: unit.cpp,v 1.145 2005/04/23 22:14:52 silene Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -1027,7 +1027,7 @@
                                        if(first_attack) {
                                                first_attack = false;
                                        } else {
-                                               description += "; ";
+                                               description += t_string(N_("; 
"), "wesnoth");
                                        }
                                        
                                        description += t_string(a->name(), 
"wesnoth") + " " + desc;
@@ -1144,11 +1144,10 @@
 
        // Punctuation should be translatable: not all languages use latin 
punctuation.
        // (however, there maybe is a better way to do it)
-       description += mod["name"] + t_string(N_(": "), "wesnoth");
-       if(!mod["description"].empty()) {
-               description += mod["description"];
-               description += " ";
-       }
+       description += mod["name"];
+       if (!mod["description"].empty())
+               description += t_string(N_(": "), "wesnoth") + 
mod["description"];
+       description += " ";
 
        if(effects_description.empty() == false) {
                description += t_string(N_("("), "wesnoth");




reply via email to

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