summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-06-01 00:58:22 +0300
committerAndrei Karas <akaras@inbox.ru>2018-06-01 00:58:22 +0300
commitc3fdaddce478f99c5cfff09a110157dc61b13f8e (patch)
tree8216df670a7cae8f5061336740e0cc18f54f216e /src/gui
parent3f632c818b2041b36b6e5209e2ca6bfb2c6f4479 (diff)
downloadplus-c3fdaddce478f99c5cfff09a110157dc61b13f8e.tar.gz
plus-c3fdaddce478f99c5cfff09a110157dc61b13f8e.tar.bz2
plus-c3fdaddce478f99c5cfff09a110157dc61b13f8e.tar.xz
plus-c3fdaddce478f99c5cfff09a110157dc61b13f8e.zip
Remove caption "Message" from message related dialogs.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/dialogsmanager.cpp12
1 files changed, 4 insertions, 8 deletions
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 "