diff options
Diffstat (limited to 'Swift/QtUI/ChatList')
-rw-r--r-- | Swift/QtUI/ChatList/ChatListModel.cpp | 2 | ||||
-rw-r--r-- | Swift/QtUI/ChatList/QtChatListWindow.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Swift/QtUI/ChatList/ChatListModel.cpp b/Swift/QtUI/ChatList/ChatListModel.cpp index 39b6a3c..ba7b766 100644 --- a/Swift/QtUI/ChatList/ChatListModel.cpp +++ b/Swift/QtUI/ChatList/ChatListModel.cpp @@ -12,7 +12,7 @@ namespace Swift { ChatListModel::ChatListModel() { root_ = new ChatListGroupItem("", NULL); - mucBookmarks_ = new ChatListGroupItem("Bookmarked Rooms", root_); + mucBookmarks_ = new ChatListGroupItem(tr("Bookmarked Rooms"), root_); root_->addItem(mucBookmarks_); } diff --git a/Swift/QtUI/ChatList/QtChatListWindow.cpp b/Swift/QtUI/ChatList/QtChatListWindow.cpp index 48ccf7f..b532cdb 100644 --- a/Swift/QtUI/ChatList/QtChatListWindow.cpp +++ b/Swift/QtUI/ChatList/QtChatListWindow.cpp @@ -59,11 +59,11 @@ void QtChatListWindow::handleClicked(const QModelIndex& index) { void QtChatListWindow::setupContextMenus() { mucMenu_ = new QMenu(); - mucMenu_->addAction("Add New Bookmark", this, SLOT(handleAddBookmark())); - mucMenu_->addAction("Edit Bookmark", this, SLOT(handleEditBookmark())); - mucMenu_->addAction("Remove Bookmark", this, SLOT(handleRemoveBookmark())); + mucMenu_->addAction(tr("Add New Bookmark"), this, SLOT(handleAddBookmark())); + mucMenu_->addAction(tr("Edit Bookmark"), this, SLOT(handleEditBookmark())); + mucMenu_->addAction(tr("Remove Bookmark"), this, SLOT(handleRemoveBookmark())); emptyMenu_ = new QMenu(); - emptyMenu_->addAction("Add New Bookmark", this, SLOT(handleAddBookmark())); + emptyMenu_->addAction(tr("Add New Bookmark"), this, SLOT(handleAddBookmark())); } |