Rework units to allow picking different default units in different locations, fixes #1011
This commit is contained in:
parent
e981abd2aa
commit
5da76b9418
17 changed files with 149 additions and 100 deletions
|
@ -467,10 +467,12 @@
|
|||
"units": [
|
||||
{
|
||||
"appliesToKey": [
|
||||
"kerb:height"
|
||||
"kerb:height",
|
||||
"width"
|
||||
],
|
||||
"applicableUnits": [
|
||||
{
|
||||
{
|
||||
"useIfNoUnitGiven": true,
|
||||
"canonicalDenomination": "m",
|
||||
"alternativeDenomination": [
|
||||
"meter"
|
||||
|
@ -483,7 +485,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"default": true,
|
||||
"useAsDefaultInput": true,
|
||||
"canonicalDenomination": "cm",
|
||||
"alternativeDenomination": [
|
||||
"centimeter",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue