diff --git a/locale/generate.ts b/locale/generate.ts index 36ae42ea3..1473353bf 100644 --- a/locale/generate.ts +++ b/locale/generate.ts @@ -11,6 +11,7 @@ const __dirname = new URL('.', import.meta.url).pathname; const generateConfigJsonSchema = async () => { const schema = createGenerator({ path: `${__dirname}/config.ts`, + tsconfig: `${__dirname}/../tsconfig.json`, strictTuples: true, markdownDescription: true, // speed up schema generation; type checking happens separately diff --git a/locale/it/config.suml b/locale/it/config.suml index 5ca82f00e..5c84a8fae 100644 --- a/locale/it/config.suml +++ b/locale/it/config.suml @@ -154,17 +154,36 @@ terminology: enabled: true published: true categories: - - 'Orientamento sessuale' - - 'Orientamento romantico' - - 'Orientamento terziario' - - 'Genere' - - 'Espressione di genere' - - 'Modello di relazione' - - 'Lingua' - - 'Attrazione' - - 'Politica' - - 'Pregiudizio' - + - + key: 'sexual orientation' + text: 'Orientamento sessuale' + - + key: 'romantic orientation' + text: 'Orientamento romantico' + - + key: 'tertiary orientation' + text: 'Orientamento terziario' + - + key: 'gender' + text: 'Genere' + - + key: 'gender expression' + text: 'Espressione di genere' + - + key: 'relationship model' + text: 'Modello di relazione' + - + key: 'language' + text: 'Lingua' + - + key: 'attraction' + text: 'Attrazione' + - + key: 'politics' + text: 'Politica' + - + key: 'prejudice' + text: 'Pregiudizio' route: 'Terminologia' names: diff --git a/locale/ro/config.suml b/locale/ro/config.suml index 5d623c0b8..e1c9e0eee 100644 --- a/locale/ro/config.suml +++ b/locale/ro/config.suml @@ -158,7 +158,9 @@ terminology: - key: 'politică' text: 'politică' - - 'prejudiciu' + - + key: 'prejudiciu' + text: 'prejudiciu' route: 'terminologie'