fix(ui): add translation func to text in the confirm dialog
This commit is contained in:
parent
38f12c50f7
commit
04840d0638
@ -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');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user