fix: move HTML code outside of translation

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2022-07-20 10:14:51 +02:00
parent 28ae5d710e
commit 9cc1773fa7
No known key found for this signature in database
GPG Key ID: C10411294912A422

View File

@ -158,8 +158,9 @@ void ModUpdateDialog::checkCandidates()
if (!reason.isEmpty()) if (!reason.isEmpty())
text += tr("Reason: %1").arg(reason) + "<br>"; text += tr("Reason: %1").arg(reason) + "<br>";
if (!recover_url.isEmpty()) if (!recover_url.isEmpty())
text += tr("Possible solution: Getting the latest version manually:<br>" //: %1 is the link to download it manually
"<a href='%1'>%1</a><br>").arg(recover_url.toString()); 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>"; text += "<br>";
} }