From e742a7eb30d49506f37eb60f56c4f907d27f3989 Mon Sep 17 00:00:00 2001 From: "Ignacio R. Morelle" Date: Sun, 7 Nov 2010 21:26:08 +0000 Subject: [PATCH] Mark strings introduced during a string freeze as translatable (OOS status dialog) --- src/play_controller.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/play_controller.cpp b/src/play_controller.cpp index 1acc993e0c4..a0bfa1eaa08 100644 --- a/src/play_controller.cpp +++ b/src/play_controller.cpp @@ -1304,10 +1304,9 @@ void play_controller::process_oos(const std::string& msg) const { if (game_config::ignore_replay_errors) return; - /** @todo FIXME: activate translation support after string freeze */ std::stringstream message; - message << "The game is out of sync. It might not make much sense to continue. Do you want to save your game?"; - message << "\n\nError details:\n\n" << msg; + message << _("The game is out of sync. It might not make much sense to continue. Do you want to save your game?"); + message << "\n\n" << _("Error details:") << "\n\n" << msg; savegame::oos_savegame save(to_config()); save.save_game_interactive(resources::screen->video(), message.str(), gui::YES_NO); // can throw end_level_exception