summaryrefslogtreecommitdiffstats
path: root/src/qphotorec.cpp
diff options
context:
space:
mode:
authorВиктор <victorr2007@ya.ru>2016-06-14 19:14:19 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2016-06-14 19:14:19 +0200
commit58ee94788aa86cd09e9f1055516c6f07d21403c1 (patch)
tree4d5848f3aa443c331a51b5479a5f3dd83e2dd3b4 /src/qphotorec.cpp
parent5e31eb57157e761d70afb3ef5920863974e210c7 (diff)
Mark some strings as translatable
Diffstat (limited to 'src/qphotorec.cpp')
-rw-r--r--src/qphotorec.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/qphotorec.cpp b/src/qphotorec.cpp
index 9e7a465..f3a44f5 100644
--- a/src/qphotorec.cpp
+++ b/src/qphotorec.cpp
@@ -535,10 +535,10 @@ void QPhotorec::setupUI()
dst_widget->setLayout(dst_widgetLayout);
- button_search = new QPushButton(QIcon::fromTheme("go-next", QIcon(":res/gnome/go-next.png")), "&Search");
+ button_search = new QPushButton(QIcon::fromTheme("go-next", QIcon(":res/gnome/go-next.png")), tr("&Search"));
button_search->setEnabled(false);
- QPushButton *button_quit= new QPushButton(QIcon::fromTheme("application-exit", QIcon(":res/gnome/application-exit.png")), "&Quit");
- QPushButton *button_about= new QPushButton(QIcon::fromTheme("help-about", QIcon(":res/gnome/help-about.png")), "&About");
+ QPushButton *button_quit= new QPushButton(QIcon::fromTheme("application-exit", QIcon(":res/gnome/application-exit.png")), tr("&Quit"));
+ QPushButton *button_about= new QPushButton(QIcon::fromTheme("help-about", QIcon(":res/gnome/help-about.png")), tr("&About"));
QPushButton *button_formats= new QPushButton(QIcon::fromTheme("image-x-generic.png", QIcon(":res/gnome/image-x-generic.png")),tr("&File Formats"));
QWidget *B_widget = new QWidget(this);
@@ -747,8 +747,8 @@ void QPhotorec::qphotorec_search_setupUI()
progressWidget2->setLayout(progressWidgetLayout2);
QStringList oLabel;
- oLabel.append("File familly");
- oLabel.append("Number of files recovered");
+ oLabel.append(tr("File familly"));
+ oLabel.append(tr("Number of files recovered"));
filestatsWidget=new QTableWidget();
filestatsWidget->setEditTriggers(QAbstractItemView::NoEditTriggers);