Rename Ride to Activity

.. across the code, except where it clearly is a ride
   e.g. importing PowerTap or SRM
This commit is contained in:
Mark Liversedge
2015-01-30 10:59:56 +00:00
parent 728c9a6537
commit fb994fa5e7
45 changed files with 164 additions and 164 deletions

View File

@@ -241,7 +241,7 @@ AddIntervalDialog::AddIntervalDialog(Context *context) :
QHBoxLayout *buttonLayout = new QHBoxLayout;
buttonLayout->addStretch();
addButton = new QPushButton(tr("&Add to Ride"));
addButton = new QPushButton(tr("&Add to Activity"));
buttonLayout->addWidget(addButton);
buttonLayout->addStretch();
mainLayout->addLayout(buttonLayout);
@@ -422,7 +422,7 @@ AddIntervalDialog::createClicked()
{
const RideFile *ride = context->ride ? context->ride->ride() : NULL;
if (!ride) {
QMessageBox::critical(this, tr("Select Ride"), tr("No ride selected!"));
QMessageBox::critical(this, tr("Select Activity"), tr("No activity selected!"));
return;
}