diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-18 21:52:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-18 22:06:50 +0300 |
commit | 7272851afd9e3a8fcdb531900a8e5c43af417a4b (patch) | |
tree | 4c39553287cf3f6edc1d5ca620f3c4e780d69df6 /src/gamemodifiers.cpp | |
parent | e21479ccc48ed8383a6ab72f45c43e12e8dffa69 (diff) | |
download | plus-7272851afd9e3a8fcdb531900a8e5c43af417a4b.tar.gz plus-7272851afd9e3a8fcdb531900a8e5c43af417a4b.tar.bz2 plus-7272851afd9e3a8fcdb531900a8e5c43af417a4b.tar.xz plus-7272851afd9e3a8fcdb531900a8e5c43af417a4b.zip |
Add parameter for button name in okdialog.
Diffstat (limited to 'src/gamemodifiers.cpp')
-rw-r--r-- | src/gamemodifiers.cpp | 2 |
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()); |