You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2020/03/13 03:46:18 UTC
[incubator-apisix-dashboard] branch next updated: feat: remove some
langs
This is an automated email from the ASF dual-hosted git repository.
juzhiyuan pushed a commit to branch next
in repository https://gitbox.apache.org/repos/asf/incubator-apisix-dashboard.git
The following commit(s) were added to refs/heads/next by this push:
new 60989b3 feat: remove some langs
60989b3 is described below
commit 60989b39406b72ecf89efc87a833d5c6d2fcd51e
Author: juzhiyuan <jj...@gmail.com>
AuthorDate: Fri Mar 13 11:45:45 2020 +0800
feat: remove some langs
---
src/components/SelectLang/index.tsx | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/components/SelectLang/index.tsx b/src/components/SelectLang/index.tsx
index 95df015..4fa97ee 100644
--- a/src/components/SelectLang/index.tsx
+++ b/src/components/SelectLang/index.tsx
@@ -17,18 +17,14 @@ const SelectLang: React.FC<SelectLangProps> = props => {
const changeLang = ({ key }: ClickParam): void => setLocale(key);
- const locales = ['zh-CN', 'zh-TW', 'en-US', 'pt-BR'];
+ const locales = ['zh-CN', 'en-US'];
const languageLabels = {
'zh-CN': '简体中文',
- 'zh-TW': '繁体中文',
'en-US': 'English',
- 'pt-BR': 'Português',
};
const languageIcons = {
'zh-CN': '🇨🇳',
- 'zh-TW': '🇭🇰',
'en-US': '🇺🇸',
- 'pt-BR': '🇧🇷',
};
const langMenu = (
<Menu className={styles.menu} selectedKeys={[selectedLang]} onClick={changeLang}>