From 2157651d1736380ed69f0fb7d9ad966f711c23a1 Mon Sep 17 00:00:00 2001 From: Peng Ding Date: Fri, 7 Jul 2023 08:40:35 +0800 Subject: [PATCH] update zh-Hans & zh-Hant translations (#1909) --- web/src/locales/zh-Hans.json | 31 +++++++++++++------- web/src/locales/zh-Hant.json | 57 ++++++++++++++++++++++++++++++++---- 2 files changed, 72 insertions(+), 16 deletions(-) diff --git a/web/src/locales/zh-Hans.json b/web/src/locales/zh-Hans.json index 7b468678..fc1658fa 100644 --- a/web/src/locales/zh-Hans.json +++ b/web/src/locales/zh-Hans.json @@ -66,7 +66,14 @@ "version": "版本", "visibility": "可见性", "yourself": "你自己", - "new": "新建" + "new": "新建", + "dialog": { + "help": "帮助", + "info": "信息", + "error": "错误", + "warning": "警告", + "success": "成功" + } }, "about": { "about-memos": "关于Memos", @@ -167,10 +174,10 @@ } }, "heatmap": { - "day": "天", - "days": "天", - "memo-in": " 条 memos", - "memos-in": " 条 memos", + "day": "天中", + "days": "天中", + "memo-in": " 条备忘录,在过去的", + "memos-in": " 条备忘录,在过去的", "memo-on": "{{date}} 记了 {{amount}} 条备忘录", "memos-on": "{{date}} 记了 {{amount}} 条备忘录" }, @@ -241,7 +248,9 @@ "too-long": "过长", "too-short": "过短", "update-succeed": "更新成功", - "user-not-found": "未找到该用户" + "user-not-found": "未找到该用户", + "maximum-upload-size-is": "允许的最大上传大小为 {{size}} MiB", + "file-exceeds-upload-limit-of": "文件 {{file}} 超出了 {{size}} MiB 的上传限制" }, "resource": { "clear": "清除", @@ -337,7 +346,8 @@ "telegram-user-id": "Telegram UserID", "telegram-user-id-placeholder": "向Telegram机器人发送任意消息以获取", "theme": "主题", - "updated_ts": "更新时间" + "updated_ts": "更新时间", + "default-resource-visibility": "默认资源可见性" }, "sso": "SSO", "sso-section": { @@ -413,7 +423,6 @@ "disable-public-memos": "禁用公共备忘录", "ignore-version-upgrade": "忽略版本升级", "telegram-bot-token": "Telegram 机器人 Token", - "telegram-bot-token-description": "从 Telegram 的 @BotFather 处获取", "telegram-bot-token-description": "Telegram 机器人Token或`http.../bot`格式的代理地址", "telegram-bot-token-placeholder": "Telegram 的机器人 Token", "openai-api-host": "OpenAI:API Host", @@ -421,7 +430,9 @@ "openai-api-key": "OpenAI:API 密钥", "openai-api-key-description": "获取 API Key", "openai-api-key-placeholder": "您的 OpenAI API Key", - "server-name": "服务名称" + "server-name": "服务名称", + "max-upload-size-hint": "建议值为 32 MiB。", + "max-upload-size": "最大上传大小 (MiB)" } }, "shortcut-list": { @@ -439,4 +450,4 @@ "tag-name": "标签名称", "tip-text": "输入`#tag`来创建标签" } -} +} \ No newline at end of file diff --git a/web/src/locales/zh-Hant.json b/web/src/locales/zh-Hant.json index 15259884..a7d2a469 100644 --- a/web/src/locales/zh-Hant.json +++ b/web/src/locales/zh-Hant.json @@ -67,7 +67,14 @@ "info": "資訊", "success": "成功", "warning": "警告" - } + }, + "new": "新建", + "back-to-home": "回到主頁", + "archived-at": "歸檔於", + "daily-review": "每日回顧", + "update-on": "更新於", + "repeat-new-password": "重複新密碼", + "new-password": "新密碼" }, "router": { "back-to-home": "回到首頁" @@ -106,7 +113,8 @@ "disabled": "公開 memos 為禁用的" }, "delete-memo": "刪除 Memo", - "delete-confirm": "您確定要刪除此memo?\n\n此動作為不可逆❗" + "delete-confirm": "您確定要刪除此memo?\n\n此動作為不可逆❗", + "copy": "複製" }, "resource": { "no-resources": "沒有資源。", @@ -140,8 +148,18 @@ "file-name-placeholder": "檔案名稱", "type": "類型", "type-placeholder": "檔案類型" + }, + "download-link": { + "option": "從外部鏈接下載" } - } + }, + "name": "資源名稱", + "description": "查看在備忘錄中的靜態資源。例如:圖片", + "upload": "上傳", + "preview": "預覽", + "select": "選擇", + "rename": "重命名", + "clear": "清除" }, "shortcut-list": { "shortcut-title": "捷徑標題", @@ -193,7 +211,7 @@ "mobile-editor-style": "行動版編輯器樣式", "default-memo-sort-option": "Memo 顯示時間", "telegram-user-id": "Telegram UserID", - "telegram-user-id-placeholder": "向 Telegram 機器人傳送任意訊息以獲取", + "telegram-user-id-placeholder": "向 Telegram 機器人傳送任意訊息以獲取", "created_ts": "建立時間", "updated_ts": "更新時間", "daily-review-time-offset": "每日回顧時間偏移", @@ -374,7 +392,14 @@ "thu": "四", "fri": "五", "sat": "六", - "sun": "日" + "sun": "日", + "tuesday": "星期二", + "sunday": "星期天", + "monday": "星期一", + "thursday": "星期四", + "saturday": "星期六", + "friday": "星期五", + "wednesday": "星期三" }, "ask-ai": { "title": "問 AI", @@ -405,5 +430,25 @@ "no-server-description": "此伺服器未設置說明。", "powered-by": "威力本源", "other-projects": "其他專案" + }, + "amount-text": { + "tag_other": "TAGS", + "day_other": "DAYS", + "memo_one": "MEMO", + "tag_one": "TAG", + "day_one": "DAY", + "memo_other": "MEMOS" + }, + "memo-list": { + "fetch-more": "點擊加載更多", + "fetching-data": "請求數據中..." + }, + "archived": { + "no-archived-memos": "沒有歸檔的備忘錄", + "fetching-data": "請求數據中...", + "archived-memos": "已歸檔的備忘錄" + }, + "search": { + "quickly-filter": "快速過濾" } -} +} \ No newline at end of file