more fixes for the UnitsCalculator

- we must read out the unit system description UTF8 to get the characters ² and ³
- update unit system description according to today's unit "cft" addition
- don't hardcode the unit system descriptions in the .ui file
- add acceleration to imperial schema
This commit is contained in:
donovaly
2019-12-24 00:50:15 +01:00
committed by wwmayer
parent 6aeb0910b8
commit ce56205ed0
5 changed files with 13 additions and 43 deletions

View File

@@ -95,7 +95,7 @@ const char* UnitsApi::getDescription(UnitSystem system)
case UnitSystem::Centimeters:
return "Building Euro (cm/m²/m³)";
case UnitSystem::ImperialBuilding:
return "Building US (ft-in/sqft/cuft)";
return "Building US (ft-in/sqft/cft)";
case UnitSystem::MmMin:
return "Metric small parts & CNC(mm, mm/min)";
case UnitSystem::ImperialCivil: