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

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

[Wesnoth-cvs-commits] wesnoth/src multiplayer_client.cpp playturn.cpp


From: Yann Dirson
Subject: [Wesnoth-cvs-commits] wesnoth/src multiplayer_client.cpp playturn.cpp
Date: Thu, 25 Nov 2004 18:16:17 -0500

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Yann Dirson <address@hidden>    04/11/25 23:10:08

Modified files:
        src            : multiplayer_client.cpp playturn.cpp 

Log message:
        do not forget to call sgettext on unit^Gold

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/multiplayer_client.cpp.diff?tr1=1.78&tr2=1.79&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/playturn.cpp.diff?tr1=1.298&tr2=1.299&r1=text&r2=text

Patches:
Index: wesnoth/src/multiplayer_client.cpp
diff -u wesnoth/src/multiplayer_client.cpp:1.78 
wesnoth/src/multiplayer_client.cpp:1.79
--- wesnoth/src/multiplayer_client.cpp:1.78     Thu Nov 25 00:34:04 2004
+++ wesnoth/src/multiplayer_client.cpp  Thu Nov 25 23:10:08 2004
@@ -123,7 +123,7 @@
                        str << description << "," << side_name << ",";
                        if(!leader_name.empty())
                                str << "(" << leader_name << ")";
-                       str << "," << sd["gold"] << " " << _("unit^Gold") << 
"," << sd["team_name"];
+                       str << "," << sd["gold"] << " " << 
sgettext("unit^Gold") << "," << sd["team_name"];
                        details.push_back(str.str());
                }
 
Index: wesnoth/src/playturn.cpp
diff -u wesnoth/src/playturn.cpp:1.298 wesnoth/src/playturn.cpp:1.299
--- wesnoth/src/playturn.cpp:1.298      Thu Nov 25 19:43:39 2004
+++ wesnoth/src/playturn.cpp    Thu Nov 25 23:10:08 2004
@@ -1,4 +1,4 @@
-/* $Id: playturn.cpp,v 1.298 2004/11/25 19:43:39 ydirson Exp $ */
+/* $Id: playturn.cpp,v 1.299 2004/11/25 23:10:08 ydirson Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -1616,7 +1616,7 @@
                std::stringstream description;
 
                description << font::IMAGE << type.image() << "," << 
font::LARGE_TEXT << prefix << type.language_name() << "\n"
-                           << prefix << type.cost() << " " << _("unit^Gold");
+                           << prefix << type.cost() << " " << 
sgettext("unit^Gold");
                items.push_back(description.str());
                sample_units.push_back(unit(&type,team_num_));
        }




reply via email to

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