Skip to content

Commit

Permalink
chore(message-system): adjusting validation schema and tests to new lngs
Browse files Browse the repository at this point in the history
  • Loading branch information
MiroslavProchazka committed Aug 15, 2024
1 parent 046a173 commit 5987a6a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
23 changes: 22 additions & 1 deletion suite-common/message-system/schema/config.schema.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@
"title": "Localization",
"description": "A multilingual text localization.",
"type": "object",
"required": ["en-GB", "en", "es", "cs", "ru", "ja"],
"required": ["en-GB", "en", "es", "cs", "de", "fr", "it", "pt", "tr"],
"properties": {
"en-GB": {
"type": "string"
Expand All @@ -386,6 +386,27 @@
},
"ja": {
"type": "string"
},
"de": {
"type": "string"
},
"fr": {
"type": "string"
},
"it": {
"type": "string"
},
"pt": {
"type": "string"
},
"tr": {
"type": "string"
},
"uk": {
"type": "string"
},
"hu": {
"type": "string"
}
},
"additionalProperties": {
Expand Down
7 changes: 5 additions & 2 deletions suite-common/suite-types/src/messageSystem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,11 @@ export interface Localization {
en: string;
es: string;
cs: string;
ru: string;
ja: string;
de: string;
fr: string;
it: string;
tr: string;
pt: string;
[k: string]: string;
}
/**
Expand Down

0 comments on commit 5987a6a

Please sign in to comment.