mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Prefer "temp." vs "temp" and sometimes "temperature"
For consitency in the UI There are plenty more of these to find, and once in a while "Temperature" looks more apropriate, like in a title, but most of the time "temp." works best. 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
25114a4e84
commit
8940f29ead
2 changed files with 8 additions and 8 deletions
|
@ -239,11 +239,11 @@ void MainTab::displayMessage(QString str)
|
||||||
void MainTab::updateTextLabels(bool showUnits)
|
void MainTab::updateTextLabels(bool showUnits)
|
||||||
{
|
{
|
||||||
if (showUnits) {
|
if (showUnits) {
|
||||||
ui.airTempLabel->setText(tr("Air temp [%1]").arg(get_temp_unit()));
|
ui.airTempLabel->setText(tr("Air temp. [%1]").arg(get_temp_unit()));
|
||||||
ui.waterTempLabel->setText(tr("Water temp [%1]").arg(get_temp_unit()));
|
ui.waterTempLabel->setText(tr("Water temp. [%1]").arg(get_temp_unit()));
|
||||||
} else {
|
} else {
|
||||||
ui.airTempLabel->setText(tr("Air temp"));
|
ui.airTempLabel->setText(tr("Air temp."));
|
||||||
ui.waterTempLabel->setText(tr("Water temp"));
|
ui.waterTempLabel->setText(tr("Water temp."));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -69,14 +69,14 @@
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="airTempLabel">
|
<widget class="QLabel" name="airTempLabel">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Air temp</string>
|
<string>Air temp.</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="waterTempLabel">
|
<widget class="QLabel" name="waterTempLabel">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Water temp</string>
|
<string>Water temp.</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -604,7 +604,7 @@
|
||||||
<item row="3" column="1">
|
<item row="3" column="1">
|
||||||
<widget class="QGroupBox" name="groupBox_9">
|
<widget class="QGroupBox" name="groupBox_9">
|
||||||
<property name="title">
|
<property name="title">
|
||||||
<string>Air temperature</string>
|
<string>Air temp.</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_11">
|
<layout class="QHBoxLayout" name="horizontalLayout_11">
|
||||||
<item>
|
<item>
|
||||||
|
@ -623,7 +623,7 @@
|
||||||
<item row="3" column="2">
|
<item row="3" column="2">
|
||||||
<widget class="QGroupBox" name="groupBox_8">
|
<widget class="QGroupBox" name="groupBox_8">
|
||||||
<property name="title">
|
<property name="title">
|
||||||
<string>Water temperature</string>
|
<string>Water temp.</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_9">
|
<layout class="QHBoxLayout" name="horizontalLayout_9">
|
||||||
<item>
|
<item>
|
||||||
|
|
Loading…
Add table
Reference in a new issue