Skip to content

Commit 2cb4fb3

Browse files
authored
Merge pull request #719 from kchu93/MERC-7873
MERC-7873 Support multiple character language code for schema translations
2 parents 5a63fad + b1d291a commit 2cb4fb3

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

lib/schemas/schemaTranslations.json

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,24 @@
1313
}
1414
},
1515
"patternProperties": {
16-
"^[a-z]{2}$": {
16+
"[a-z]{2}(-[a-zA-Z0-9]{2,})?$": {
17+
"type": "string",
18+
"minLength": 1
19+
}
20+
},
21+
"additionalProperties": false,
22+
"required": ["default"]
23+
},
24+
"^i18n.Bigcommerce.": {
25+
"type": "object",
26+
"properties": {
27+
"default": {
28+
"type": "string",
29+
"minLength": 1
30+
}
31+
},
32+
"patternProperties": {
33+
"[a-z]{2}(-[a-zA-Z0-9]{2,})?$": {
1734
"type": "string",
1835
"minLength": 1
1936
}

0 commit comments

Comments
 (0)