Changeset View
Changeset View
Standalone View
Standalone View
src/fuel_efficiency.cpp
Show First 20 Lines • Show All 84 Lines • ▼ Show 20 Line(s) | 78 | addCommonUnit(CustomUnit(new FuelUnitPrivate(FuelEfficiencyCategory, MilePerUsGallon, 235.215, | |||
---|---|---|---|---|---|
85 | ki18ncp("amount in units (integer)", "%1 mile per US gallon", | 85 | ki18ncp("amount in units (integer)", "%1 mile per US gallon", | ||
86 | "%1 miles per US gallon"), | 86 | "%1 miles per US gallon"), | ||
87 | true))); | 87 | true))); | ||
88 | 88 | | |||
89 | addCommonUnit(CustomUnit(new FuelUnitPrivate(FuelEfficiencyCategory, MilePerImperialGallon, 282.481, | 89 | addCommonUnit(CustomUnit(new FuelUnitPrivate(FuelEfficiencyCategory, MilePerImperialGallon, 282.481, | ||
90 | i18nc("fuelefficiency unit symbol", "mpg (imperial)"), | 90 | i18nc("fuelefficiency unit symbol", "mpg (imperial)"), | ||
91 | i18nc("unit description in lists", "miles per imperial gallon"), | 91 | i18nc("unit description in lists", "miles per imperial gallon"), | ||
92 | i18nc("unit synonyms for matching user input", | 92 | i18nc("unit synonyms for matching user input", | ||
93 | "mile per imperial gallon;miles per imperial gallon;mpg (imperial)"), | 93 | "mile per imperial gallon;miles per imperial gallon;mpg (imperial);imp mpg;mpg (imp)"), | ||
94 | symbolString, | 94 | symbolString, | ||
95 | ki18nc("amount in units (real)", "%1 miles per imperial gallon"), | 95 | ki18nc("amount in units (real)", "%1 miles per imperial gallon"), | ||
96 | ki18ncp("amount in units (integer)", "%1 mile per imperial gallon", | 96 | ki18ncp("amount in units (integer)", "%1 mile per imperial gallon", | ||
97 | "%1 miles per imperial gallon"), | 97 | "%1 miles per imperial gallon"), | ||
98 | true))); | 98 | true))); | ||
99 | 99 | | |||
100 | addCommonUnit(CustomUnit(new FuelUnitPrivate(FuelEfficiencyCategory, KilometrePerLitre, 100.0, | 100 | addCommonUnit(CustomUnit(new FuelUnitPrivate(FuelEfficiencyCategory, KilometrePerLitre, 100.0, | ||
101 | i18nc("fuelefficiency unit symbol", "kmpl"), | 101 | i18nc("fuelefficiency unit symbol", "kmpl"), | ||
Show All 11 Lines |