diff options
author | Chocobozzz <me@florianbigard.com> | 2023-03-10 12:01:21 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-03-10 15:45:52 +0100 |
commit | 3b504f6ed4e890bebb46d0481aba15b43050323a (patch) | |
tree | bbe4c1bc529fec28e0b46263ec92f7c2260ba65a /shared/core-utils/i18n | |
parent | 4899138ec5995075c3681ccbd9f6b163fb915991 (diff) | |
download | PeerTube-3b504f6ed4e890bebb46d0481aba15b43050323a.tar.gz PeerTube-3b504f6ed4e890bebb46d0481aba15b43050323a.tar.zst PeerTube-3b504f6ed4e890bebb46d0481aba15b43050323a.zip |
Add ability for plugins to alter video jsonld
Diffstat (limited to 'shared/core-utils/i18n')
-rw-r--r-- | shared/core-utils/i18n/i18n.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/shared/core-utils/i18n/i18n.ts b/shared/core-utils/i18n/i18n.ts index c43e249a6..38c1b0cc9 100644 --- a/shared/core-utils/i18n/i18n.ts +++ b/shared/core-utils/i18n/i18n.ts | |||
@@ -75,8 +75,7 @@ const I18N_LOCALE_ALIAS = { | |||
75 | 'zh': 'zh-Hans-CN' | 75 | 'zh': 'zh-Hans-CN' |
76 | } | 76 | } |
77 | 77 | ||
78 | export const POSSIBLE_LOCALES = Object.keys(I18N_LOCALES) | 78 | export const POSSIBLE_LOCALES = (Object.keys(I18N_LOCALES) as string[]).concat(Object.keys(I18N_LOCALE_ALIAS)) |
79 | .concat(Object.keys(I18N_LOCALE_ALIAS)) | ||
80 | 79 | ||
81 | export function getDefaultLocale () { | 80 | export function getDefaultLocale () { |
82 | return 'en-US' | 81 | return 'en-US' |