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:
Tim Wootton 2014-07-11 00:06:51 +01:00 committed by Dirk Hohndel
parent 25114a4e84
commit 8940f29ead
2 changed files with 8 additions and 8 deletions

View file

@ -239,11 +239,11 @@ void MainTab::displayMessage(QString str)
void MainTab::updateTextLabels(bool showUnits)
{
if (showUnits) {
ui.airTempLabel->setText(tr("Air temp [%1]").arg(get_temp_unit()));
ui.waterTempLabel->setText(tr("Water 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()));
} else {
ui.airTempLabel->setText(tr("Air temp"));
ui.waterTempLabel->setText(tr("Water temp"));
ui.airTempLabel->setText(tr("Air temp."));
ui.waterTempLabel->setText(tr("Water temp."));
}
}

View file

@ -69,14 +69,14 @@
<item>
<widget class="QLabel" name="airTempLabel">
<property name="text">
<string>Air temp</string>
<string>Air temp.</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="waterTempLabel">
<property name="text">
<string>Water temp</string>
<string>Water temp.</string>
</property>
</widget>
</item>
@ -604,7 +604,7 @@
<item row="3" column="1">
<widget class="QGroupBox" name="groupBox_9">
<property name="title">
<string>Air temperature</string>
<string>Air temp.</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_11">
<item>
@ -623,7 +623,7 @@
<item row="3" column="2">
<widget class="QGroupBox" name="groupBox_8">
<property name="title">
<string>Water temperature</string>
<string>Water temp.</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_9">
<item>