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 Oct 2004 12:49:31 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Guillaume Melquiond <address@hidden>    04/10/23 16:44:25

Modified files:
        src            : unit.cpp 

Log message:
        Correctly translate weapon name in traits descriptions

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

Patches:
Index: wesnoth/src/unit.cpp
diff -u wesnoth/src/unit.cpp:1.100 wesnoth/src/unit.cpp:1.101
--- wesnoth/src/unit.cpp:1.100  Sat Oct 23 12:51:22 2004
+++ wesnoth/src/unit.cpp        Sat Oct 23 16:44:24 2004
@@ -1,4 +1,4 @@
-/* $Id: unit.cpp,v 1.100 2004/10/23 12:51:22 silene Exp $ */
+/* $Id: unit.cpp,v 1.101 2004/10/23 16:44:24 silene Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -1013,7 +1013,7 @@
                                                description << "; ";
                                        }
                                        
-                                       description << string_table[a->name()] 
<< " " << desc;
+                                       description << 
gettext(a->name().c_str()) << " " << desc;
                                }
                        }
                } else if(apply_to == "hitpoints") {




reply via email to

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