summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client.cpp4
-rw-r--r--src/gui/dialogsmanager.cpp2
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);
}