From bb06d164bd7849192103855678f9f39182916d10 Mon Sep 17 00:00:00 2001 From: senator Date: Mon, 17 Jan 2011 12:54:19 +0000 Subject: Added tr tags to toolbar actions --- client/mainwindow.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/mainwindow.cc b/client/mainwindow.cc index 3f12a5c..e0e731a 100644 --- a/client/mainwindow.cc +++ b/client/mainwindow.cc @@ -84,10 +84,10 @@ MainWindow::MainWindow(QString cpr, QString templ, QString host, QToolBar *toolbar = addToolBar("controls"); toolbar->setToolButtonStyle(Qt::ToolButtonTextUnderIcon); - QAction *close_commit = toolbar->addAction("Close and commit"); + QAction *close_commit = toolbar->addAction(tr("Close and commit")); close_commit->setIcon(QPixmap(":icons/icon_close_commit.png")); - QAction *close_no_commit = toolbar->addAction("Close no commit"); + QAction *close_no_commit = toolbar->addAction(tr("Close no commit")); close_no_commit->setIcon(QPixmap(":icons/icon_close_no_commit.png")); /* QAction *close_discard = toolbar->addAction("Close discard"); @@ -96,7 +96,7 @@ MainWindow::MainWindow(QString cpr, QString templ, QString host, */ toolbar->addSeparator(); - QAction *show_sessions = toolbar->addAction("Show sessions"); + QAction *show_sessions = toolbar->addAction(tr("Show sessions")); show_sessions->setIcon(QPixmap(":icons/icon_current_sessions.png")); connect(close_commit, SIGNAL(triggered()), this, SLOT(closeCommit())); -- cgit v1.2.3