From 524fc5b6ecf9e5f193db1173164ae23c6e6702b1 Mon Sep 17 00:00:00 2001 From: Jamie Mansfield Date: Thu, 8 Apr 2021 18:46:22 +0100 Subject: NOISSUE Fix string formatting issues This allows translations to have more control over the output :) --- api/logic/modplatform/modpacksch/FTBPackInstallTask.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/logic/modplatform/modpacksch') diff --git a/api/logic/modplatform/modpacksch/FTBPackInstallTask.cpp b/api/logic/modplatform/modpacksch/FTBPackInstallTask.cpp index 59546b00..068e3592 100644 --- a/api/logic/modplatform/modpacksch/FTBPackInstallTask.cpp +++ b/api/logic/modplatform/modpacksch/FTBPackInstallTask.cpp @@ -35,7 +35,7 @@ void PackInstallTask::executeTask() } if(!found) { - emitFailed("failed to find pack version " + m_version_name); + emitFailed(tr("Failed to find pack version %1").arg(m_version_name)); return; } -- cgit