Skip to content

Commit

Permalink
Merge pull request #3127 from qheath/translations
Browse files Browse the repository at this point in the history
Translations
  • Loading branch information
Joern-R committed Jul 3, 2019
2 parents 457a92a + 3a57fdb commit a6b7993
Show file tree
Hide file tree
Showing 15 changed files with 134 additions and 100 deletions.
2 changes: 1 addition & 1 deletion src/Cloud/OAuthDialog.cpp
Expand Up @@ -556,7 +556,7 @@ OAuthDialog::networkRequestFinished(QNetworkReply *reply)
QByteArray r = bind->readAll(); QByteArray r = bind->readAll();
//qDebug()<<bind->errorString()<< "bind response="<<r; //qDebug()<<bind->errorString()<< "bind response="<<r;


QString info = QString(tr("PolarFlow authorization was successful.")); QString info = QString(tr("Polar Flow authorization was successful."));
QMessageBox information(QMessageBox::Information, tr("Information"), info); QMessageBox information(QMessageBox::Information, tr("Information"), info);
information.exec(); information.exec();


Expand Down
8 changes: 4 additions & 4 deletions src/Cloud/PolarFlow.cpp
Expand Up @@ -84,7 +84,7 @@ PolarFlow::open(QStringList &errors)
// do we have a token // do we have a token
QString token = getSetting(GC_POLARFLOW_TOKEN, "").toString(); QString token = getSetting(GC_POLARFLOW_TOKEN, "").toString();
if (token == "") { if (token == "") {
errors << "You must authorise with PolarFlow first"; errors << tr("You must authorise with Polar Flow first");
return false; return false;
} }


Expand All @@ -107,7 +107,7 @@ PolarFlow::open(QStringList &errors)


if (reply->error() != QNetworkReply::NoError) { if (reply->error() != QNetworkReply::NoError) {
qDebug() << "error" << reply->errorString(); qDebug() << "error" << reply->errorString();
errors << tr("Network Problem reading PolarFlow data"); errors << tr("Network Problem reading Polar Flow data");
return false; return false;
} }
// did we get a good response ? // did we get a good response ?
Expand All @@ -129,7 +129,7 @@ PolarFlow::open(QStringList &errors)
root_->isDir = true; root_->isDir = true;
root_->size = 0; root_->size = 0;
} else { } else {
errors << tr("problem parsing PolarFlow data"); errors << tr("problem parsing Polar Flow data");
} }


// ok so far ? // ok so far ?
Expand All @@ -155,7 +155,7 @@ PolarFlow::readdir(QString path, QStringList &errors, QDateTime, QDateTime)
// do we have a token // do we have a token
QString token = getSetting(GC_POLARFLOW_TOKEN, "").toString(); QString token = getSetting(GC_POLARFLOW_TOKEN, "").toString();
if (token == "") { if (token == "") {
errors << tr("You must authorise with Today's Plan first"); errors << tr("You must authorise with Polar Flow first");
return returning; return returning;
} }


Expand Down
8 changes: 4 additions & 4 deletions src/Resources/translations/gc_cs.ts
Expand Up @@ -20900,7 +20900,7 @@ No rides found to import.
</message> </message>
<message> <message>
<location filename="../../Cloud/OAuthDialog.cpp" line="559"/> <location filename="../../Cloud/OAuthDialog.cpp" line="559"/>
<source>PolarFlow authorization was successful.</source> <source>Polar Flow authorization was successful.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
Expand Down Expand Up @@ -23433,17 +23433,17 @@ Chcete pokračovat?</translation>
<name>PolarFlow</name> <name>PolarFlow</name>
<message> <message>
<location filename="../../Cloud/PolarFlow.cpp" line="110"/> <location filename="../../Cloud/PolarFlow.cpp" line="110"/>
<source>Network Problem reading PolarFlow data</source> <source>Network Problem reading Polar Flow data</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../Cloud/PolarFlow.cpp" line="132"/> <location filename="../../Cloud/PolarFlow.cpp" line="132"/>
<source>problem parsing PolarFlow data</source> <source>problem parsing Polar Flow data</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../Cloud/PolarFlow.cpp" line="158"/> <location filename="../../Cloud/PolarFlow.cpp" line="158"/>
<source>You must authorise with Today&apos;s Plan first</source> <source>You must authorise with Polar Flow first</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
Expand Down
16 changes: 8 additions & 8 deletions src/Resources/translations/gc_de.ts
Expand Up @@ -19352,8 +19352,8 @@ Keine Aktivitäten zum Importieren gefunden.
</message> </message>
<message> <message>
<location filename="../../Cloud/OAuthDialog.cpp" line="559"/> <location filename="../../Cloud/OAuthDialog.cpp" line="559"/>
<source>PolarFlow authorization was successful.</source> <source>Polar Flow authorization was successful.</source>
<translation>PolarFlow Autorisierung war erfolgreich.</translation> <translation>Polar Flow Autorisierung war erfolgreich.</translation>
</message> </message>
<message> <message>
<location filename="../../Cloud/OAuthDialog.cpp" line="566"/> <location filename="../../Cloud/OAuthDialog.cpp" line="566"/>
Expand Down Expand Up @@ -21828,18 +21828,18 @@ Möchten Sie fortfahren?</translation>
<name>PolarFlow</name> <name>PolarFlow</name>
<message> <message>
<location filename="../../Cloud/PolarFlow.cpp" line="110"/> <location filename="../../Cloud/PolarFlow.cpp" line="110"/>
<source>Network Problem reading PolarFlow data</source> <source>Network Problem reading Polar Flow data</source>
<translation>Netzwerkproblem beim Lesen der PolarFlow Daten</translation> <translation>Netzwerkproblem beim Lesen der Polar Flow Daten</translation>
</message> </message>
<message> <message>
<location filename="../../Cloud/PolarFlow.cpp" line="132"/> <location filename="../../Cloud/PolarFlow.cpp" line="132"/>
<source>problem parsing PolarFlow data</source> <source>problem parsing Polar Flow data</source>
<translation>Problem die PolarFlow Daten zu parsen</translation> <translation>Problem die Polar Flow Daten zu parsen</translation>
</message> </message>
<message> <message>
<location filename="../../Cloud/PolarFlow.cpp" line="158"/> <location filename="../../Cloud/PolarFlow.cpp" line="158"/>
<source>You must authorise with Today&apos;s Plan first</source> <source>You must authorise with Polar Flow first</source>
<translation>Sie müssen Today&apos;s Plan zuerst autorisieren</translation> <translation>Sie müssen Polar Flow zuerst autorisieren</translation>
</message> </message>
<message> <message>
<location filename="../../Cloud/PolarFlow.cpp" line="219"/> <location filename="../../Cloud/PolarFlow.cpp" line="219"/>
Expand Down
8 changes: 4 additions & 4 deletions src/Resources/translations/gc_es.ts
Expand Up @@ -20354,7 +20354,7 @@ No rides found to import.
</message> </message>
<message> <message>
<location filename="../../Cloud/OAuthDialog.cpp" line="559"/> <location filename="../../Cloud/OAuthDialog.cpp" line="559"/>
<source>PolarFlow authorization was successful.</source> <source>Polar Flow authorization was successful.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
Expand Down Expand Up @@ -22822,17 +22822,17 @@ Do you want to continue?</source>
<name>PolarFlow</name> <name>PolarFlow</name>
<message> <message>
<location filename="../../Cloud/PolarFlow.cpp" line="110"/> <location filename="../../Cloud/PolarFlow.cpp" line="110"/>
<source>Network Problem reading PolarFlow data</source> <source>Network Problem reading Polar Flow data</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../Cloud/PolarFlow.cpp" line="132"/> <location filename="../../Cloud/PolarFlow.cpp" line="132"/>
<source>problem parsing PolarFlow data</source> <source>problem parsing Polar Flow data</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../Cloud/PolarFlow.cpp" line="158"/> <location filename="../../Cloud/PolarFlow.cpp" line="158"/>
<source>You must authorise with Today&apos;s Plan first</source> <source>You must authorise with Polar Flow first</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
Expand Down

0 comments on commit a6b7993

Please sign in to comment.