mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
misc capitalisation and spelling
Signed-off-by: Tim Wootton <tim@tee-jay.demon.co.uk> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
402198871b
commit
3a16a64616
5 changed files with 8 additions and 8 deletions
|
@ -47,7 +47,7 @@ void DiveComputerManagementDialog::tryRemove(const QModelIndex &index)
|
||||||
|
|
||||||
QMessageBox::StandardButton response = QMessageBox::question(
|
QMessageBox::StandardButton response = QMessageBox::question(
|
||||||
this, TITLE_OR_TEXT(
|
this, TITLE_OR_TEXT(
|
||||||
tr("Remove the selected Dive Computer?"),
|
tr("Remove the selected dive computer?"),
|
||||||
tr("Are you sure that you want to \n remove the selected dive computer?")),
|
tr("Are you sure that you want to \n remove the selected dive computer?")),
|
||||||
QMessageBox::Ok | QMessageBox::Cancel);
|
QMessageBox::Ok | QMessageBox::Cancel);
|
||||||
|
|
||||||
|
|
|
@ -117,7 +117,7 @@ bool GlobeGPS::eventFilter(QObject *obj, QEvent *ev)
|
||||||
void GlobeGPS::contextMenuEvent(QContextMenuEvent *ev)
|
void GlobeGPS::contextMenuEvent(QContextMenuEvent *ev)
|
||||||
{
|
{
|
||||||
QMenu m;
|
QMenu m;
|
||||||
QAction *a = m.addAction(tr("Edit Selected Dive Locations"), this, SLOT(prepareForGetDiveCoordinates()));
|
QAction *a = m.addAction(tr("Edit selected dive locations"), this, SLOT(prepareForGetDiveCoordinates()));
|
||||||
a->setData(QVariant::fromValue<void *>(&m));
|
a->setData(QVariant::fromValue<void *>(&m));
|
||||||
m.exec(ev->globalPos());
|
m.exec(ev->globalPos());
|
||||||
}
|
}
|
||||||
|
|
|
@ -791,7 +791,7 @@ void MainTab::rejectChanges()
|
||||||
(modified ||
|
(modified ||
|
||||||
memcmp(¤t_dive->cylinder[0], &displayed_dive.cylinder[0], sizeof(cylinder_t) * MAX_CYLINDERS) ||
|
memcmp(¤t_dive->cylinder[0], &displayed_dive.cylinder[0], sizeof(cylinder_t) * MAX_CYLINDERS) ||
|
||||||
memcmp(¤t_dive->cylinder[0], &displayed_dive.weightsystem[0], sizeof(weightsystem_t) * MAX_WEIGHTSYSTEMS))) {
|
memcmp(¤t_dive->cylinder[0], &displayed_dive.weightsystem[0], sizeof(weightsystem_t) * MAX_WEIGHTSYSTEMS))) {
|
||||||
if (QMessageBox::warning(MainWindow::instance(), TITLE_OR_TEXT(tr("Discard the Changes?"),
|
if (QMessageBox::warning(MainWindow::instance(), TITLE_OR_TEXT(tr("Discard the changes?"),
|
||||||
tr("You are about to discard your changes.")),
|
tr("You are about to discard your changes.")),
|
||||||
QMessageBox::Discard | QMessageBox::Cancel, QMessageBox::Discard) != QMessageBox::Discard) {
|
QMessageBox::Discard | QMessageBox::Cancel, QMessageBox::Discard) != QMessageBox::Discard) {
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -711,7 +711,7 @@ bool MainWindow::askSaveChanges()
|
||||||
if (existing_filename)
|
if (existing_filename)
|
||||||
message = tr("Do you want to save the changes that you made in the file %1?").arg(existing_filename);
|
message = tr("Do you want to save the changes that you made in the file %1?").arg(existing_filename);
|
||||||
else
|
else
|
||||||
message = tr("Do you want to save the changes that you made in the datafile?");
|
message = tr("Do you want to save the changes that you made in the data file?");
|
||||||
|
|
||||||
response.setStandardButtons(QMessageBox::Save | QMessageBox::Discard | QMessageBox::Cancel);
|
response.setStandardButtons(QMessageBox::Save | QMessageBox::Discard | QMessageBox::Cancel);
|
||||||
response.setDefaultButton(QMessageBox::Save);
|
response.setDefaultButton(QMessageBox::Save);
|
||||||
|
|
|
@ -66,7 +66,7 @@ void CleanerTableModel::setHeaderDataStrings(const QStringList &newHeaders)
|
||||||
CylindersModel::CylindersModel(QObject *parent) : rows(0)
|
CylindersModel::CylindersModel(QObject *parent) : rows(0)
|
||||||
{
|
{
|
||||||
// enum {REMOVE, TYPE, SIZE, WORKINGPRESS, START, END, O2, HE, DEPTH};
|
// enum {REMOVE, TYPE, SIZE, WORKINGPRESS, START, END, O2, HE, DEPTH};
|
||||||
setHeaderDataStrings(QStringList() << "" << tr("Type") << tr("Size") << tr("WorkPress") << tr("StartPress") << tr("EndPress") << trUtf8("O" UTF8_SUBSCRIPT_2 "%") << tr("He%")
|
setHeaderDataStrings(QStringList() << "" << tr("Type") << tr("Size") << tr("Work press.") << tr("Start press.") << tr("End press.") << trUtf8("O" UTF8_SUBSCRIPT_2 "%") << tr("He%")
|
||||||
<< tr("Switch at")
|
<< tr("Switch at")
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -430,7 +430,7 @@ QVariant WeightModel::data(const QModelIndex &index, int role) const
|
||||||
break;
|
break;
|
||||||
case Qt::ToolTipRole:
|
case Qt::ToolTipRole:
|
||||||
if (index.column() == REMOVE)
|
if (index.column() == REMOVE)
|
||||||
ret = tr("Clicking here will remove this weigthsystem.");
|
ret = tr("Clicking here will remove this weight system.");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
|
@ -1439,7 +1439,7 @@ QVariant DiveComputerModel::data(const QModelIndex &index, int role) const
|
||||||
ret = QIcon(":trash");
|
ret = QIcon(":trash");
|
||||||
break;
|
break;
|
||||||
case Qt::ToolTipRole:
|
case Qt::ToolTipRole:
|
||||||
ret = tr("Clicking here will remove this divecomputer.");
|
ret = tr("Clicking here will remove this dive computer.");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1895,7 +1895,7 @@ QVariant ProfilePrintModel::data(const QModelIndex &index, int role) const
|
||||||
// headings
|
// headings
|
||||||
if (row == 2) {
|
if (row == 2) {
|
||||||
if (col == 0)
|
if (col == 0)
|
||||||
return tr("Gas Used:");
|
return tr("Gas used:");
|
||||||
if (col == 2)
|
if (col == 2)
|
||||||
return tr("SAC:");
|
return tr("SAC:");
|
||||||
if (col == 3)
|
if (col == 3)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue