aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/printoptions.cpp
diff options
context:
space:
mode:
authorGravatar Stefan Fuchs <sfuchs@gmx.de>2017-10-27 14:52:27 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-11-04 14:27:00 +0100
commit8b56dc30d78aabc697749a8542d6d4f39b63f44d (patch)
treed1acaa4174073a98987049a6c2e357a23760c55b /desktop-widgets/printoptions.cpp
parent92ba4b9cc7bbc2e1818191745d1976f9b915be9a (diff)
downloadsubsurface-8b56dc30d78aabc697749a8542d6d4f39b63f44d.tar.gz
Correct, cleanup, translate and unify file filters
Correct spelling and typos in file filters. Unify and translate file filter names. Don't pass a file filter to a directory open dialog - not needed. Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
Diffstat (limited to 'desktop-widgets/printoptions.cpp')
-rw-r--r--desktop-widgets/printoptions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/printoptions.cpp b/desktop-widgets/printoptions.cpp
index b4862e79e..eaeb6954b 100644
--- a/desktop-widgets/printoptions.cpp
+++ b/desktop-widgets/printoptions.cpp
@@ -129,7 +129,7 @@ void PrintOptions::on_editButton_clicked()
void PrintOptions::on_importButton_clicked()
{
QString filename = QFileDialog::getOpenFileName(this, tr("Import template file"), "",
- tr("HTML files (*.html)"));
+ tr("HTML files") + " (*.html)");
if (filename.isEmpty())
return;
QFileInfo fileInfo(filename);
@@ -142,7 +142,7 @@ void PrintOptions::on_importButton_clicked()
void PrintOptions::on_exportButton_clicked()
{
QString filename = QFileDialog::getSaveFileName(this, tr("Export template files as"), "",
- tr("HTML files (*.html)"));
+ tr("HTML files") + " (*.html)");
if (filename.isEmpty())
return;
QFile::copy(getPrintingTemplatePathUser() + QDir::separator() + getSelectedTemplate(), filename);