CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Isaac Clerencia <[EMAIL PROTECTED]> 04/09/16 12:31:53
Modified files:
src : playturn.cpp
Log message:
Make "no money for recall" string better translatable
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/playturn.cpp.diff?tr1=1.264&tr2=1.265&r1=text&r2=text
Patches:
Index: wesnoth/src/playturn.cpp
diff -u wesnoth/src/playturn.cpp:1.264 wesnoth/src/playturn.cpp:1.265
--- wesnoth/src/playturn.cpp:1.264 Mon Sep 13 03:16:19 2004
+++ wesnoth/src/playturn.cpp Thu Sep 16 12:31:53 2004
@@ -1,4 +1,4 @@
-/* $Id: playturn.cpp,v 1.264 2004/09/13 03:16:19 Sirp Exp $ */
+/* $Id: playturn.cpp,v 1.265 2004/09/16 12:31:53 isaaccp Exp $ */
/*
Copyright (C) 2003 by David White <[EMAIL PROTECTED]>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -1771,9 +1771,9 @@
(You must have veteran survivors from a previous scenario)"));
} else if(current_team.gold() < game_config::recall_cost) {
std::stringstream msg;
- msg << _("You must have at least")
- << " " << game_config::recall_cost << " "
- << _("gold pieces to recall a unit");
+ string_map i18n_symbols;
+ i18n_symbols["cost"] =
lexical_cast<std::string>(game_config::recall_cost);
+ msg << vgettext("You must have at least $cost gold pieces to
recall a unit", i18n_symbols);
gui::show_dialog(gui_,NULL,"",msg.str());
} else {
std::vector<std::string> options;