summaryrefslogtreecommitdiff
path: root/src/gui/chat.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-10 18:26:33 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-10 18:27:42 +0200
commit36ecab72a0fae5aa5b512e73a3de1dfe278410cf (patch)
treef202ed38a8f701b68e5a593de7dc2eaa6c1c14b8 /src/gui/chat.cpp
parenta76ce742cdf160909bfd72747e07adff687f0045 (diff)
downloadmana-36ecab72a0fae5aa5b512e73a3de1dfe278410cf.tar.gz
mana-36ecab72a0fae5aa5b512e73a3de1dfe278410cf.tar.bz2
mana-36ecab72a0fae5aa5b512e73a3de1dfe278410cf.tar.xz
mana-36ecab72a0fae5aa5b512e73a3de1dfe278410cf.zip
Marked some strings as not translatable
NPC dialog requested translation of + and - and the chat dialog tried to translate a semicolon.
Diffstat (limited to 'src/gui/chat.cpp')
-rw-r--r--src/gui/chat.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp
index 11a327d8..027297a2 100644
--- a/src/gui/chat.cpp
+++ b/src/gui/chat.cpp
@@ -330,6 +330,7 @@ void ChatWindow::doPresent()
}
std::string cpc = strprintf(_("%d players are present."), playercount);
+ std::string log = _("Present: ") + response + std::string("; ") + cpc;
if (mRecorder->isRecording())
{
@@ -345,13 +346,13 @@ void ChatWindow::doPresent()
<< (int) ((t / 60) % 60)
<< "] ";
- mRecorder->record(timeStr.str() + _("Present: ") + response + _("; ") + cpc);
+ mRecorder->record(timeStr.str() + log);
getFocused()->chatLog(_("Attendance written to record log."),
BY_SERVER, true);
}
else
{
- getFocused()->chatLog(_("Present: ") + response + _("; ") + cpc, BY_SERVER);
+ getFocused()->chatLog(log, BY_SERVER);
}
}