mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Match agreed captalisation style
Signed-off-by: Tim Wootton <tim@tee-jay.demon.co.uk> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f72ec5e29b
commit
93d59c22d7
8 changed files with 29 additions and 29 deletions
|
@ -56,16 +56,16 @@ void UpdateManager::requestReceived()
|
|||
msgbox.setIcon(QMessageBox::Information);
|
||||
|
||||
if (responseBody == "OK") {
|
||||
msgText = tr("You are using the latest version of subsurface.");
|
||||
msgText = tr("You are using the latest version of Subsurface.");
|
||||
} else if (responseBody.startsWith("http")) {
|
||||
msgText = tr("A new version of subsurface is available.<br/>Click on:<br/><a href=\"%1\">%1</a><br/> to download it.")
|
||||
msgText = tr("A new version of Subsurface is available.<br/>Click on:<br/><a href=\"%1\">%1</a><br/> to download it.")
|
||||
.arg(responseBody);
|
||||
} else if (responseBody.startsWith("Latest version")) {
|
||||
// the webservice backend doesn't localize - but it's easy enough to just replace the
|
||||
// strings that it is likely to send back
|
||||
responseBody.replace("Latest version is ", "");
|
||||
responseBody.replace(". please check with your OS vendor for updates.", "");
|
||||
msgText = QString("<b>") + tr("A new version of subsurface is available.") + QString("</b><br/><br/>") +
|
||||
msgText = QString("<b>") + tr("A new version of Subsurface is available.") + QString("</b><br/><br/>") +
|
||||
tr("Latest version is %1, please check with your OS vendor for updates.")
|
||||
.arg(responseBody);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue