Update SettingsWindow.cpp
This commit is contained in:
parent
e3bc36d70d
commit
3545159a0b
|
@ -1301,20 +1301,24 @@ void CSettingsWindow::OnGetCert()
|
|||
"If you have attempted to enter the UpdateKey or the Signature from a certificate, "
|
||||
"that is not correct, please enter the entire certificate into the text area above instead.");
|
||||
}
|
||||
else if(Certificate.isEmpty())
|
||||
{
|
||||
if (Serial.length() > 5 && Serial.at(4).toUpper() == 'U') {
|
||||
Message = tr("You are attempting to use a feature Upgrade-Key without having entered a pre-existing supporter certificate. "
|
||||
"Please note that this type of key (<b>as it is clearly stated in bold on the website</b) requires you to have a pre-existing valid supporter certificate; it is useless without one."
|
||||
"<br />If you want to use the advanced features, you need to obtain both a standard certificate and the feature upgrade key to unlock advanced functionality.");
|
||||
}
|
||||
|
||||
else if (Serial.length() > 5 && Serial.at(4).toUpper() == 'U') {
|
||||
Message = tr("You are attempting to use a feature Upgrade-Key without having entered a pre-existing supporter certificate. "
|
||||
"Please note that this type of key (<b>as it is clearly stated in bold on the website</b) requires you to have a pre-existing valid supporter certificate; it is useless without one."
|
||||
"<br />If you want to use the advanced features, you need to obtain both a standard certificate and the feature upgrade key to unlock advanced functionality.");
|
||||
else if (Serial.length() > 5 && Serial.at(4).toUpper() == 'R') {
|
||||
Message = tr("You are attempting to use a Renew-Key without having entered a pre-existing supporter certificate. "
|
||||
"Please note that this type of key (<b>as it is clearly stated in bold on the website</b) requires you to have a pre-existing valid supporter certificate; it is useless without one.");
|
||||
}
|
||||
|
||||
if (!Message.isEmpty())
|
||||
Message += tr("<br /><br /><u>If you have not read the product description and obtained this key by mistake, please contact us via email (provided on our website) to resolve this issue.</u>");
|
||||
}
|
||||
|
||||
else if (Serial.length() > 5 && Serial.at(4).toUpper() == 'R') {
|
||||
Message = tr("You are attempting to use a Renew-Key without having entered a pre-existing supporter certificate. "
|
||||
"Please note that this type of key (<b>as it is clearly stated in bold on the website</b) requires you to have a pre-existing valid supporter certificate; it is useless without one.");
|
||||
}
|
||||
|
||||
|
||||
if (!Message.isEmpty()) {
|
||||
Message += tr("<br /><br /><u>If you have not read the product description and obtained this key by mistake, please contact us via email (provided on our website) to resolve this issue.</u>");
|
||||
CSandMan::ShowMessageBox(this, QMessageBox::Critical, Message);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue