diff --git a/src/ConfigDialog.cpp b/src/ConfigDialog.cpp index 2c3f03661..3de3df616 100644 --- a/src/ConfigDialog.cpp +++ b/src/ConfigDialog.cpp @@ -189,11 +189,11 @@ void ConfigDialog::saveClicked() // are you sure you want to change the location of the athlete library? // if so we will restart, if not I'll revert to current directory QMessageBox msgBox; - msgBox.setText("You changed the location of the athlete library"); - msgBox.setInformativeText("This is where all new athletes and their ride files " + msgBox.setText(tr("You changed the location of the athlete library")); + msgBox.setInformativeText(tr("This is where all new athletes and their ride files " "will now be stored.\n\nCurrent athlete data will no longer be " "available and GoldenCheetah will need to restart for the change to take effect." - "\n\nDo you want to apply and restart GoldenCheetah?"); + "\n\nDo you want to apply and restart GoldenCheetah?")); // we want our own buttons... msgBox.addButton(tr("No, Keep current"), QMessageBox::RejectRole); diff --git a/src/ShareDialog.cpp b/src/ShareDialog.cpp index 29328b6ad..1f1548f0f 100644 --- a/src/ShareDialog.cpp +++ b/src/ShareDialog.cpp @@ -284,7 +284,7 @@ StravaUploader::upload() if(!uploadSuccessful) { - parent->progressLabel->setText("Error uploading to Strava"); + parent->progressLabel->setText(tr("Error uploading to Strava")); } else { @@ -752,7 +752,7 @@ CyclingAnalyticsUploader::upload() if(!uploadSuccessful) { - parent->progressLabel->setText("Error uploading to CyclingAnalytics"); + parent->progressLabel->setText(tr("Error uploading to CyclingAnalytics")); } else { @@ -916,7 +916,7 @@ SelfLoopsUploader::upload() if(!uploadSuccessful) { - parent->progressLabel->setText("Error uploading to Selfloops"); + parent->progressLabel->setText(tr("Error uploading to Selfloops")); } else { @@ -1093,7 +1093,7 @@ GarminUploader::upload() if(!uploadSuccessful) { - parent->progressLabel->setText("Error uploading to Garmin Connect"); + parent->progressLabel->setText(tr("Error uploading to Garmin Connect")); } else { @@ -1325,7 +1325,7 @@ GarminUploader::requestUploadGarminFinished(QNetworkReply *reply) { qDebug() << "Error " << reply->error() ; qDebug() << "Error " << uploadError; - parent->errorLabel->setText(parent->errorLabel->text()+ tr(" Error from Selfloops: ") + uploadError + "\n" ); + parent->errorLabel->setText(parent->errorLabel->text()+ tr(" Error from Garmin Connect: ") + uploadError + "\n" ); } else {