mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Match agreed captalisation style
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
f72ec5e29b
commit
93d59c22d7
8 changed files with 29 additions and 29 deletions
|
@ -510,7 +510,7 @@
|
|||
<item row="5" column="0">
|
||||
<widget class="QCheckBox" name="GpsCheck">
|
||||
<property name="text">
|
||||
<string>Gps</string>
|
||||
<string>GPS</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
|
|
@ -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()];
|
||||
|
|
|
@ -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)));
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -624,7 +624,7 @@ p, li { white-space: pre-wrap; }
|
|||
<string>&Export</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Export Dive Logs</string>
|
||||
<string>Export dive logs</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+E</string>
|
||||
|
@ -655,7 +655,7 @@ p, li { white-space: pre-wrap; }
|
|||
<normaloff>:/icon_o2</normaloff>:/icon_o2</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Toggle pO2 Graph</string>
|
||||
<string>Toggle pO₂ graph</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="profPn2">
|
||||
|
@ -667,7 +667,7 @@ p, li { white-space: pre-wrap; }
|
|||
<normaloff>:/icon_n2</normaloff>:/icon_n2</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Toggle pN2 Graph</string>
|
||||
<string>Toggle pN₂ graph</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="profPhe">
|
||||
|
|
|
@ -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.<br/>Click on:<br/><a href=\"%1\">%1</a><br/> to download it.")
|
||||
msgText = tr("A new version of Subsurface is available.<br/>Click on:<br/><a href=\"%1\">%1</a><br/> 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("<b>") + tr("A new version of subsurface is available.") + QString("</b><br/><br/>") +
|
||||
msgText = QString("<b>") + tr("A new version of Subsurface is available.") + QString("</b><br/><br/>") +
|
||||
tr("Latest version is %1, please check with your OS vendor for updates.")
|
||||
.arg(responseBody);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue