From b6371ab168cfc9a951126994e50673d84a5736cf Mon Sep 17 00:00:00 2001 From: wb-lh513319 Date: Tue, 20 Aug 2024 16:22:28 +0800 Subject: [PATCH] feat: all apps internationalization --- web_new/locales/en/common.ts | 1 + web_new/locales/zh/common.ts | 1 + web_new/pages/index.tsx | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/web_new/locales/en/common.ts b/web_new/locales/en/common.ts index 64db3b3b0..0818800f5 100644 --- a/web_new/locales/en/common.ts +++ b/web_new/locales/en/common.ts @@ -228,6 +228,7 @@ export const CommonEn = { construct: ' Construct App', chat_online: 'Chat', recommend_apps: 'Recommend', + all_apps: 'All', latest_apps: 'Latest', my_collected_apps: 'Collected', collect_success: 'Collect success', diff --git a/web_new/locales/zh/common.ts b/web_new/locales/zh/common.ts index 816dbbad4..122356260 100644 --- a/web_new/locales/zh/common.ts +++ b/web_new/locales/zh/common.ts @@ -236,6 +236,7 @@ export const CommonZh: Resources['translation'] = { construct: '应用管理', chat_online: '在线对话', recommend_apps: '热门推荐', + all_apps: '热门推荐', latest_apps: '最新应用', my_collected_apps: '我的收藏', collect_success: '收藏成功', diff --git a/web_new/pages/index.tsx b/web_new/pages/index.tsx index 3a11a89a4..47507b3f8 100644 --- a/web_new/pages/index.tsx +++ b/web_new/pages/index.tsx @@ -36,7 +36,7 @@ const Playground: NextPage = () => { }, { value: 'all', - label: '全部应用', + label: t('all_apps'), }, { value: 'collected',