summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-03 12:35:33 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-03 12:51:43 +0300
commit9510979d65738fb03b2c48425fa59984c2a4b938 (patch)
treed546c5e932da966d4bddcebb5ae9a0f6f4820881 /src/game.cpp
parenta7c723b681ddefdcaa84cb9b16681c65818d7110 (diff)
downloadmanaverse-9510979d65738fb03b2c48425fa59984c2a4b938.tar.gz
manaverse-9510979d65738fb03b2c48425fa59984c2a4b938.tar.bz2
manaverse-9510979d65738fb03b2c48425fa59984c2a4b938.tar.xz
manaverse-9510979d65738fb03b2c48425fa59984c2a4b938.zip
add comments for translators.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 016e4dded..f90814ccd 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -252,6 +252,7 @@ static void createGuiWindows()
if (serverVersion >= 6)
questsWindow = new QuestsWindow;
+ // TRANSLATORS: chat tab header
localChatTab = new ChatTab(chatWindow, _("General"), GENERAL_CHANNEL);
localChatTab->setAllowHighlight(false);
if (config.getBoolValue("showChatHistory"))
@@ -267,6 +268,7 @@ static void createGuiWindows()
}
}
+ // TRANSLATORS: chat tab header
debugChatTab = new ChatTab(chatWindow, _("Debug"), "");
debugChatTab->setAllowHighlight(false);
@@ -532,6 +534,7 @@ bool Game::saveScreenshot(SDL_Surface *const screenshot)
if (success)
{
std::stringstream chatlogentry;
+ // TRANSLATORS: save file message
chatlogentry << strprintf(_("Screenshot saved as %s"),
filenameSuffix.str().c_str());
if (localChatTab)
@@ -541,6 +544,7 @@ bool Game::saveScreenshot(SDL_Surface *const screenshot)
{
if (localChatTab)
{
+ // TRANSLATORS: save file message
localChatTab->chatLog(_("Saving screenshot failed!"),
BY_SERVER);
}
@@ -612,7 +616,9 @@ void Game::slowLogic()
{
if (!disconnectedDialog)
{
+ // TRANSLATORS: error message text
errorMessage = _("The connection to the server was lost.");
+ // TRANSLATORS: error message header
disconnectedDialog = new OkDialog(_("Network Error"),
errorMessage, DIALOG_ERROR, false);
disconnectedDialog->addActionListener(&errorListener);