aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/dialogs
diff options
context:
space:
mode:
authorflow <thiagodonato300@gmail.com>2022-02-23 14:44:55 -0300
committerflow <thiagodonato300@gmail.com>2022-02-23 14:44:55 -0300
commit04840d0638f933416a0d14b2ef822c6f8da5e373 (patch)
treeadaf3d4e39e3c8385833778118a5d397de3693ae /launcher/ui/dialogs
parent38f12c50f773ed7ec54bc8ea11691352aef81aee (diff)
downloadPrismLauncher-04840d0638f933416a0d14b2ef822c6f8da5e373.tar.gz
PrismLauncher-04840d0638f933416a0d14b2ef822c6f8da5e373.tar.bz2
PrismLauncher-04840d0638f933416a0d14b2ef822c6f8da5e373.zip
fix(ui): add translation func to text in the confirm dialog
Diffstat (limited to 'launcher/ui/dialogs')
-rw-r--r--launcher/ui/dialogs/ModDownloadDialog.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/launcher/ui/dialogs/ModDownloadDialog.cpp b/launcher/ui/dialogs/ModDownloadDialog.cpp
index 439f22c4..a56c2e64 100644
--- a/launcher/ui/dialogs/ModDownloadDialog.cpp
+++ b/launcher/ui/dialogs/ModDownloadDialog.cpp
@@ -74,10 +74,12 @@ void ModDownloadDialog::confirm()
auto keys = modTask.keys();
keys.sort(Qt::CaseInsensitive);
- auto info = QString("You're about to download the following mods:\n\n");
+ auto info = QString(tr("You're about to download the following mods:"));
+ info.append("\n\n");
for(auto task : keys){
info.append(task);
- info.append("\n --> File name: ");
+ info.append("\n --> ");
+ info.append(tr("File name: "));
info.append(modTask.find(task).value()->getFilename());
info.append('\n');
}