diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-10 18:26:33 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-10 18:27:42 +0200 |
commit | 36ecab72a0fae5aa5b512e73a3de1dfe278410cf (patch) | |
tree | f202ed38a8f701b68e5a593de7dc2eaa6c1c14b8 /src | |
parent | a76ce742cdf160909bfd72747e07adff687f0045 (diff) | |
download | mana-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')
-rw-r--r-- | src/gui/chat.cpp | 5 | ||||
-rw-r--r-- | src/gui/npcdialog.cpp | 4 |
2 files changed, 5 insertions, 4 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); } } diff --git a/src/gui/npcdialog.cpp b/src/gui/npcdialog.cpp index 43fa6376..bb53ceb1 100644 --- a/src/gui/npcdialog.cpp +++ b/src/gui/npcdialog.cpp @@ -92,8 +92,8 @@ NpcDialog::NpcDialog() mButton = new Button("", "ok", this); //Setup more and less buttons (int input) - mPlusButton = new Button(_("+"), "plus", this); - mMinusButton = new Button(_("-"), "minus", this); + mPlusButton = new Button("+", "plus", this); + mMinusButton = new Button("-", "minus", this); int width = std::max(mButton->getFont()->getWidth(CAPTION_WAITING), mButton->getFont()->getWidth(CAPTION_NEXT)); |