summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-02 01:46:35 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-02 01:46:35 +0300
commitdc3ac6c1ecee301bedf4baed655b5ead6ec1c570 (patch)
tree276971df3d79bb6d55092c860d748d38da97a042 /src/gui/popups
parent2977b025e2ac7b914eb8856c6554058fa02e77af (diff)
downloadmanaplus-dc3ac6c1ecee301bedf4baed655b5ead6ec1c570.tar.gz
manaplus-dc3ac6c1ecee301bedf4baed655b5ead6ec1c570.tar.bz2
manaplus-dc3ac6c1ecee301bedf4baed655b5ead6ec1c570.tar.xz
manaplus-dc3ac6c1ecee301bedf4baed655b5ead6ec1c570.zip
Add "add to chat" into menu in show items window.
Diffstat (limited to 'src/gui/popups')
-rw-r--r--src/gui/popups/popupmenu.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index c6ed85423..98c8d26cd 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -2185,6 +2185,9 @@ void PopupMenu::showUndressPopup(const int x, const int y,
// TRANSLATORS: popup menu item
// TRANSLATORS: undress item from player
mBrowserBox->addRow("undress item", _("Undress"));
+ // TRANSLATORS: popup menu item
+ // TRANSLATORS: add item name to chat
+ mBrowserBox->addRow("/addchat 'ITEMID''CARDS'", _("Add to chat"));
addGmCommands();
mBrowserBox->addRow("##3---");
// TRANSLATORS: popup menu item