Author: ilor
Date: Mon Aug 11 18:49:46 2008
New Revision: 28465
URL: http://svn.gna.org/viewcvs/wesnoth?rev=28465&view=rev
Log:
editor2: more gettext strings
Modified:
trunk/src/editor2/editor_controller.cpp
trunk/src/editor2/mouse_action.cpp
Modified: trunk/src/editor2/editor_controller.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/editor_controller.cpp?rev=28465&r1=28464&r2=28465&view=diff
==============================================================================
--- trunk/src/editor2/editor_controller.cpp (original)
+++ trunk/src/editor2/editor_controller.cpp Mon Aug 11 18:49:46 2008
@@ -349,14 +349,14 @@
//TODO when this fails see if it's a scenario with a mapdata=
key and give
//the user an option of loading that map instead of just failing
} catch (gamemap::incorrect_format_exception& e) {
- std::string message = "There was an error while loading the
map: \n";
- message += e.msg_;
- gui::message_dialog(gui(), "Error loading map (format)",
message).show();
+ std::string message = _("There was an error while loading the
map:");
+ message += "\n" + e.msg_;
+ gui::message_dialog(gui(), _("Error loading map (format)"),
message).show();
return;
} catch (twml_exception& e) {
- std::string message = "There was an error while loading the
map: \n";
- message += e.user_message;
- gui::message_dialog(gui(), "Error loading map (wml)",
message).show();
+ std::string message = _("There was an error while loading the
map:");
+ message += "\n" + e.user_message;
+ gui::message_dialog(gui(), _("Error loading map (wml)"),
message).show();
return;
}
}
Modified: trunk/src/editor2/mouse_action.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/mouse_action.cpp?rev=28465&r1=28464&r2=28465&view=diff
==============================================================================
--- trunk/src/editor2/mouse_action.cpp (original)
+++ trunk/src/editor2/mouse_action.cpp Mon Aug 11 18:49:46 2008
@@ -150,7 +150,7 @@
gamemap::location hex = disp.hex_clicked_on(x, y);
int player_starting_at_hex = disp.map().is_starting_position(hex) + 1;
std::vector<std::string> players;
- players.push_back("None");
+ players.push_back(_"(Player)^None");
for (int i = 1; i <= gamemap::MAX_PLAYERS; i++) {
std::stringstream str;
str << _("Player") << " " << i;
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits