diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-07-20 10:14:51 +0200 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2022-07-20 10:15:21 +0200 |
commit | 9cc1773fa7b91a0c7ff24ec28e6fff94600f7ed5 (patch) | |
tree | be7687713c5c1f327f19d83061e06fb0ab8e715f /launcher/ui/dialogs/ModUpdateDialog.cpp | |
parent | 28ae5d710e757a7672b7c8e4c3451349a20e2bd1 (diff) | |
download | PrismLauncher-9cc1773fa7b91a0c7ff24ec28e6fff94600f7ed5.tar.gz PrismLauncher-9cc1773fa7b91a0c7ff24ec28e6fff94600f7ed5.tar.bz2 PrismLauncher-9cc1773fa7b91a0c7ff24ec28e6fff94600f7ed5.zip |
fix: move HTML code outside of translation
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'launcher/ui/dialogs/ModUpdateDialog.cpp')
-rw-r--r-- | launcher/ui/dialogs/ModUpdateDialog.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/launcher/ui/dialogs/ModUpdateDialog.cpp b/launcher/ui/dialogs/ModUpdateDialog.cpp index 3b9c1f40..d73c8ebb 100644 --- a/launcher/ui/dialogs/ModUpdateDialog.cpp +++ b/launcher/ui/dialogs/ModUpdateDialog.cpp @@ -158,8 +158,9 @@ void ModUpdateDialog::checkCandidates() if (!reason.isEmpty()) text += tr("Reason: %1").arg(reason) + "<br>"; if (!recover_url.isEmpty()) - text += tr("Possible solution: Getting the latest version manually:<br>" - "<a href='%1'>%1</a><br>").arg(recover_url.toString()); + //: %1 is the link to download it manually + text += tr("Possible solution: Getting the latest version manually:<br>%1<br>") + .arg(QString("<a href='%1'>%1</a>").arg(recover_url.toString())); text += "<br>"; } |