Merge pull request #875 from Joern-R/pull

Enable Translation
This commit is contained in:
Mark Liversedge
2014-05-17 09:40:06 +01:00
2 changed files with 8 additions and 8 deletions

View File

@@ -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);

View File

@@ -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
{