diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-18 22:16:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-18 22:16:53 +0300 |
commit | baa7e75fe372e156704f08ae98368cc6408447ff (patch) | |
tree | 34a665a98c651846552c2425868353235f66f80b | |
parent | 3b6cd1dfe7fda6f1ddec6f5dc81e4c40b3559d20 (diff) | |
download | manaverse-baa7e75fe372e156704f08ae98368cc6408447ff.tar.gz manaverse-baa7e75fe372e156704f08ae98368cc6408447ff.tar.bz2 manaverse-baa7e75fe372e156704f08ae98368cc6408447ff.tar.xz manaverse-baa7e75fe372e156704f08ae98368cc6408447ff.zip |
Rename buttons in error dialogs from OK to Close.
-rw-r--r-- | src/client.cpp | 4 | ||||
-rw-r--r-- | src/gui/dialogsmanager.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/client.cpp b/src/client.cpp index 23595b3f8..b23cd1883 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1384,7 +1384,7 @@ int Client::gameExec() // TRANSLATORS: error dialog header mCurrentDialog = new OkDialog(_("Error"), errorMessage, // TRANSLATORS: ok dialog button - _("OK"), + _("Close"), DialogType::ERROR, true, true, nullptr, 260); mCurrentDialog->addActionListener(&loginListener); @@ -1398,7 +1398,7 @@ int Client::gameExec() // TRANSLATORS: error dialog header mCurrentDialog = new OkDialog(_("Error"), errorMessage, // TRANSLATORS: ok dialog button - _("OK"), + _("Close"), DialogType::ERROR, true, true, nullptr, 260); mCurrentDialog->addActionListener(&accountListener); diff --git a/src/gui/dialogsmanager.cpp b/src/gui/dialogsmanager.cpp index f11c7d9a1..a318049c2 100644 --- a/src/gui/dialogsmanager.cpp +++ b/src/gui/dialogsmanager.cpp @@ -75,7 +75,7 @@ Window *DialogsManager::openErrorDialog(const std::string &header, { return new OkDialog(header, message, // TRANSLATORS: ok dialog button - _("OK"), + _("Close"), DialogType::ERROR, modal, true, nullptr, 260); } |