diff options
author | Tim Wootton <tim@tee-jay.demon.co.uk> | 2014-07-11 18:39:03 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-07-11 10:44:09 -0700 |
commit | 9dd484b63fb10e1c5d456eadab581929059c144a (patch) | |
tree | a46852709c66b74c01b92869b7c0a6834be752ac /qt-ui | |
parent | fbd00c6b0da55b4c7add823c80e3d4afaf452544 (diff) | |
download | subsurface-9dd484b63fb10e1c5d456eadab581929059c144a.tar.gz |
Misc UI capitalisation consitencies and other text changes
Capitalisation consitencies
A typo correction
A readability improvement (IMHO)
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/simplewidgets.cpp | 4 | ||||
-rw-r--r-- | qt-ui/subsurfacewebservices.cpp | 4 | ||||
-rw-r--r-- | qt-ui/tableview.cpp | 2 | ||||
-rw-r--r-- | qt-ui/tagwidget.cpp | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/qt-ui/simplewidgets.cpp b/qt-ui/simplewidgets.cpp index 5908c2b2a..217291277 100644 --- a/qt-ui/simplewidgets.cpp +++ b/qt-ui/simplewidgets.cpp @@ -221,9 +221,9 @@ void ShiftImageTimesDialog::syncCameraClicked() QPixmap picture; QDateTime dcDateTime = QDateTime(); QStringList fileNames = QFileDialog::getOpenFileNames(this, - tr("Open Image File"), + tr("Open image file"), DiveListView::lastUsedImageDir(), - tr("Image Files (*.jpg *.jpeg *.pnm *.tif *.tiff)")); + tr("Image files (*.jpg *.jpeg *.pnm *.tif *.tiff)")); if (fileNames.isEmpty()) return; diff --git a/qt-ui/subsurfacewebservices.cpp b/qt-ui/subsurfacewebservices.cpp index 27a56ec1f..219d10d8c 100644 --- a/qt-ui/subsurfacewebservices.cpp +++ b/qt-ui/subsurfacewebservices.cpp @@ -440,7 +440,7 @@ void SubsurfaceWebServices::setStatusText(int status) QString text; switch (status) { case DD_STATUS_ERROR_CONNECT: - text = tr("Connection Error: "); + text = tr("Connection error: "); break; case DD_STATUS_ERROR_ID: text = tr("Invalid user identifier!"); @@ -449,7 +449,7 @@ void SubsurfaceWebServices::setStatusText(int status) text = tr("Cannot parse response!"); break; case DD_STATUS_OK: - text = tr("Download Success!"); + text = tr("Download successful"); break; } ui.status->setText(text); diff --git a/qt-ui/tableview.cpp b/qt-ui/tableview.cpp index f00f2ae48..cbbea264e 100644 --- a/qt-ui/tableview.cpp +++ b/qt-ui/tableview.cpp @@ -20,7 +20,7 @@ TableView::TableView(QWidget *parent) : QWidget(parent) QIcon plusIcon(":plus"); plusBtn = new QPushButton(plusIcon, QString(), ui.groupBox); plusBtn->setFlat(true); - plusBtn->setToolTip(tr("Add Cylinder")); + plusBtn->setToolTip(tr("Add cylinder")); plusBtn->setIconSize(QSize(16, 16)); connect(plusBtn, SIGNAL(clicked(bool)), this, SIGNAL(addButtonClicked())); } diff --git a/qt-ui/tagwidget.cpp b/qt-ui/tagwidget.cpp index 51e947682..4045502aa 100644 --- a/qt-ui/tagwidget.cpp +++ b/qt-ui/tagwidget.cpp @@ -19,7 +19,7 @@ TagWidget::TagWidget(QWidget *parent) : GroupedLineEdit(parent), m_completer(NUL addColor(QColor(Qt::red).lighter(120)); addColor(QColor(Qt::green).lighter(120)); addColor(QColor(Qt::blue).lighter(120)); - } else if (l <= 0.6) { // moderated dark text. get a somewhat brigth background + } else if (l <= 0.6) { // moderated dark text. get a somewhat bright background addColor(QColor(Qt::red).lighter(60)); addColor(QColor(Qt::green).lighter(60)); addColor(QColor(Qt::blue).lighter(60)); |