summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-08-23 21:55:43 +0200
committerMontel Laurent <[email protected]>2017-08-23 21:55:43 +0200
commite409bc31522ed2bb0f7aa2f06cb237a341ee9547 (patch)
treed905483c2c13d147a34b20e22374bfbcd1afc59a
parent2381a96f81bbfd940575fd5290ca43161d28a2d6 (diff)
Don't ask to translator to translate file filter
-rw-r--r--gui/pimsettingexporterwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/pimsettingexporterwindow.cpp b/gui/pimsettingexporterwindow.cpp
index b6711f4..2c9f6f8 100644
--- a/gui/pimsettingexporterwindow.cpp
+++ b/gui/pimsettingexporterwindow.cpp
@@ -255,7 +255,7 @@ void PimSettingExporterWindow::slotRestoreFile(const QUrl &url)
void PimSettingExporterWindow::slotShowArchiveInformations()
{
- const QString filename = QFileDialog::getOpenFileName(this, i18n("Select Archive"), QString(), i18n("Zip file (*.zip)"));
+ const QString filename = QFileDialog::getOpenFileName(this, i18n("Select Archive"), QString(), QStringLiteral("%1 (*.zip)").arg(i18n("Zip file")));
if (filename.isEmpty()) {
return;
}
@@ -372,7 +372,7 @@ void PimSettingExporterWindow::loadData(const QString &filename, const QString &
i18n("Restore backup"),
KFileWidget::getStartUrl(QUrl(QStringLiteral("kfiledialog:///pimsettingexporter")),
recentDirClass).toLocalFile(),
- i18n("Zip File (*.zip)"));
+ QStringLiteral("%1 (*.zip)").arg(i18n("Zip File")));
if (currentFileName.isEmpty()) {
return;
}