From 719c22fef8fd3e5ccbd8d38a690cf5a806d8a6b6 Mon Sep 17 00:00:00 2001 From: Steven Date: Wed, 29 May 2024 07:39:16 +0800 Subject: [PATCH] chore: update i18n --- web/src/components/UserStatisticsView.tsx | 16 ++++++++-------- web/src/locales/en.json | 4 +++- web/src/locales/zh-Hans.json | 4 +++- web/src/locales/zh-Hant.json | 4 +++- web/src/pages/Archived.tsx | 2 +- 5 files changed, 18 insertions(+), 12 deletions(-) diff --git a/web/src/components/UserStatisticsView.tsx b/web/src/components/UserStatisticsView.tsx index d6b4663f..3d13ed81 100644 --- a/web/src/components/UserStatisticsView.tsx +++ b/web/src/components/UserStatisticsView.tsx @@ -61,46 +61,46 @@ const UserStatisticsView = (props: Props) => {
- {t("common.days")} + Days
{days}
- {t("common.memos")} + Memos
{isRequesting ? : {memoAmount}}
filterStore.setMemoPropertyFilter({ hasLink: true })} >
- Links + {t("memo.links")}
{memoStats.links}
filterStore.setMemoPropertyFilter({ hasTaskList: true })} >
- Todos + {t("memo.to-do")}
{memoStats.todos}
filterStore.setMemoPropertyFilter({ hasCode: true })} >
- Code + {t("memo.code")}
{memoStats.code}
diff --git a/web/src/locales/en.json b/web/src/locales/en.json index 6f257dad..e9dc39bf 100644 --- a/web/src/locales/en.json +++ b/web/src/locales/en.json @@ -116,7 +116,9 @@ "protected": "Workspace", "public": "Public" }, - "wrapping": "Wrapping" + "links": "Links", + "to-do": "To-do", + "code": "Code" }, "message": { "archived-successfully": "Archived successfully", diff --git a/web/src/locales/zh-Hans.json b/web/src/locales/zh-Hans.json index 6a963e16..19080ee2 100644 --- a/web/src/locales/zh-Hans.json +++ b/web/src/locales/zh-Hans.json @@ -116,7 +116,9 @@ "protected": "工作区", "public": "公开" }, - "wrapping": "包装" + "links": "链接", + "to-do": "待办", + "code": "代码" }, "message": { "archived-successfully": "归档成功", diff --git a/web/src/locales/zh-Hant.json b/web/src/locales/zh-Hant.json index 1e34c5b7..4d809976 100644 --- a/web/src/locales/zh-Hant.json +++ b/web/src/locales/zh-Hant.json @@ -116,7 +116,9 @@ "protected": "成員可見", "public": "公開給所有人" }, - "wrapping": "包裝" + "links": "連結", + "to-do": "待辦", + "code": "代碼" }, "message": { "archived-successfully": "封存成功", diff --git a/web/src/pages/Archived.tsx b/web/src/pages/Archived.tsx index 0e5335b1..ef9f76c4 100644 --- a/web/src/pages/Archived.tsx +++ b/web/src/pages/Archived.tsx @@ -93,7 +93,7 @@ const Archived = () => {
- {t("common.archived")} + {t("common.archived")}