[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src playlevel.cpp
From: |
Guillaume Melquiond |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src playlevel.cpp |
Date: |
Tue, 31 May 2005 12:39:04 -0400 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Guillaume Melquiond <address@hidden> 05/05/31 16:39:03
Modified files:
src : playlevel.cpp
Log message:
Fix corrupted translations due to the xgettext comment gone too far
away from the translatable string. The value '125' is also wrong, it should
simply be '100' since the gold was already scaled. And even '100' is wrong
since it is a settable WML field. And as such the string was wrong too, so
remove everything. As a consequence, the old problem is still not fixed, but
translators can at least do their work now.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/playlevel.cpp.diff?tr1=1.206&tr2=1.207&r1=text&r2=text
Patches:
Index: wesnoth/src/playlevel.cpp
diff -u wesnoth/src/playlevel.cpp:1.206 wesnoth/src/playlevel.cpp:1.207
--- wesnoth/src/playlevel.cpp:1.206 Thu May 12 20:42:16 2005
+++ wesnoth/src/playlevel.cpp Tue May 31 16:39:02 2005
@@ -1,4 +1,4 @@
-/* $Id: playlevel.cpp,v 1.206 2005/05/12 20:42:16 ott Exp $ */
+/* $Id: playlevel.cpp,v 1.207 2005/05/31 16:39:02 silene Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -851,13 +851,8 @@
}
// xgettext:no-c-format
- // 125 == 100 / 80%
- if (player->gold >= 125) {
- report << "\n" << _("80% of
gold is retained for the next scenario") << "\n"
- << _("Retained Gold: ")
<< player->gold;
- } else {
- report << "\n" << _("100 gold
will be available for the next scenario") << "\n" << _("Retained Gold: ") <<
player->gold;
- }
+ report << '\n' << _("80% of gold is
retained for the next scenario") << '\n'
+ << _("Retained Gold: ") <<
player->gold;
}
}