From 93d59c22d78788823c22f7d6f2efa01bdcdac5f4 Mon Sep 17 00:00:00 2001 From: Tim Wootton Date: Tue, 25 Nov 2014 15:47:24 +0000 Subject: Match agreed captalisation style Signed-off-by: Tim Wootton Signed-off-by: Dirk Hohndel --- qt-ui/divelogimportdialog.ui | 2 +- qt-ui/filtermodels.cpp | 2 +- qt-ui/maintab.cpp | 4 ++-- qt-ui/mainwindow.cpp | 2 +- qt-ui/mainwindow.ui | 6 +++--- qt-ui/updatemanager.cpp | 6 +++--- 6 files changed, 11 insertions(+), 11 deletions(-) (limited to 'qt-ui') diff --git a/qt-ui/divelogimportdialog.ui b/qt-ui/divelogimportdialog.ui index 47a0e54ba..97b698901 100644 --- a/qt-ui/divelogimportdialog.ui +++ b/qt-ui/divelogimportdialog.ui @@ -510,7 +510,7 @@ - Gps + GPS diff --git a/qt-ui/filtermodels.cpp b/qt-ui/filtermodels.cpp index 7ef0df3b9..01d2592f8 100644 --- a/qt-ui/filtermodels.cpp +++ b/qt-ui/filtermodels.cpp @@ -141,7 +141,7 @@ void TagFilterModel::repopulate() current_tag_entry = current_tag_entry->next; } qSort(list); - list << tr("Empty Tags"); + list << tr("Empty tags"); setStringList(list); delete[] checkState; checkState = new bool[list.count()]; diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index 68775c8c1..898166328 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -92,11 +92,11 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent), label->setAlignment(Qt::AlignHCenter); } ui.cylinders->setTitle(tr("Cylinders")); - ui.cylinders->setBtnToolTip(tr("Add Cylinder")); + ui.cylinders->setBtnToolTip(tr("Add cylinder")); connect(ui.cylinders, SIGNAL(addButtonClicked()), this, SLOT(addCylinder_clicked())); ui.weights->setTitle(tr("Weights")); - ui.weights->setBtnToolTip(tr("Add Weight System")); + ui.weights->setBtnToolTip(tr("Add weight system")); connect(ui.weights, SIGNAL(addButtonClicked()), this, SLOT(addWeight_clicked())); connect(ui.cylinders->view(), SIGNAL(clicked(QModelIndex)), this, SLOT(editCylinderWidget(QModelIndex))); diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index a02ff0357..f26c0f168 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -575,7 +575,7 @@ void MainWindow::on_actionYearlyStatistics_triggered() connect(quit, SIGNAL(activated()), this, SLOT(close())); d.setWindowFlags(Qt::Window | Qt::CustomizeWindowHint | Qt::WindowCloseButtonHint | Qt::WindowTitleHint); - d.setWindowTitle(tr("Yearly Statistics")); + d.setWindowTitle(tr("Yearly statistics")); d.exec(); } diff --git a/qt-ui/mainwindow.ui b/qt-ui/mainwindow.ui index 6d857a834..ecbd4d787 100644 --- a/qt-ui/mainwindow.ui +++ b/qt-ui/mainwindow.ui @@ -624,7 +624,7 @@ p, li { white-space: pre-wrap; } &Export - Export Dive Logs + Export dive logs Ctrl+E @@ -655,7 +655,7 @@ p, li { white-space: pre-wrap; } :/icon_o2:/icon_o2 - Toggle pO2 Graph + Toggle pO₂ graph @@ -667,7 +667,7 @@ p, li { white-space: pre-wrap; } :/icon_n2:/icon_n2 - Toggle pN2 Graph + Toggle pN₂ graph diff --git a/qt-ui/updatemanager.cpp b/qt-ui/updatemanager.cpp index 858de561d..a181f34fa 100644 --- a/qt-ui/updatemanager.cpp +++ b/qt-ui/updatemanager.cpp @@ -56,16 +56,16 @@ void UpdateManager::requestReceived() msgbox.setIcon(QMessageBox::Information); if (responseBody == "OK") { - msgText = tr("You are using the latest version of subsurface."); + msgText = tr("You are using the latest version of Subsurface."); } else if (responseBody.startsWith("http")) { - msgText = tr("A new version of subsurface is available.
Click on:
%1
to download it.") + msgText = tr("A new version of Subsurface is available.
Click on:
%1
to download it.") .arg(responseBody); } else if (responseBody.startsWith("Latest version")) { // the webservice backend doesn't localize - but it's easy enough to just replace the // strings that it is likely to send back responseBody.replace("Latest version is ", ""); responseBody.replace(". please check with your OS vendor for updates.", ""); - msgText = QString("") + tr("A new version of subsurface is available.") + QString("

") + + msgText = QString("") + tr("A new version of Subsurface is available.") + QString("

") + tr("Latest version is %1, please check with your OS vendor for updates.") .arg(responseBody); } else { -- cgit v1.2.3-70-g09d2