Author: uso
Date: Tue Aug 21 03:22:14 2007
New Revision: 19700
URL: http://svn.gna.org/viewcvs/wesnoth?rev=19700&view=rev
Log:
forgot to make some strings translatable, added a translation prefix to the
header fields so that translators can use 2 lines to keep the columns strait
Modified:
trunk/src/menu_events.cpp
Modified: trunk/src/menu_events.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/menu_events.cpp?rev=19700&r1=19699&r2=19700&view=diff
==============================================================================
--- trunk/src/menu_events.cpp (original)
+++ trunk/src/menu_events.cpp Tue Aug 21 03:22:14 2007
@@ -537,14 +537,14 @@
void menu_handler::game_settings_table()
{
std::stringstream heading;
- heading << HEADING_PREFIX << _("Leader") << COLUMN_SEPARATOR
+ heading << HEADING_PREFIX << _("game settings^Leader") <<
COLUMN_SEPARATOR
<< COLUMN_SEPARATOR
- << _("Side") << COLUMN_SEPARATOR
- << _("Start\nGold") << COLUMN_SEPARATOR
- << _("Base\nIncome") << COLUMN_SEPARATOR
- << _("Gold Per\nVillage") << COLUMN_SEPARATOR
- << _("Fog") << COLUMN_SEPARATOR
- << _("Shroud");
+ << _("game settings^Side") <<
COLUMN_SEPARATOR
+ << _("game settings^Start\nGold") <<
COLUMN_SEPARATOR
+ << _("game settings^Base\nIncome") <<
COLUMN_SEPARATOR
+ << _("game settings^Gold Per\nVillage") <<
COLUMN_SEPARATOR
+ << _("game settings^Fog") <<
COLUMN_SEPARATOR
+ << _("game settings^Shroud");
gui::menu::basic_sorter sorter;
sorter.set_redirect_sort(0,1).set_alpha_sort(1).set_numeric_sort(2)
@@ -584,8 +584,8 @@
<< teams_[n].start_gold() << COLUMN_SEPARATOR
<< teams_[n].base_income() << COLUMN_SEPARATOR
<< teams_[n].village_gold() << COLUMN_SEPARATOR
- << (teams_[n].uses_fog() ? "yes" : "no") <<
COLUMN_SEPARATOR
- << (teams_[n].uses_shroud() ? "yes" : "no") <<
COLUMN_SEPARATOR;
+ << (teams_[n].uses_fog() ? _("yes") : _("no"))
<< COLUMN_SEPARATOR
+ << (teams_[n].uses_shroud() ? _("yes") : _("no"))
<< COLUMN_SEPARATOR;
items.push_back(str.str());
}
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits