From c3fdaddce478f99c5cfff09a110157dc61b13f8e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 1 Jun 2018 00:58:22 +0300 Subject: Remove caption "Message" from message related dialogs. --- src/gui/dialogsmanager.cpp | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'src/gui') diff --git a/src/gui/dialogsmanager.cpp b/src/gui/dialogsmanager.cpp index 288fadc94..5d94b901b 100644 --- a/src/gui/dialogsmanager.cpp +++ b/src/gui/dialogsmanager.cpp @@ -145,8 +145,7 @@ void DialogsManager::playerDeath() if (GroupDb::isAllowCommand(ServerCommandType::alive)) { CREATEWIDGETV(deathNotice, ConfirmDialog, - // TRANSLATORS: message header - _("Message"), + std::string(), DeadDB::getRandomString(), // TRANSLATORS: ok dialog button _("Revive"), @@ -160,8 +159,7 @@ void DialogsManager::playerDeath() else { CREATEWIDGETV(deathNotice, OkDialog, - // TRANSLATORS: message header - _("Message"), + std::string(), DeadDB::getRandomString(), // TRANSLATORS: ok dialog button _("Revive"), @@ -195,8 +193,7 @@ void DialogsManager::attributeChanged(const AttributesT id, { weightNoticeTime = cur_time + 5; CREATEWIDGETV(weightNotice, OkDialog, - // TRANSLATORS: message header - _("Message"), + std::string(), // TRANSLATORS: weight message _("You are carrying more than " "half your weight. You are " @@ -215,8 +212,7 @@ void DialogsManager::attributeChanged(const AttributesT id, { weightNoticeTime = cur_time + 5; CREATEWIDGETV(weightNotice, OkDialog, - // TRANSLATORS: message header - _("Message"), + std::string(), // TRANSLATORS: weight message _("You are carrying less than " "half your weight. You " -- cgit v1.2.3-70-g09d2