1
0
Fork 0

Launcher: missed translations MichaelD spotted

This commit is contained in:
James Turner 2020-10-31 17:00:03 +00:00 committed by James Turner
parent ca103e7fce
commit d29f25c391
2 changed files with 4 additions and 2 deletions

View file

@ -86,7 +86,7 @@ std::vector<UnitData> static_unitData = {
{ QT_TRANSLATE_NOOP("UnitsModel", "Km"), QT_TRANSLATE_NOOP("UnitsModel", "Kilometers"), "00000", false, 0, 999999, 1.0, false /* no wrap */, 1 /* decimal places */}, { QT_TRANSLATE_NOOP("UnitsModel", "Km"), QT_TRANSLATE_NOOP("UnitsModel", "Kilometers"), "00000", false, 0, 999999, 1.0, false /* no wrap */, 1 /* decimal places */},
{ QT_TRANSLATE_NOOP("UnitsModel", "MHz"), QT_TRANSLATE_NOOP("UnitsModel", "MHz"), "00000", false, 105, 140, 0.025, false /* no wrap */, 3 /* decimal places */}, { QT_TRANSLATE_NOOP("UnitsModel", "MHz"), QT_TRANSLATE_NOOP("UnitsModel", "MHz"), "00000", false, 105, 140, 0.025, false /* no wrap */, 3 /* decimal places */},
{ QT_TRANSLATE_NOOP("UnitsModel", "KHz"), QT_TRANSLATE_NOOP("UnitsModel", "KHz"), "00000", false, 200, 400, 1.0, false /* no wrap */, 0 /* decimal places */} { QT_TRANSLATE_NOOP("UnitsModel", "kHz"), QT_TRANSLATE_NOOP("UnitsModel", "kHz"), "00000", false, 200, 400, 1.0, false /* no wrap */, 0 /* decimal places */}
}; };

View file

@ -138,7 +138,7 @@ Item {
PopupChoice { PopupChoice {
id: flightRules id: flightRules
label: qsTr("Flight rules:") label: qsTr("Flight rules:")
model: ["VFR", "IFR"] // initially IFR (Y), initially VFR (Z) model: [qsTr("VFR"), qsTr("IFR")] // initially IFR (Y), initially VFR (Z)
Component.onCompleted: { Component.onCompleted: {
select(_launcher.flightPlan.flightRules); select(_launcher.flightPlan.flightRules);
@ -379,6 +379,8 @@ Item {
TimeEdit { TimeEdit {
id: enrouteEstimate id: enrouteEstimate
isDuration: true
label: qsTr("Estimated enroute time:") label: qsTr("Estimated enroute time:")
Component.onCompleted: { Component.onCompleted: {