mirror of https://github.com/facebook/jest.git
Temporarily disable other locales to unbreak the website deploy.
This commit is contained in:
parent
469f665c2d
commit
dba8c8da63
|
@ -7,46 +7,12 @@
|
||||||
|
|
||||||
// The top-30 locales on Crowdin are enabled
|
// The top-30 locales on Crowdin are enabled
|
||||||
// but we enable only a subset of those
|
// but we enable only a subset of those
|
||||||
const locales = [
|
const locales = ['en'];
|
||||||
'en',
|
|
||||||
'ja',
|
|
||||||
'es-ES',
|
|
||||||
'fr',
|
|
||||||
'pt-BR',
|
|
||||||
'ro',
|
|
||||||
'ru',
|
|
||||||
'uk',
|
|
||||||
'zh-Hans',
|
|
||||||
];
|
|
||||||
|
|
||||||
const localeConfigs = {
|
const localeConfigs = {
|
||||||
en: {
|
en: {
|
||||||
label: 'English',
|
label: 'English',
|
||||||
},
|
},
|
||||||
ja: {
|
|
||||||
label: '日本語',
|
|
||||||
},
|
|
||||||
'es-ES': {
|
|
||||||
label: 'Español',
|
|
||||||
},
|
|
||||||
fr: {
|
|
||||||
label: 'Français',
|
|
||||||
},
|
|
||||||
'pt-BR': {
|
|
||||||
label: 'Português (Brasil)',
|
|
||||||
},
|
|
||||||
ro: {
|
|
||||||
label: 'Română',
|
|
||||||
},
|
|
||||||
ru: {
|
|
||||||
label: 'Русский',
|
|
||||||
},
|
|
||||||
uk: {
|
|
||||||
label: 'Українська',
|
|
||||||
},
|
|
||||||
'zh-Hans': {
|
|
||||||
label: '简体中文',
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Docusaurus 2 i18n config
|
// Docusaurus 2 i18n config
|
||||||
|
|
Loading…
Reference in New Issue