From 7272851afd9e3a8fcdb531900a8e5c43af417a4b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 18 Aug 2014 21:52:57 +0300 Subject: Add parameter for button name in okdialog. --- src/gamemodifiers.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gamemodifiers.cpp') 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()); -- cgit v1.2.3-60-g2f50