diff --git a/src/i18n/index.ts b/src/i18n/index.ts index 5f285db..4653562 100644 --- a/src/i18n/index.ts +++ b/src/i18n/index.ts @@ -10,6 +10,7 @@ import pt_br from '../i18n/pt_br.json' assert { type: 'json' }; import vi_VN from '../i18n/vi_VN.json' assert { type: 'json' }; import es_ES from '../i18n/es_ES.json' assert { type: 'json' }; import sv from '../i18n/sv.json' assert { type: 'json' }; +import nl from '../i18n/nl.json' assert { type: 'json' }; import ru from '../i18n/ru.json' assert { type: 'json' }; export enum I18nLocals { @@ -19,6 +20,7 @@ export enum I18nLocals { 'ja' = 'ja', 'de' = 'de', 'fr' = 'fr', + 'nl' = 'nl', 'it' = 'it', 'ko' = 'ko', 'pt_br' = 'pt_br', @@ -40,7 +42,8 @@ export const i18n = { vi_VN, es_ES, sv, - ru, + nl, + ru }; export const I18N_CONFIG_ALIAS: { [key: string]: string[] } = { @@ -48,9 +51,10 @@ export const I18N_CONFIG_ALIAS: { [key: string]: string[] } = { zh_TW: ['zh_TW', '繁體中文', '繁體'], ja: ['ja', 'Japanese', 'にほんご'], ko: ['ko', 'Korean', '한국어'], - de: ['de', 'German' ,'Deutsch'], + de: ['de', 'German', 'Deutsch'], fr: ['fr', 'French', 'française'], it: ['it', 'Italian', 'italiano'], + nl: ['nl', 'Dutch', 'Nederlands'], pt_br: ['pt_br', 'Portuguese', 'português'], vi_VN: ['vi_VN', 'Vietnamese', 'tiếng Việt'], en: ['en', 'English', 'english'], diff --git a/src/i18n/nl.json b/src/i18n/nl.json new file mode 100644 index 0000000..11ce75f --- /dev/null +++ b/src/i18n/nl.json @@ -0,0 +1,6 @@ +{ + "localLanguage": "Nederlands", + "commitFix": "fix(server.ts): verander poortvariabele van kleine letters poort naar hoofdletters PORT", + "commitFeat": "feat(server.ts): voeg ondersteuning toe voor process.env.PORT omgevingsvariabele", + "commitDescription": "De poortvariabele heet nu PORT, wat de consistentie met de naamgevingsconventies verbetert omdat PORT een constante is. Ondersteuning voor een omgevingsvariabele maakt de applicatie flexibeler, omdat deze nu kan draaien op elke beschikbare poort die is gespecificeerd via de process.env.PORT omgevingsvariabele." + } \ No newline at end of file