summaryrefslogtreecommitdiff
path: root/src/gamemodifiers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gamemodifiers.cpp')
-rw-r--r--src/gamemodifiers.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gamemodifiers.cpp b/src/gamemodifiers.cpp
index 0c2427ac6..b0e4f668e 100644
--- a/src/gamemodifiers.cpp
+++ b/src/gamemodifiers.cpp
@@ -418,6 +418,8 @@ void GameModifiers::changeAwayMode()
// TRANSLATORS: away message box header
OkDialog *const dialog = new OkDialog(_("Away"),
config.getStringValue("afkMessage"),
+ // TRANSLATORS: ok dialog button
+ _("OK"),
DialogType::SILENCE, true, false, nullptr, 260);
localPlayer->setAwayDialog(dialog);
dialog->addActionListener(localPlayer->getAwayListener());