fix(locales): correct Japanese language code mapping

This commit is contained in:
Ash Monty 2021-12-08 11:27:58 +01:00
parent 748ca710f6
commit 5681fe85ba
No known key found for this signature in database
GPG Key ID: 24F2A3D0CBE0A68F

View File

@ -45,7 +45,7 @@ app.use(expressLocale({
es: 'es-ES',
fr: 'fr-FR', 'fr-CA': 'fr-FR', 'fr-CH': 'fr-FR',
it: 'it-IT', 'it-CH': 'it-IT',
jp: 'ja-JP',
ja: 'ja-JP',
ko: 'ko-KR',
pt: 'pt-BR',
ro: 'ro-RO',
@ -60,7 +60,7 @@ app.use(expressLocale({
'es', 'es-ES',
'fr', 'fr-FR', 'fr-CA', 'fr-CH',
'it', 'it-IT', 'it-CH',
'jp', 'ja-JP',
'ja', 'ja-JP',
'ko', 'ko-KR',
'pt', 'pt-BR',
'ro', 'ro-RO',