summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/mainwindow.cc6
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()));