diff --git a/src/FactSystem/Fact.cc b/src/FactSystem/Fact.cc index 564ed097787..b756a4ad373 100644 --- a/src/FactSystem/Fact.cc +++ b/src/FactSystem/Fact.cc @@ -386,14 +386,14 @@ QString Fact::invalidValueString(int decimalPlaces) const { case FactMetaData::valueTypeFloat: case FactMetaData::valueTypeDouble: if (decimalPlaces <= 0) { - return QStringLiteral("--"); + return QStringLiteral("–"); } - return QStringLiteral("--.") + - QString(decimalPlaces, QLatin1Char('-')); + return QStringLiteral("–.") + + QString(decimalPlaces, QChar(u'–')); case FactMetaData::valueTypeElapsedTimeInSeconds: - return QStringLiteral("--:--:--"); + return QStringLiteral("––:––:––"); default: - return QStringLiteral("--"); + return QStringLiteral("–"); } } diff --git a/src/FlightDisplay/ProximityRadarValues.qml b/src/FlightDisplay/ProximityRadarValues.qml index bb92183f1a1..9f9996d796f 100644 --- a/src/FlightDisplay/ProximityRadarValues.qml +++ b/src/FlightDisplay/ProximityRadarValues.qml @@ -40,7 +40,7 @@ QtObject { property var rgRotationValueStrings: [ rotationNoneValueString, rotationYaw45ValueString, rotationYaw90ValueString, rotationYaw135ValueString, rotationYaw180ValueString, rotationYaw225ValueString, rotationYaw270ValueString, rotationYaw315ValueString ] property var _distanceSensors: vehicle ? vehicle.distanceSensors : null - property string _noValueStr: qsTr("--.--") + property string _noValueStr: qsTr("–.––") onRotationNoneValueChanged: rotationValueChanged() onRotationYaw45ValueChanged: rotationValueChanged() diff --git a/src/QmlControls/GPSIndicatorPage.qml b/src/QmlControls/GPSIndicatorPage.qml index 3849c97df4f..152d5a74a1e 100644 --- a/src/QmlControls/GPSIndicatorPage.qml +++ b/src/QmlControls/GPSIndicatorPage.qml @@ -21,7 +21,7 @@ ToolIndicatorPage { property var activeVehicle: QGroundControl.multiVehicleManager.activeVehicle property string na: qsTr("N/A", "No data to display") - property string valueNA: qsTr("--.--", "No data to display") + property string valueNA: qsTr("–.––", "No data to display") property var rtkSettings: QGroundControl.settingsManager.rtkSettings property var useFixedPosition: rtkSettings.useFixedBasePosition.rawValue property var manufacturer: rtkSettings.baseReceiverManufacturers.rawValue diff --git a/src/QmlControls/InstrumentValueValue.qml b/src/QmlControls/InstrumentValueValue.qml index c8ef3b4fbbb..afa307a1b62 100644 --- a/src/QmlControls/InstrumentValueValue.qml +++ b/src/QmlControls/InstrumentValueValue.qml @@ -43,7 +43,7 @@ ColumnLayout { if (instrumentValueData.fact) { return instrumentValueData.fact.enumOrValueString + (instrumentValueData.showUnits ? " " + instrumentValueData.fact.units : "") } else { - return qsTr("--") + return qsTr("–") } } } diff --git a/src/UI/toolbar/EscIndicatorPage.qml b/src/UI/toolbar/EscIndicatorPage.qml index 75e35a81e32..ed97745b7b7 100644 --- a/src/UI/toolbar/EscIndicatorPage.qml +++ b/src/UI/toolbar/EscIndicatorPage.qml @@ -20,7 +20,7 @@ ToolIndicatorPage { property var activeVehicle: QGroundControl.multiVehicleManager.activeVehicle property string na: qsTr("N/A", "No data to display") - property string valueNA: qsTr("--", "No data to display") + property string valueNA: qsTr("–", "No data to display") property var _escs: activeVehicle ? activeVehicle.escs : null property int _onlineBitmask: _escs ? _escs.get(0).info.rawValue : 0 diff --git a/src/Vehicle/FactGroups/BatteryFactGroupListModel.cc b/src/Vehicle/FactGroups/BatteryFactGroupListModel.cc index 0012e4c29a2..77a86224c9c 100644 --- a/src/Vehicle/FactGroups/BatteryFactGroupListModel.cc +++ b/src/Vehicle/FactGroups/BatteryFactGroupListModel.cc @@ -156,7 +156,7 @@ void BatteryFactGroup::_handleBatteryStatus(Vehicle *vehicle, const mavlink_mess void BatteryFactGroup::_timeRemainingChanged(const QVariant &value) { if (qIsNaN(value.toDouble())) { - _timeRemainingStrFact.setRawValue("--:--:--"); + _timeRemainingStrFact.setRawValue("––:––:––"); } else { const int totalSeconds = value.toInt(); const int hours = totalSeconds / 3600; diff --git a/src/Vehicle/FactGroups/VehicleFactGroup.cc b/src/Vehicle/FactGroups/VehicleFactGroup.cc index 9ea23471dd5..2d0942398f0 100644 --- a/src/Vehicle/FactGroups/VehicleFactGroup.cc +++ b/src/Vehicle/FactGroups/VehicleFactGroup.cc @@ -49,7 +49,7 @@ VehicleFactGroup::VehicleFactGroup(QObject *parent) _addFact(&_throttlePctFact); _addFact(&_imuTempFact); - _hobbsFact.setRawValue(QStringLiteral("----:--:--")); + _hobbsFact.setRawValue(QStringLiteral("––––:––:––")); } void VehicleFactGroup::handleMessage(Vehicle *vehicle, const mavlink_message_t &message)