Expand locale data sets; match tests against patterns instead of fixed sets

This commit is contained in:
lilleman
2026-06-08 16:02:58 +02:00
parent 770dcd72f2
commit e28b92090d
24 changed files with 250 additions and 143 deletions
+7 -1
View File
@@ -1,7 +1,13 @@
[
{
"format": "{amt}{ore} kr",
"amt": [{ "format": "10", "weight": 3 }, { "format": "100", "weight": 2 }, { "format": "1 000" }],
"amt": [
{ "format": "1", "weight": 2 },
{ "format": "10", "weight": 4 },
{ "format": "100", "weight": 3 },
{ "format": "1 000", "weight": 1 },
{ "format": "10 000", "weight": 0.3 }
],
"ore": ["", { "format": ",{c}", "c": [{ "format": "00" }], "weight": 0.4 }]
}
]