don't tr() file types on file save/open, etc. dialogs

Signed-off-by: Tayou <git@tayou.org>
This commit is contained in:
Tayou
2024-06-22 17:28:59 +02:00
parent 8014283bf4
commit 178bd4a9c3
6 changed files with 11 additions and 11 deletions

View File

@ -160,7 +160,7 @@ void ExportToModListDialog::done(int result)
const QString filename = FS::RemoveInvalidFilenameChars(m_name);
const QString output =
QFileDialog::getSaveFileName(this, tr("Export %1").arg(m_name), FS::PathCombine(QDir::homePath(), filename + extension()),
"File (*.txt *.html *.md *.json *.csv)", nullptr);
tr("File") + " (*.txt *.html *.md *.json *.csv)", nullptr);
if (output.isEmpty())
return;