mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[poincare/unit] Add Celsius and Fahrenheit
Temperatures can be converted to and from degree Celsius and Fahrenheit. When used in non-trivial calculations, they are always reduced to undef, as the rules for manipulating relative scales are not well defined. Change-Id: If59e224a0e7f940b421bc894bbe2279c90f38d04
This commit is contained in:
committed by
Émilie Feral
parent
4274b558b6
commit
d37540f032
@@ -160,7 +160,10 @@ const ToolboxMessageTree unitCurrentAmpereChildren[] = {
|
||||
};
|
||||
|
||||
const ToolboxMessageTree unitTemperatureChildren[] = {
|
||||
ToolboxMessageTree::Leaf(I18n::Message::UnitTemperatureKelvinSymbol, I18n::Message::UnitTemperatureKelvin)};
|
||||
ToolboxMessageTree::Leaf(I18n::Message::UnitTemperatureKelvinSymbol, I18n::Message::UnitTemperatureKelvin),
|
||||
ToolboxMessageTree::Leaf(I18n::Message::UnitTemperatureCelsiusSymbol, I18n::Message::UnitTemperatureCelsius),
|
||||
ToolboxMessageTree::Leaf(I18n::Message::UnitTemperatureFahrenheitSymbol, I18n::Message::UnitTemperatureFahrenheit),
|
||||
};
|
||||
|
||||
const ToolboxMessageTree unitAmountMoleChildren[] = {
|
||||
ToolboxMessageTree::Leaf(I18n::Message::UnitAmountMoleSymbol, I18n::Message::UnitAmountMole),
|
||||
|
||||
Reference in New Issue
Block a user