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

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

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


From: Guillaume Melquiond
Subject: [Wesnoth-cvs-commits] wesnoth/src help.cpp
Date: Tue, 19 Oct 2004 17:17:03 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Guillaume Melquiond <address@hidden>    04/10/19 21:09:48

Modified files:
        src            : help.cpp 

Log message:
        Remove references to weapon_special_*.

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

Patches:
Index: wesnoth/src/help.cpp
diff -u wesnoth/src/help.cpp:1.38 wesnoth/src/help.cpp:1.39
--- wesnoth/src/help.cpp:1.38   Tue Oct 19 20:49:09 2004
+++ wesnoth/src/help.cpp        Tue Oct 19 21:09:48 2004
@@ -470,10 +470,7 @@
                                const std::string special = (*it).special();
                                if (special != "") {
                                        if (checked_specials.find(special) == 
checked_specials.end()) {
-                                               std::string lang_special = 
string_table["weapon_special_" + special];
-                                               if (lang_special == "") {
-                                                       lang_special = special;
-                                               }
+                                               std::string lang_special = 
gettext(special.c_str());
                                                lang_special = 
cap(lang_special);
                                                std::string description
                                                        = 
string_table["weapon_special_" + special + "_description"];




reply via email to

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