summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-08-24 10:21:51 -0400
committerLioncash <mathew1800@gmail.com>2021-08-24 10:21:53 -0400
commita65fcb5e5b39319829686a6e2651d590004cf155 (patch)
tree4d9ea379ab09c508cd3c88f71d5848cbd2c76811
parent70399955a0fb98ca855ddae22d6f74cf3786631c (diff)
ConvertDialog: Provide complete translation string for conversion
Gives the translator full control over the string's localization instead of only one part of it.
-rw-r--r--Source/Core/DolphinQt/ConvertDialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DolphinQt/ConvertDialog.cpp b/Source/Core/DolphinQt/ConvertDialog.cpp
index 9be6d1bca1..b7bf614291 100644
--- a/Source/Core/DolphinQt/ConvertDialog.cpp
+++ b/Source/Core/DolphinQt/ConvertDialog.cpp
@@ -412,9 +412,9 @@ void ConvertDialog::Convert()
if (m_files.size() > 1)
{
+ // i18n: %1 is a filename.
progress_dialog.GetRaw()->setLabelText(
- tr("Converting...") + QLatin1Char{'\n'} +
- QFileInfo(QString::fromStdString(original_path)).fileName());
+ tr("Converting...\n%1").arg(QFileInfo(QString::fromStdString(original_path)).fileName()));
}
std::unique_ptr<DiscIO::BlobReader> blob_reader;