Skip to content

Commit

Permalink
Merge pull request #719 from kchu93/MERC-7873
Browse files Browse the repository at this point in the history
MERC-7873 Support multiple character language code for schema translations
  • Loading branch information
kchu93 committed Jun 15, 2021
2 parents 5a63fad + b1d291a commit 2cb4fb3
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion lib/schemas/schemaTranslations.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,24 @@
}
},
"patternProperties": {
"^[a-z]{2}$": {
"[a-z]{2}(-[a-zA-Z0-9]{2,})?$": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false,
"required": ["default"]
},
"^i18n.Bigcommerce.": {
"type": "object",
"properties": {
"default": {
"type": "string",
"minLength": 1
}
},
"patternProperties": {
"[a-z]{2}(-[a-zA-Z0-9]{2,})?$": {
"type": "string",
"minLength": 1
}
Expand Down

0 comments on commit 2cb4fb3

Please sign in to comment.