CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Guillaume Melquiond <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
    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