And don't forget Fahrenheit

This commit is contained in:
Applevangelist
2022-03-26 14:47:10 +01:00
parent 48f9d808cf
commit 42c6b8a016
5 changed files with 9 additions and 9 deletions

View File

@@ -912,7 +912,7 @@ do -- COORDINATE
-- The text will reflect the temperature like this:
--
-- - For Russian and European aircraft using the metric system - Degrees Celcius (°C)
-- - For American aircraft we link to the imperial system - Degrees Farenheit (°F)
-- - For American aircraft we link to the imperial system - Degrees Fahrenheit (°F)
--
-- A text containing a pressure will look like this:
--
@@ -932,7 +932,7 @@ do -- COORDINATE
if Settings:IsMetric() then
return string.format( " %-2.2f °C", DegreesCelcius )
else
return string.format( " %-2.2f °F", UTILS.CelsiusToFarenheit( DegreesCelcius ) )
return string.format( " %-2.2f °F", UTILS.CelsiusToFahrenheit( DegreesCelcius ) )
end
else
return " no temperature"