Commit 7880bed7 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Don't translate file extension

BUG: 416983
FIXED-IN: 5.14.0
parent 1db72e26
......@@ -601,7 +601,7 @@ void Part::exportFile(const QUrl &url)
void Part::fileImport()
{
const QString filters = i18n("OPML Outlines (*.opml *.xml);;All Files (*)");
const QString filters = i18n("OPML Outlines (%1);;All Files (*)", QStringLiteral("*.opml *.xml"));
const QUrl url = QFileDialog::getOpenFileUrl(m_mainWidget, QString(), QUrl(), filters);
if (!url.isEmpty()) {
importFile(url);
......@@ -610,7 +610,7 @@ void Part::fileImport()
void Part::fileExport()
{
const QString filters = i18n("OPML Outlines (*.opml *.xml);;All Files (*)");
const QString filters = i18n("OPML Outlines (%1);;All Files (*)", QStringLiteral("*.opml *.xml"));
const QUrl url = QFileDialog::getSaveFileUrl(m_mainWidget, QString(), QUrl(), filters);
if (!url.isEmpty()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment