From 60f29171f600082be9cd68fc7e5d71172a136049 Mon Sep 17 00:00:00 2001 From: hailin Date: Sun, 20 Apr 2025 23:10:52 +0800 Subject: [PATCH] . --- components/chat/chat-help.tsx | 22 +++++++++++----------- public/locales/en/translation.json | 22 ++++++++++++++++++++-- public/locales/ja/translation.json | 24 ++++++++++++++++++++---- public/locales/zh/translation.json | 22 ++++++++++++++++++++-- 4 files changed, 71 insertions(+), 19 deletions(-) diff --git a/components/chat/chat-help.tsx b/components/chat/chat-help.tsx index 4895ea4..e03eff3 100644 --- a/components/chat/chat-help.tsx +++ b/components/chat/chat-help.tsx @@ -35,7 +35,7 @@ export const ChatHelp: FC = ({}) => {
@@ -44,7 +44,7 @@ export const ChatHelp: FC = ({}) => { @@ -69,7 +69,7 @@ export const ChatHelp: FC = ({}) => { -
Show Help
+
{t("help.showHelp")}
⌘ @@ -84,7 +84,7 @@ export const ChatHelp: FC = ({}) => { -
Show Workspaces
+
{t("help.showWorkspaces")}
⌘ @@ -99,7 +99,7 @@ export const ChatHelp: FC = ({}) => { -
New Chat
+
{t("help.newChat")}
⌘ @@ -114,7 +114,7 @@ export const ChatHelp: FC = ({}) => { -
Focus Chat
+
{t("help.focusChat")}
⌘ @@ -129,7 +129,7 @@ export const ChatHelp: FC = ({}) => { -
Toggle Files
+
{t("help.toggleFiles")}
⌘ @@ -144,7 +144,7 @@ export const ChatHelp: FC = ({}) => { -
Toggle Retrieval
+
{t("help.toggleRetrieval")}
⌘ @@ -159,7 +159,7 @@ export const ChatHelp: FC = ({}) => { -
Open Settings
+
{t("help.openSettings")}
⌘ @@ -174,7 +174,7 @@ export const ChatHelp: FC = ({}) => { -
Open Quick Settings
+
{t("help.openQuickSettings")}
⌘ @@ -189,7 +189,7 @@ export const ChatHelp: FC = ({}) => { -
Toggle Sidebar
+
{t("help.toggleSidebar")}
⌘ diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json index 997ec62..cd9d1ee 100644 --- a/public/locales/en/translation.json +++ b/public/locales/en/translation.json @@ -216,8 +216,26 @@ "models": "models" }, - "modelProvider": { - "custom": "CUSTOM" + "modelProvider": { + "custom": "CUSTOM" + }, + + "help": { + "showHelp": "Show Help", + "showWorkspaces": "Show Workspaces", + "newChat": "New Chat", + "focusChat": "Focus Chat", + "toggleFiles": "Toggle Files", + "toggleRetrieval": "Toggle Retrieval", + "openSettings": "Open Settings", + "openQuickSettings": "Open Quick Settings", + "toggleSidebar": "Toggle Sidebar", + "updates": "Updates", + "markAsRead": "Mark as Read", + "markAllAsRead": "Mark All as Read", + "demo": "Demo", + "youAreAllCaughtUp": "You are all caught up!", + "showRecentUpdates": "Show recent updates" } } diff --git a/public/locales/ja/translation.json b/public/locales/ja/translation.json index af68d86..cbf969f 100644 --- a/public/locales/ja/translation.json +++ b/public/locales/ja/translation.json @@ -201,8 +201,7 @@ "toolNamePlaceholder": "ツール名...", "toolDescriptionPlaceholder": "ツールの説明...", "customHeadersLabel": "カスタムヘッダー", - "schemaLabel": "スキーマ" - + "schemaLabel": "スキーマ" }, "contentType": { @@ -218,7 +217,24 @@ "modelProvider": { "custom": "カスタム" - } + }, - } + "help": { + "showHelp": "ヘルプを表示", + "showWorkspaces": "ワークスペースを表示", + "newChat": "新しいチャット", + "focusChat": "チャットに集中", + "toggleFiles": "ファイルを切り替え", + "toggleRetrieval": "検索を切り替え", + "openSettings": "設定を開く", + "openQuickSettings": "クイック設定を開く", + "toggleSidebar": "サイドバーを切り替え", + "updates": "更新情報", + "markAsRead": "既読にする", + "markAllAsRead": "すべて既読にする", + "demo": "デモ", + "youAreAllCaughtUp": "すべて確認済みです!", + "showRecentUpdates": "最近の更新を表示" + } +} \ No newline at end of file diff --git a/public/locales/zh/translation.json b/public/locales/zh/translation.json index 39ed5db..b15781e 100644 --- a/public/locales/zh/translation.json +++ b/public/locales/zh/translation.json @@ -215,8 +215,26 @@ "models": "模型" }, - "modelProvider": { - "custom": "自定义" + "modelProvider": { + "custom": "自定义" + }, + + "help": { + "showHelp": "显示帮助", + "showWorkspaces": "显示工作区", + "newChat": "新建对话", + "focusChat": "聚焦当前对话", + "toggleFiles": "切换文件面板", + "toggleRetrieval": "切换检索模式", + "openSettings": "打开设置", + "openQuickSettings": "快速设置", + "toggleSidebar": "切换侧边栏", + "updates": "更新", + "markAsRead": "标记为已读", + "markAllAsRead": "全部标记为已读", + "demo": "演示", + "youAreAllCaughtUp": "你已阅读所有内容!", + "showRecentUpdates": "显示最近更新" } }