Browse Source
Merge pull request #22079 from abpframework/auto-merge/rel-9-0/3454
Merge branch rel-9.1 with rel-9.0
pull/22080/head
maliming
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
npm/ng-packs/packages/core/locale/src/utils/register-locale.ts
|
|
|
@ -55,7 +55,7 @@ export function registerLocaleForEsBuild( |
|
|
|
const l = localeMap[locale] || locale; |
|
|
|
const localeSupportList = "ar|cs|en|en-GB|es|de|fi|fr|hi|hu|is|it|pt|tr|ru|ro|sk|sl|zh-Hans|zh-Hant".split("|"); |
|
|
|
|
|
|
|
if (localeSupportList.indexOf(locale) == -1) { |
|
|
|
if (localeSupportList.indexOf(l) == -1) { |
|
|
|
return; |
|
|
|
} |
|
|
|
return new Promise((resolve, reject) => { |
|
|
|
|