CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Guillaume Melquiond <[EMAIL PROTECTED]> 04/10/19 06:11:21
Modified files:
src : language.cpp
Log message:
Make it so that everybody suffers a painful death when a word is
untranstABLE (emphasize on the 'able'). Non-english players should only suffer
when a term is untranslatED. Hopefully it will be an incentive to fix the
code/data.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/language.cpp.diff?tr1=1.53&tr2=1.54&r1=text&r2=text
Patches:
Index: wesnoth/src/language.cpp
diff -u wesnoth/src/language.cpp:1.53 wesnoth/src/language.cpp:1.54
--- wesnoth/src/language.cpp:1.53 Thu Oct 7 01:47:33 2004
+++ wesnoth/src/language.cpp Tue Oct 19 06:11:21 2004
@@ -1,4 +1,4 @@
-/* $Id: language.cpp,v 1.53 2004/10/07 01:47:33 Sirp Exp $ */
+/* $Id: language.cpp,v 1.54 2004/10/19 06:11:21 silene Exp $ */
/*
Copyright (C) 2003 by David White <[EMAIL PROTECTED]>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -77,6 +77,11 @@
return i->second;
} else {
static std::string empty_string;
+ // Let's do it the painful way (untlb means untranslatABLE).
+ // It will cause problem if somebody stores more than one
reference at once
+ // but I don't really care since this path is an error path and
it should
+ // not have been taken in the first place. -- silene
+ empty_string = "UNTLB " + key;
return empty_string;
}
}