From 71fd4e8d3255e15c16a4f4b51c87222c661a5b33 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 5 May 2015 18:29:07 +0300 Subject: Add strong typed bool type for modal bool flag. --- src/gui/windows/shopwindow.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/gui/windows/shopwindow.cpp') diff --git a/src/gui/windows/shopwindow.cpp b/src/gui/windows/shopwindow.cpp index 4afe10845..529b8131e 100644 --- a/src/gui/windows/shopwindow.cpp +++ b/src/gui/windows/shopwindow.cpp @@ -98,7 +98,7 @@ ShopWindow::DialogList ShopWindow::instances; ShopWindow::ShopWindow() : // TRANSLATORS: shop window name - Window(_("Personal Shop"), false, nullptr, "shop.xml"), + Window(_("Personal Shop"), Modal_false, nullptr, "shop.xml"), #ifdef EATHENA_SUPPORT VendingModeListener(), VendingSlotsListener(), @@ -952,9 +952,12 @@ void ShopWindow::processRequest(const std::string &nick, std::string data, { ConfirmDialog *const confirmDlg = new ConfirmDialog // TRANSLATORS: shop window dialog - (_("Request for Trade"), strprintf(_("%s wants to %s %s do you " - "accept?"), nick.c_str(), msg.c_str(), - mTradeItem->getInfo().getName().c_str()), SOUND_REQUEST, true); + (_("Request for Trade"), + strprintf(_("%s wants to %s %s do you accept?"), + nick.c_str(), msg.c_str(), + mTradeItem->getInfo().getName().c_str()), + SOUND_REQUEST, + true); confirmDlg->postInit(); confirmDlg->addActionListener(this); } -- cgit v1.2.3-70-g09d2