summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Tim Wootton <tim@tee-jay.demon.co.uk>2014-07-11 09:21:38 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-11 07:06:26 -0700
commit3a16a64616a854ead300f37bfe6e614e6dde168c (patch)
tree89bf7c5e7595a8d659edd317bf8b888bf27154c7 /qt-ui
parent402198871b15db005e8cce07cad8707b519bf802 (diff)
downloadsubsurface-3a16a64616a854ead300f37bfe6e614e6dde168c.tar.gz
misc capitalisation and spelling
Signed-off-by: Tim Wootton <tim@tee-jay.demon.co.uk> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/divecomputermanagementdialog.cpp2
-rw-r--r--qt-ui/globe.cpp2
-rw-r--r--qt-ui/maintab.cpp2
-rw-r--r--qt-ui/mainwindow.cpp2
-rw-r--r--qt-ui/models.cpp8
5 files changed, 8 insertions, 8 deletions
diff --git a/qt-ui/divecomputermanagementdialog.cpp b/qt-ui/divecomputermanagementdialog.cpp
index 7d52e838b..567abd4d7 100644
--- a/qt-ui/divecomputermanagementdialog.cpp
+++ b/qt-ui/divecomputermanagementdialog.cpp
@@ -47,7 +47,7 @@ void DiveComputerManagementDialog::tryRemove(const QModelIndex &index)
QMessageBox::StandardButton response = QMessageBox::question(
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?")),
QMessageBox::Ok | QMessageBox::Cancel);
diff --git a/qt-ui/globe.cpp b/qt-ui/globe.cpp
index 91d88345b..8af76ac2a 100644
--- a/qt-ui/globe.cpp
+++ b/qt-ui/globe.cpp
@@ -117,7 +117,7 @@ bool GlobeGPS::eventFilter(QObject *obj, QEvent *ev)
void GlobeGPS::contextMenuEvent(QContextMenuEvent *ev)
{
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));
m.exec(ev->globalPos());
}
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index e28511f69..a7950c074 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -791,7 +791,7 @@ void MainTab::rejectChanges()
(modified ||
memcmp(&current_dive->cylinder[0], &displayed_dive.cylinder[0], sizeof(cylinder_t) * MAX_CYLINDERS) ||
memcmp(&current_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.")),
QMessageBox::Discard | QMessageBox::Cancel, QMessageBox::Discard) != QMessageBox::Discard) {
return;
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 2b762d9bf..c22129818 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -711,7 +711,7 @@ bool MainWindow::askSaveChanges()
if (existing_filename)
message = tr("Do you want to save the changes that you made in the file %1?").arg(existing_filename);
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.setDefaultButton(QMessageBox::Save);
diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp
index aa3f302b2..98f35e2ed 100644
--- a/qt-ui/models.cpp
+++ b/qt-ui/models.cpp
@@ -66,7 +66,7 @@ void CleanerTableModel::setHeaderDataStrings(const QStringList &newHeaders)
CylindersModel::CylindersModel(QObject *parent) : rows(0)
{
// 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")
);
}
@@ -430,7 +430,7 @@ QVariant WeightModel::data(const QModelIndex &index, int role) const
break;
case Qt::ToolTipRole:
if (index.column() == REMOVE)
- ret = tr("Clicking here will remove this weigthsystem.");
+ ret = tr("Clicking here will remove this weight system.");
break;
}
return ret;
@@ -1439,7 +1439,7 @@ QVariant DiveComputerModel::data(const QModelIndex &index, int role) const
ret = QIcon(":trash");
break;
case Qt::ToolTipRole:
- ret = tr("Clicking here will remove this divecomputer.");
+ ret = tr("Clicking here will remove this dive computer.");
break;
}
}
@@ -1895,7 +1895,7 @@ QVariant ProfilePrintModel::data(const QModelIndex &index, int role) const
// headings
if (row == 2) {
if (col == 0)
- return tr("Gas Used:");
+ return tr("Gas used:");
if (col == 2)
return tr("SAC:");
if (col == 3)