Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 39acb44

Browse files
fix: localeConfig fix
1 parent 3c08280 commit 39acb44

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

docusaurus.config.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,6 @@ const config = {
2626
defaultLocale: 'en',
2727
locales: ['en', 'es', 'zh-Hans', 'zh-Hant', 'fr', 'de', 'vi', 'th'],
2828
localeConfigs: {
29-
en: {
30-
label: 'English',
31-
},
32-
es: {
33-
label: 'Español',
34-
},
35-
fr: {
36-
label: 'Français',
37-
},
38-
de: {
39-
label: 'Deutsch',
40-
},
41-
vi: {
42-
label: 'Tiếng Việt',
43-
},
4429
th: {
4530
label: 'Thai',
4631
},

src/theme/NavbarItem/LocaleDropdownNavbarItem/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export default function LocaleDropdownNavbarItem({
5454
case 'th':
5555
return 'TH';
5656
default:
57-
return '';
57+
return 'EN';
5858
}
5959
};
6060

0 commit comments

Comments
 (0)