lbry-desktop/ui/constants/supported_browser_languages.js
infinite-persistence cba369a5ce
Restore lost languages (#5972)
While looking at the next RC, I noticed the new languages were lost. I recall the new language commit included some refactoring which had to be reverted due to some webpack issue.

Re-add those languages in the old (non-refactored) method.
2021-04-28 20:27:04 -04:00

45 lines
632 B
JavaScript

const SUPPORTED_BROWSER_LANGUAGES = {
af: 'af',
en: 'en',
da: 'da',
'zh-CN': 'zh-Hans',
'zh-TW': 'zh-Hant',
'zh-Hans': 'zh-Hans',
'zh-Hant': 'zh-Hant',
hr: 'hr',
nl: 'nl',
no: 'no',
fi: 'fi',
fil: 'fil',
fr: 'fr',
de: 'de',
gu: 'gu',
hi: 'hi',
id: 'id',
ja: 'ja',
jv: 'jv',
it: 'it',
ms: 'ms',
ml: 'ml',
mr: 'mr',
pa: 'pa',
pl: 'pl',
pt: 'pt',
'pt-BR': 'pt-BR',
ro: 'ro',
ru: 'ru',
sr: 'sr',
sk: 'sk',
th: 'th',
ur: 'ur',
ca: 'ca',
es: 'es',
sv: 'sv',
tr: 'tr',
cs: 'cs',
kn: 'kn',
uk: 'uk',
vi: 'vi',
};
export default SUPPORTED_BROWSER_LANGUAGES;