Commit 859c5527 authored by Jan Möbius's avatar Jan Möbius

Make all strings translateable in Core

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6737 383ad7c9-94d9-4d36-a494-682f7c89f535
parent b5a70afe
...@@ -69,7 +69,7 @@ void KeyGenWidget::slotGenerateButton() { ...@@ -69,7 +69,7 @@ void KeyGenWidget::slotGenerateButton() {
QStringList data = inputData.split('\n',QString::SkipEmptyParts); QStringList data = inputData.split('\n',QString::SkipEmptyParts);
if ( data.size() != 5) { if ( data.size() != 5) {
QMessageBox::critical(this,tr("Wrong request data","The request has to contain 5 lines of data")); QMessageBox::critical(this,tr("Wrong request data"),tr("The request has to contain 5 lines of data"));
} else { } else {
// Clean strings // Clean strings
...@@ -98,7 +98,7 @@ void KeyGenWidget::slotGenerateButton() { ...@@ -98,7 +98,7 @@ void KeyGenWidget::slotGenerateButton() {
QString requestSigCheck = QCryptographicHash::hash ( keyRequest.toAscii() , QCryptographicHash::Sha1 ).toHex(); QString requestSigCheck = QCryptographicHash::hash ( keyRequest.toAscii() , QCryptographicHash::Sha1 ).toHex();
if ( requestSig != requestSigCheck ) { if ( requestSig != requestSigCheck ) {
QMessageBox::critical(this,tr("Signature of request invalid","The signature of the request is not valid")); QMessageBox::critical(this,tr("Signature of request invalid"),tr("The signature of the request is not valid"));
return; return;
} }
...@@ -106,7 +106,7 @@ void KeyGenWidget::slotGenerateButton() { ...@@ -106,7 +106,7 @@ void KeyGenWidget::slotGenerateButton() {
QFile outFile(name + ".lic"); QFile outFile(name + ".lic");
if (!outFile.open(QIODevice::WriteOnly|QIODevice::Text)) { if (!outFile.open(QIODevice::WriteOnly|QIODevice::Text)) {
QMessageBox::critical(this,tr("Unable to open file","Unable to Open output File")); QMessageBox::critical(this,tr("Unable to open file"),tr("Unable to Open output File"));
return; return;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment