From baa7e75fe372e156704f08ae98368cc6408447ff Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 18 Aug 2014 22:16:53 +0300 Subject: Rename buttons in error dialogs from OK to Close. --- src/client.cpp | 4 ++-- 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); } -- cgit v1.2.3-70-g09d2