Author: esr
Date: Tue Sep  2 21:55:10 2008
New Revision: 29215

URL: http://svn.gna.org/viewcvs/wesnoth?rev=29215&view=rev
Log:
Make some messages a bit clearer.

Modified:
    trunk/src/unit.cpp

Modified: trunk/src/unit.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/unit.cpp?rev=29215&r1=29214&r2=29215&view=diff
==============================================================================
--- trunk/src/unit.cpp (original)
+++ trunk/src/unit.cpp Tue Sep  2 21:55:10 2008
@@ -612,7 +612,7 @@
        const unit_type_data::unit_type_map::const_iterator type = 
unit_type_data::types().find(type_id());
        // Calculate the unit's traits
        if (type == unit_type_data::types().end()) {
-               std::string error_message = _("Unknown unit type '$type|'");
+               std::string error_message = _("Unknown unit type '$type|' while 
generating traits");
                utils::string_map symbols;
                symbols["type"] = type_id();
                error_message = 
utils::interpolate_variables_into_string(error_message, &symbols);


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to