diff options
author | senator <senator> | 2011-01-17 12:54:19 +0000 |
---|---|---|
committer | senator <senator> | 2011-01-17 12:54:19 +0000 |
commit | bb06d164bd7849192103855678f9f39182916d10 (patch) | |
tree | 86497e0f69deebac0edf4ef9dccc4fad3b78aee5 | |
parent | 4a60f02975703b5515706a58f245975dd5999124 (diff) |
Added tr tags to toolbar actions
-rw-r--r-- | client/mainwindow.cc | 6 |
1 files 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())); |