summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/chatwindow.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp
index 44024b7f1..d6bca3781 100644
--- a/src/gui/windows/chatwindow.cpp
+++ b/src/gui/windows/chatwindow.cpp
@@ -1577,9 +1577,14 @@ void ChatWindow::localPetSay(const std::string &nick, const std::string &text)
if (!localChatTab)
return;
if (pet)
+ {
+ // TRANSLATORS: owners pet name. For example: 4144's pet
localChatTab->chatLog(strprintf(_("%s's pet"), nick.c_str()), text);
+ }
else
+ {
localChatTab->chatLog(nick, text);
+ }
}
void ChatWindow::initTradeFilter()