mirror of
https://github.com/qingchencloud/clawpanel.git
synced 2026-05-31 21:29:59 +08:00
i18n: - Add 9 new locale files (ja/ko/de/es/fr/pt/ru/vi/zh-TW) - Add multilingual README files for all 11 languages - Add locale helper, index, and modular translation system - Add translation generation scripts Website (docs/index.html): - Replace 公益AI接口 branding with 晴辰云AI接口 - Remove OpenClaw 独立安装包 promotion block - Update SEO meta tags (description, keywords, OG, Twitter, JSON-LD) - Add 11-language README links to footer - Update 元宝派 link to new URL Bug fixes: - fix(cron): delivery format mode:'push' → mode:'announce', remove invalid 'to' field (fixes #141) - fix(cron): allow single-channel users to select delivery channel - fix(cron): preserve delivery field in job state for editing - fix(models): add 'ollama' as recognized API type, prevent overwriting native ollama config (fixes #140) - fix(models): skip /v1 append for ollama native API baseUrl - fix(assistant): normalize 'google-generative-ai' consistently, add ollama hints - fix(version): use CLI path classification for source detection on Windows (fixes #139) - fix(version): default to 'official' instead of 'chinese' when source unknown - fix(version): reorder npm global package check based on active CLI
This commit is contained in:
141
src/locales/modules/chat.js
Normal file
141
src/locales/modules/chat.js
Normal file
@@ -0,0 +1,141 @@
|
||||
import { _ } from '../helper.js'
|
||||
|
||||
export default {
|
||||
title: _('实时聊天', 'Live Chat', '實時聊天', 'ライブチャット', '실시간 채팅', 'Trò chuyện trực tiếp', 'Chat en vivo', 'Chat ao vivo', 'Живой чат', 'Chat en direct', 'Live-Chat'),
|
||||
desc: _('与 AI Agent 实时对话', 'Chat with AI Agents in real-time', '與 AI Agent 實時對話', 'Agent とリアルタイムで会話', 'Agent와 실시간 대화', 'Trò chuyện với Agent theo thời gian thực', 'Chatear con el Agent en tiempo real', 'Conversar com o Agent em tempo real', 'Общение с агентом в реальном времени', 'Discuter avec l\'Agent en temps réel', 'Mit dem Agenten in Echtzeit chatten'),
|
||||
sessionList: _('会话列表', 'Sessions', '對話列表', 'セッションリスト', '세션 목록'),
|
||||
newSession: _('新建会话', 'New Session', '新建對話', '新しいセッション', '새 세션', 'Phiên mới', 'Nueva sesión', 'Nova sessão', 'Новая сессия', 'Nouvelle session', 'Neue Sitzung'),
|
||||
chatTitle: _('聊天', 'Chat'),
|
||||
loadingModels: _('加载模型中...', 'Loading models...', '載入模型中...', 'モデル読み込み中...', '모델 로딩 중...'),
|
||||
shortcuts: _('快捷指令', 'Shortcuts'),
|
||||
resetSession: _('重置会话', 'Reset Session', '重置對話'),
|
||||
inputPlaceholder: _('输入消息,Enter 发送,/ 打开指令', 'Type a message, Enter to send, / for commands', '輸入訊息,Enter 發送,/ 開啟指令', 'メッセージを入力...', '메시지를 입력하세요...', 'Nhập tin nhắn...', 'Escribe un mensaje...', 'Digite uma mensagem...', 'Введите сообщение...', 'Tapez un message...', 'Nachricht eingeben...'),
|
||||
uploadImage: _('上传图片', 'Upload Image', '上傳圖片'),
|
||||
refreshModels: _('刷新模型列表', 'Refresh Models', '重新整理模型列表'),
|
||||
send: _('发送', 'Send', '發送', '送信', '전송', 'Gửi', 'Enviar', 'Enviar', 'Отправить', 'Envoyer', 'Senden'),
|
||||
stopGeneration: _('停止生成', 'Stop Generation'),
|
||||
doubleClickRename: _('双击重命名', 'Double-click to rename', '雙擊重命名'),
|
||||
delete: _('删除', 'Delete', '刪除'),
|
||||
messagesCount: _('{count} 条消息', '{count} messages', '{count} 條訊息'),
|
||||
justNow: _('刚刚', 'just now', '剛剛'),
|
||||
minutesAgo: _('{n} 分钟前', '{n} min ago', '{n} 分鐘前'),
|
||||
hoursAgo: _('{n} 小时前', '{n} hr ago', '{n} 小時前'),
|
||||
daysAgo: _('{n} 天前', '{n} days ago'),
|
||||
unknown: _('未知', 'Unknown'),
|
||||
mainSession: _('主会话', 'Main Session', '主對話'),
|
||||
mainDefault: _('main (默认)', 'main (default)', 'main (預設)'),
|
||||
newAgent: _('+ 新建 Agent', '+ New Agent'),
|
||||
sessionName: _('会话名称', 'Session Name', '對話名稱'),
|
||||
sessionNamePlaceholder: _('例如:翻译助手', 'e.g. Translation Helper'),
|
||||
enterSessionName: _('请输入会话名称', 'Please enter a session name', '請輸入對話名稱'),
|
||||
createAgentHint: _('请在 Agent 管理页面创建新 Agent', 'Please create a new Agent in the Agent management page', '請在 Agent 管理頁面建立新 Agent'),
|
||||
sessionCreated: _('会话已创建', 'Session created', '對話已建立'),
|
||||
cannotDeleteMain: _('主会话不能删除', 'Cannot delete the main session', '主對話不能刪除'),
|
||||
confirmDeleteSession: _('确定删除会话「{label}」?', 'Delete session "{label}"?', '確定刪除對話「{label}」?', 'このセッションを削除しますか?'),
|
||||
sessionDeleted: _('会话已删除', 'Session deleted', '對話已刪除'),
|
||||
deleteFailed: _('删除失败: ', 'Delete failed: ', '刪除失敗: '),
|
||||
confirmResetSession: _('确定要重置会话「{label}」吗?\n\n重置后将清空该会话的所有聊天记录,此操作不可撤销。', 'Reset session "{label}"?\n\nThis will clear all chat history for this session. This action cannot be undone.', '確定要重置對話「{label}」吗?\n\n重置后將清空該對話的所有聊天紀錄,此操作不可撤销。'),
|
||||
sessionResetDone: _('会话已重置', 'Session has been reset', '對話已重置'),
|
||||
resetFailed: _('重置失败: ', 'Reset failed: ', '重置失敗: '),
|
||||
sessionRenamed: _('会话已重命名', 'Session renamed', '對話已重命名'),
|
||||
gatewayNotReadySend: _('Gateway 未就绪,连接成功后再发送', 'Gateway not ready, will send after connection', 'Gateway 未就緒,連線成功后再發送'),
|
||||
sendFailed: _('发送失败: ', 'Send failed: ', '發送失敗: ', '送信失敗', '전송 실패'),
|
||||
usingTool: _('正在使用工具: {name}', 'Using tool: {name}'),
|
||||
streamTimeout: _('输出超时,已自动结束', 'Output timed out, auto-ended', '輸出逾時,已自動結束'),
|
||||
generationStopped: _('生成已停止', 'Generation stopped'),
|
||||
errorPrefix: _('错误: ', 'Error: ', '錯誤: '),
|
||||
connectionRejected: _('连接被 Gateway 拒绝,请点击「修复并重连」', 'Connection rejected by Gateway, click "Fix & Reconnect"', '連線被 Gateway 拒絕,請点擊「修复並重連」'),
|
||||
noMessages: _('还没有消息,开始聊天吧', 'No messages yet, start chatting!', '还沒有訊息,開始聊天吧', 'メッセージなし', '메시지 없음', 'Không có tin nhắn', 'Sin mensajes', 'Sem mensagens', 'Нет сообщений', 'Aucun message', 'Keine Nachrichten'),
|
||||
imageHistoryHint: _('部分历史图片无法显示(Gateway 不保留图片原始数据,仅当前会话内可见)', 'Some history images cannot be displayed (Gateway does not retain original image data, only visible in current session)', '部分歷史圖片無法顯示(Gateway 不保留圖片原始資料,僅目前對話內可见)'),
|
||||
loadHistoryFailed: _('加载历史失败: ', 'Failed to load history: ', '載入歷史失敗: '),
|
||||
toolSuccess: _('成功', 'Success'),
|
||||
toolFailed: _('失败', 'Failed', '失敗'),
|
||||
toolParams: _('参数', 'Parameters', '參數'),
|
||||
toolResult: _('结果', 'Result', '結果'),
|
||||
noParams: _('无参数', 'No parameters', '無參數'),
|
||||
noResult: _('无结果', 'No result', '無結果'),
|
||||
tool: _('工具', 'Tool'),
|
||||
file: _('文件', 'File', '檔案'),
|
||||
compacting: _('正在整理上下文(Compaction)…', 'Compacting context…'),
|
||||
remaining: _('剩余', 'Remaining', '剩餘'),
|
||||
connectFailed: _('连接失败', 'Connection failed', '連線失敗'),
|
||||
fixDoneReconnecting: _('修复完成,正在重连...', 'Fix done, reconnecting...', '修复完成,正在重連...'),
|
||||
fixing: _('修复中...', 'Fixing...'),
|
||||
writingConfig: _('正在写入配置...', 'Writing config...', '正在写入設定...'),
|
||||
fixFailed: _('修复失败: ', 'Fix failed: ', '修复失敗: '),
|
||||
imageOnly: _('仅支持上传图片', 'Only images are supported', '僅支援上傳圖片'),
|
||||
readFileFailed: _('读取文件失败', 'Failed to read file', '讀取檔案失敗'),
|
||||
noSessions: _('暂无会话', 'No sessions', '暫無對話', 'セッションなし', '세션 없음', 'Không có phiên', 'Sin sesiones', 'Sem sessões', 'Нет сессий', 'Aucune session', 'Keine Sitzungen'),
|
||||
disconnected: _('连接已断开,正在重连...', 'Disconnected, reconnecting...', '連線已斷開,正在重連...', '切断', '연결 끊김', 'Đã ngắt kết nối', 'Desconectado', 'Desconectado', 'Отключено', 'Déconnecté', 'Getrennt'),
|
||||
gatewayNotReady: _('Gateway 连接未就绪', 'Gateway Connection Not Ready', 'Gateway 連線未就緒'),
|
||||
connectingGateway: _('正在连接 Gateway...', 'Connecting to Gateway...', '正在連線 Gateway...'),
|
||||
fixAndReconnect: _('修复并重连', 'Fix & Reconnect', '修复並重連'),
|
||||
gatewaySettings: _('Gateway 设置', 'Gateway Settings', 'Gateway 設定'),
|
||||
firstUseHint: _('首次使用?请确保 Gateway 已启动,或点击「修复并重连」自动修复配置', 'First time? Make sure Gateway is running, or click "Fix & Reconnect" to auto-fix', '首次使用?請確保 Gateway 已啟動,或点擊「修复並重連」自動修复設定'),
|
||||
guideTitle: _('你正在使用「实时聊天」', 'You are using Live Chat', '你正在使用「實時聊天」'),
|
||||
guideDesc: _('此页面通过 <b>Gateway</b> 连接 OpenClaw 的 AI Agent,对话由你部署的 OpenClaw 服务处理。', 'This page connects to your OpenClaw AI Agent via <b>Gateway</b>. Conversations are processed by your deployed OpenClaw service.', '此頁面通過 <b>Gateway</b> 連線 OpenClaw 的 AI Agent,對話由你部署的 OpenClaw 服務處理。'),
|
||||
guideHint: _('如需使用 ClawPanel 内置 AI 助手(独立于 OpenClaw),请前往左侧菜单「AI 助手」页面。', 'To use ClawPanel\'s built-in AI Assistant (independent of OpenClaw), go to "AI Assistant" in the left menu.', '如需使用 ClawPanel 內置 AI 助手(獨立於 OpenClaw),請前往左側菜單「AI 助手」頁面。'),
|
||||
guideClose: _('知道了', 'Got it'),
|
||||
defaultSuffix: _('(默认)', '(default)', '(預設)'),
|
||||
cmdSession: _('会话', 'Session', '對話'),
|
||||
cmdModel: _('模型', 'Model'),
|
||||
cmdThinkMode: _('思考模式', 'Think Mode'),
|
||||
cmdFastMode: _('快速模式', 'Fast Mode'),
|
||||
cmdVerbose: _('详细/推理', 'Verbose/Reasoning', '詳細/推理'),
|
||||
cmdInfo: _('信息', 'Info', '資訊'),
|
||||
cmdNewSession: _('新建会话', 'New session', '新建對話'),
|
||||
cmdResetSession: _('重置当前会话', 'Reset current session', '重置目前對話'),
|
||||
cmdStopGen: _('停止生成', 'Stop generation'),
|
||||
cmdSwitchModel: _('切换模型(输入模型名)', 'Switch model (enter name)', '切換模型(輸入模型名)'),
|
||||
cmdListModels: _('查看可用模型', 'List available models'),
|
||||
cmdModelStatus: _('当前模型状态', 'Current model status', '目前模型狀態'),
|
||||
cmdThinkOff: _('关闭深度思考', 'Disable deep thinking', '關閉深度思考'),
|
||||
cmdThinkLow: _('轻度思考', 'Light thinking'),
|
||||
cmdThinkMedium: _('中度思考', 'Medium thinking'),
|
||||
cmdThinkHigh: _('深度思考', 'Deep thinking'),
|
||||
cmdFastToggle: _('切换快速模式(开/关)', 'Toggle fast mode (on/off)', '切換快速模式(開/關)'),
|
||||
cmdFastOn: _('开启快速模式(低延迟)', 'Enable fast mode (low latency)', '開啟快速模式(低延遲)'),
|
||||
cmdFastOff: _('关闭快速模式', 'Disable fast mode', '關閉快速模式'),
|
||||
cmdVerboseOff: _('关闭详细模式', 'Disable verbose mode', '關閉詳細模式'),
|
||||
cmdVerboseLow: _('低详细度', 'Low verbosity', '低詳細度'),
|
||||
cmdVerboseHigh: _('高详细度', 'High verbosity', '高詳細度'),
|
||||
cmdReasoningOff: _('关闭推理模式', 'Disable reasoning mode', '關閉推理模式'),
|
||||
cmdReasoningLow: _('轻度推理', 'Light reasoning'),
|
||||
cmdReasoningMedium: _('中度推理', 'Medium reasoning'),
|
||||
cmdReasoningHigh: _('深度推理', 'Deep reasoning'),
|
||||
cmdHelp: _('帮助信息', 'Help', '幫助資訊'),
|
||||
cmdStatus: _('系统状态', 'System status', '系統狀態'),
|
||||
cmdContext: _('上下文信息', 'Context info', '上下文資訊'),
|
||||
hostedAgent: _('托管 Agent', 'Hosted Agent'),
|
||||
hostedBadge: _('托管', 'Hosted'),
|
||||
taskGoal: _('任务目标', 'Task Goal', '任務目標'),
|
||||
taskGoalPlaceholder: _('例如:持续优化此仓库代码质量,直到没有可改进的地方', 'e.g. Continuously optimize code quality until no improvements remain', '例如:持續最佳化此倉庫代碼質量,直到沒有可改進的地方'),
|
||||
hostedHint: _('托管 Agent 会持续引导 OpenClaw 完成此目标。模型使用 <a href="#/assistant" class="hosted-agent-link">AI 助手</a> 的配置。', 'Hosted Agent will continuously guide OpenClaw to complete this goal. Uses <a href="#/assistant" class="hosted-agent-link">AI Assistant</a> model config.', '托管 Agent 會持續引导 OpenClaw 完成此目標。模型使用 <a href="#/assistant" class="hosted-agent-link">AI 助手</a> 的設定。'),
|
||||
maxReplies: _('最大回复次数', 'Max Replies', '最大回覆次數'),
|
||||
timerAutoStop: _('定时自动停止', 'Auto-stop Timer', '定時自動停止'),
|
||||
startHosted: _('启动托管', 'Start Hosted', '啟動托管'),
|
||||
stopHosted: _('停止托管', 'Stop Hosted'),
|
||||
ready: _('就绪', 'Ready', '就緒'),
|
||||
hostedNotEnabled: _('未启用', 'Not Enabled', '未啟用'),
|
||||
hostedRunning: _('运行中', 'Running', '執行中'),
|
||||
hostedWaiting: _('等待回复', 'Waiting for Reply', '等待回覆'),
|
||||
hostedPaused: _('已暂停', 'Paused', '已暫停'),
|
||||
hostedErrorStatus: _('异常', 'Error', '異常'),
|
||||
hostedStandby: _('待命', 'Standby'),
|
||||
hostedStatusError: _('错误: {msg}', 'Error: {msg}', '錯誤: {msg}'),
|
||||
hostedStatusRunning: _('运行中 · 剩余 {n} 步', 'Running · {n} steps remaining', '執行中 · 剩餘 {n} 步'),
|
||||
hostedRemaining: _('剩余 {time}', '{time} remaining', '剩餘 {time}'),
|
||||
enterTaskGoal: _('请输入任务目标', 'Please enter a task goal', '請輸入任務目標'),
|
||||
hostedGatewayNotReady: _('Gateway 未就绪,暂不启动', 'Gateway not ready, cannot start', 'Gateway 未就緒,暂不啟動'),
|
||||
hostedStarted: _('托管 Agent 已启动', 'Hosted Agent started', '托管 Agent 已啟動'),
|
||||
hostedStopped: _('托管 Agent 已停止', 'Hosted Agent stopped'),
|
||||
hostedAutoStopSignal: _('OpenClaw 回复包含完成信号,自动停止', 'OpenClaw reply contains completion signal, auto-stopping', 'OpenClaw 回覆包含完成信號,自動停止'),
|
||||
hostedTimerExpired: _('定时 {min} 分钟已到,自动停止', 'Timer expired ({min} min), auto-stopping', '定時 {min} 分鐘已到,自動停止'),
|
||||
hostedNeedIntervention: _('需要人工介入: {reason}', 'Manual intervention needed: {reason}'),
|
||||
hostedGwNotReady: _('Gateway 未就绪', 'Gateway not ready', 'Gateway 未就緒'),
|
||||
hostedErrorThreshold: _('连续错误超过阈值', 'Consecutive errors exceeded threshold', '連續錯誤超過阈值'),
|
||||
hostedModelNotConfigured: _('托管 Agent 未配置模型(请在 AI 助手页面配置)', 'Hosted Agent model not configured (please configure in AI Assistant page)', '托管 Agent 未設定模型(請在 AI 助手頁面設定)'),
|
||||
hostedApiError: _('API 错误 {code}', 'API Error {code}', 'API 錯誤 {code}'),
|
||||
hostedPrefix: _('[托管 Agent] ', '[Hosted Agent] '),
|
||||
hostedContextSummary: _('[上下文摘要 - 已压缩 {n} 条历史]', '[Context Summary - compressed {n} history entries]', '[上下文摘要 - 已壓縮 {n} 條歷史]'),
|
||||
}
|
||||
Reference in New Issue
Block a user