diff options
-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)); |