From 31635d2ae858ac5e156087ff70bcada0aaf744c0 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Thu, 19 Mar 2015 16:32:59 +0100 Subject: [PATCH] Remove "talking to" prefix from private chats MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Additionally, use the same name for “private chat“ in all menus (we had “personal talk” and “direct chat“ before) --- cockatrice/src/tab_message.cpp | 4 ++-- cockatrice/src/user_context_menu.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cockatrice/src/tab_message.cpp b/cockatrice/src/tab_message.cpp index 72779d99..3048114d 100644 --- a/cockatrice/src/tab_message.cpp +++ b/cockatrice/src/tab_message.cpp @@ -51,7 +51,7 @@ void TabMessage::addMentionTag(QString mentionTag) { void TabMessage::retranslateUi() { - messageMenu->setTitle(tr("Personal &talk")); + messageMenu->setTitle(tr("Private &chat")); aLeave->setText(tr("&Leave")); } @@ -68,7 +68,7 @@ QString TabMessage::getUserName() const QString TabMessage::getTabText() const { - return tr("Talking to %1").arg(QString::fromStdString(otherUserInfo->name())); + return tr("%1 - Private chat").arg(QString::fromStdString(otherUserInfo->name())); } void TabMessage::closeRequest() diff --git a/cockatrice/src/user_context_menu.cpp b/cockatrice/src/user_context_menu.cpp index adc1efd8..ad3372d1 100644 --- a/cockatrice/src/user_context_menu.cpp +++ b/cockatrice/src/user_context_menu.cpp @@ -38,7 +38,7 @@ UserContextMenu::UserContextMenu(const TabSupervisor *_tabSupervisor, QWidget *p void UserContextMenu::retranslateUi() { aDetails->setText(tr("User &details")); - aChat->setText(tr("Direct &chat")); + aChat->setText(tr("Private &chat")); aShowGames->setText(tr("Show this user's &games")); aAddToBuddyList->setText(tr("Add to &buddy list")); aRemoveFromBuddyList->setText(tr("Remove from &buddy list"));