Refactoring: allow to reuse units, move all units into central file

This commit is contained in:
Pieter Vander Vennet 2023-12-12 03:46:51 +01:00
parent 067fb549c1
commit 94e07d5b13
30 changed files with 1495 additions and 1307 deletions

View file

@ -362,29 +362,12 @@
},
"units": [
{
"appliesToKey": [
"height"
],
"applicableUnits": [
{
"canonicalDenomination": "m",
"alternativeDenomination": [
"meter",
"mtr"
],
"human": {
"nl": " meter",
"en": " meter",
"ru": " метр",
"de": " Meter",
"ca": " metre",
"es": " metros",
"pl": " metr",
"cs": " metr"
}
}
],
"eraseInvalidValues": true
"height": {
"quantity": "distance",
"denominations": [
"m"
]
}
}
]
}