[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src reports.cpp
From: |
Cedric Duval |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src reports.cpp |
Date: |
Wed, 03 Nov 2004 19:14:10 -0500 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Cedric Duval <address@hidden> 04/11/04 00:08:08
Modified files:
src : reports.cpp
Log message:
Fixed schedules not being translatable.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/reports.cpp.diff?tr1=1.50&tr2=1.51&r1=text&r2=text
Patches:
Index: wesnoth/src/reports.cpp
diff -u wesnoth/src/reports.cpp:1.50 wesnoth/src/reports.cpp:1.51
--- wesnoth/src/reports.cpp:1.50 Sat Oct 23 16:43:41 2004
+++ wesnoth/src/reports.cpp Thu Nov 4 00:08:08 2004
@@ -250,7 +250,7 @@
const time_of_day& tod = timeofday_at(status,units,mouseover);
std::stringstream tooltip;
- tooltip << tod.name << "\n"
+ tooltip << gettext(tod.name.c_str()) << "\n"
<< _("Lawful units") << ": "
<< (tod.lawful_bonus > 0 ? "+" : "") <<
tod.lawful_bonus << "%\n"
<< _("Neutral units") << ": " << "0%\n"
- [Wesnoth-cvs-commits] wesnoth/src reports.cpp,
Cedric Duval <=