2026-06-14 14:34:30 +08:00
|
|
|
|
import type { TranslationMap } from "./index";
|
|
|
|
|
|
|
|
|
|
|
|
export const zhCN: TranslationMap = {
|
|
|
|
|
|
// App header
|
|
|
|
|
|
"app.title": "AI 视觉对话助手",
|
|
|
|
|
|
"app.stats.requests": "次请求",
|
|
|
|
|
|
|
|
|
|
|
|
// Connection status
|
|
|
|
|
|
"status.connected": "已连接",
|
|
|
|
|
|
"status.connecting": "连接中...",
|
|
|
|
|
|
"status.disconnected": "未连接",
|
|
|
|
|
|
|
|
|
|
|
|
// Settings
|
|
|
|
|
|
"settings.title": "设置",
|
|
|
|
|
|
"settings.appearance": "外观",
|
|
|
|
|
|
"settings.theme": "主题",
|
|
|
|
|
|
"settings.theme.desc": "切换明暗主题",
|
|
|
|
|
|
"settings.theme.dark": "深色",
|
|
|
|
|
|
"settings.theme.light": "浅色",
|
|
|
|
|
|
"settings.session": "会话",
|
|
|
|
|
|
"settings.tts": "语音回答",
|
|
|
|
|
|
"settings.tts.desc": "AI 回答时同步播放语音",
|
|
|
|
|
|
"settings.detail": "图像精度",
|
|
|
|
|
|
"settings.detail.desc": "高精度适合识别文字,低精度省流量",
|
|
|
|
|
|
"settings.detail.low": "低",
|
|
|
|
|
|
"settings.detail.high": "高",
|
|
|
|
|
|
"settings.language": "语言",
|
|
|
|
|
|
"settings.language.desc": "交互语言偏好",
|
|
|
|
|
|
|
|
|
|
|
|
// Video indicators
|
|
|
|
|
|
"video.observing": "👁️ 观察中",
|
|
|
|
|
|
"video.listening": "🎤 正在聆听...",
|
|
|
|
|
|
"video.playing": "🔊 正在播放...",
|
|
|
|
|
|
"video.initVad": "正在初始化语音检测...",
|
|
|
|
|
|
"video.clickToStart": "点击下方按钮开始对话",
|
2026-06-14 15:07:39 +08:00
|
|
|
|
"video.placeholder": "在右侧聊天框输入即可开始对话",
|
2026-06-14 14:34:30 +08:00
|
|
|
|
"video.cameraOff": "摄像头未开启",
|
|
|
|
|
|
"video.cameraOff.hint": "可在右侧聊天框打字对话",
|
|
|
|
|
|
|
|
|
|
|
|
// Controls
|
|
|
|
|
|
"controls.connecting": "连接中...",
|
|
|
|
|
|
"controls.start": "🎙️ 开始对话",
|
2026-06-14 15:07:39 +08:00
|
|
|
|
"controls.startVideo": "🎙️ 开始视频通话",
|
2026-06-14 14:34:30 +08:00
|
|
|
|
"controls.cameraOff": "关闭摄像头",
|
|
|
|
|
|
"controls.cameraOn": "开启摄像头",
|
|
|
|
|
|
"controls.micOff": "关闭麦克风",
|
|
|
|
|
|
"controls.micOn": "开启麦克风",
|
|
|
|
|
|
"controls.observing": "👁️ 观察中",
|
|
|
|
|
|
"controls.observation": "👁️ 观察模式",
|
|
|
|
|
|
"controls.interrupt": "⏹ 打断",
|
|
|
|
|
|
"controls.stop": "结束对话",
|
|
|
|
|
|
|
|
|
|
|
|
// Chat panel
|
|
|
|
|
|
"chat.title": "对话",
|
|
|
|
|
|
"chat.mode.observation": "观察模式",
|
|
|
|
|
|
"chat.reconnecting": "连接已断开,正在重连...",
|
2026-06-14 15:07:39 +08:00
|
|
|
|
"chat.empty.prompt": "在下方输入文字开始对话",
|
|
|
|
|
|
"chat.empty.hint": "输入文字即可与 AI 交互,也可点击左侧按钮开启视频",
|
2026-06-14 14:34:30 +08:00
|
|
|
|
"chat.welcome.prompt": "在下方输入文字开始对话",
|
|
|
|
|
|
"chat.welcome.hint": "也可以开启麦克风用语音对话",
|
|
|
|
|
|
"chat.userLabel": "你",
|
|
|
|
|
|
"chat.input.placeholder": "输入文字对话...",
|
|
|
|
|
|
"chat.send": "发送",
|
|
|
|
|
|
|
|
|
|
|
|
// Session messages
|
|
|
|
|
|
"session.changeDetected": "👁️ 画面变化检测",
|
|
|
|
|
|
"session.recognizing": "(语音识别中...)",
|
|
|
|
|
|
"session.noSpeech": "(未识别到语音)",
|
|
|
|
|
|
"session.interrupted": "(已打断)",
|
|
|
|
|
|
|
|
|
|
|
|
// Errors
|
|
|
|
|
|
"error.INVALID_MESSAGE": "消息格式异常,请重试",
|
|
|
|
|
|
"error.SESSION_NOT_FOUND": "会话已过期,请重新连接",
|
|
|
|
|
|
"error.RATE_LIMITED": "请求太频繁,请稍后再试",
|
|
|
|
|
|
"error.IMAGE_TOO_LARGE": "图像过大,请降低分辨率",
|
|
|
|
|
|
"error.AUDIO_TOO_SHORT": "语音太短,请再说一句",
|
|
|
|
|
|
"error.LLM_TIMEOUT": "AI 响应超时,请重试",
|
|
|
|
|
|
"error.LLM_ERROR": "AI 服务异常,请稍后重试",
|
|
|
|
|
|
"error.STT_ERROR": "语音识别失败,请重试",
|
|
|
|
|
|
"error.TTS_ERROR": "语音合成失败",
|
|
|
|
|
|
"error.INTERNAL_ERROR": "服务内部错误,请重试",
|
|
|
|
|
|
"error.unknown": "未知错误",
|
|
|
|
|
|
|
2026-06-14 15:44:25 +08:00
|
|
|
|
// Sidebar
|
|
|
|
|
|
"sidebar.new": "新对话",
|
|
|
|
|
|
"sidebar.expand": "展开侧边栏",
|
|
|
|
|
|
"sidebar.collapse": "收起侧边栏",
|
|
|
|
|
|
"sidebar.empty": "暂无会话记录",
|
|
|
|
|
|
"sidebar.messages": "条消息",
|
|
|
|
|
|
"sidebar.rename": "重命名",
|
|
|
|
|
|
"sidebar.delete": "删除",
|
2026-06-14 16:31:23 +08:00
|
|
|
|
"sidebar.search": "搜索对话...",
|
|
|
|
|
|
"sidebar.today": "今天",
|
|
|
|
|
|
"sidebar.yesterday": "昨天",
|
|
|
|
|
|
"sidebar.earlier": "更早",
|
|
|
|
|
|
"sidebar.pinned": "置顶",
|
|
|
|
|
|
"sidebar.video": "视频",
|
|
|
|
|
|
"sidebar.clearHistory": "清除历史",
|
|
|
|
|
|
|
|
|
|
|
|
// Scene cards (empty state)
|
|
|
|
|
|
"scene.describe": "描述我面前的场景",
|
|
|
|
|
|
"scene.describe.desc": "让 AI 观察并描述当前画面",
|
|
|
|
|
|
"scene.text": "识别画面中的文字",
|
|
|
|
|
|
"scene.text.desc": "提取并翻译画面里的文字",
|
|
|
|
|
|
"scene.object": "帮我分析这个物品",
|
|
|
|
|
|
"scene.object.desc": "识别物体并给出相关信息",
|
|
|
|
|
|
"scene.suggest": "给我一些建议",
|
|
|
|
|
|
"scene.suggest.desc": "基于当前场景给出实用建议",
|
|
|
|
|
|
|
|
|
|
|
|
// Video controls (enhanced)
|
|
|
|
|
|
"controls.recognize": "识别画面",
|
|
|
|
|
|
"controls.device.camera": "摄像头",
|
|
|
|
|
|
"controls.device.mic": "麦克风",
|
|
|
|
|
|
"controls.device.default": "默认",
|
|
|
|
|
|
"controls.mode.realtime": "实时分析",
|
|
|
|
|
|
"controls.mode.ondemand": "按需识别",
|
|
|
|
|
|
"controls.mode.chat": "纯聊天",
|
|
|
|
|
|
|
|
|
|
|
|
// Status bar
|
|
|
|
|
|
"statusbar.ready": "就绪 · 选择设备后开始通话",
|
|
|
|
|
|
"statusbar.calling": "通话中",
|
|
|
|
|
|
"statusbar.duration": "通话时长",
|
|
|
|
|
|
"statusbar.recognitions": "次识别",
|
|
|
|
|
|
"statusbar.tokens": "Token",
|
|
|
|
|
|
|
|
|
|
|
|
// Input enhanced
|
|
|
|
|
|
"chat.input.voice": "语音输入",
|
2026-06-14 15:44:25 +08:00
|
|
|
|
|
2026-06-14 14:34:30 +08:00
|
|
|
|
// Device errors
|
|
|
|
|
|
"error.vadInit": "VAD 初始化失败",
|
|
|
|
|
|
"error.cameraAccess": "无法访问摄像头",
|
|
|
|
|
|
"error.micAccess": "无法访问麦克风",
|
2026-06-14 18:38:45 +08:00
|
|
|
|
|
|
|
|
|
|
// Auth
|
|
|
|
|
|
"auth.subtitle": "AI 视觉对话助手",
|
|
|
|
|
|
"auth.login": "登录",
|
|
|
|
|
|
"auth.register": "注册",
|
|
|
|
|
|
"auth.username": "用户名",
|
|
|
|
|
|
"auth.username.placeholder": "3-64 个字符",
|
|
|
|
|
|
"auth.password": "密码",
|
|
|
|
|
|
"auth.password.placeholder": "8-72 个字符",
|
|
|
|
|
|
"auth.submitting": "请稍候...",
|
|
|
|
|
|
"auth.noAccount": "还没有账号?",
|
|
|
|
|
|
"auth.hasAccount": "已有账号?",
|
|
|
|
|
|
"auth.error.usernameLength": "用户名需要 3-64 个字符",
|
|
|
|
|
|
"auth.error.passwordLength": "密码需要 8-72 个字符",
|
|
|
|
|
|
"auth.logout": "退出登录",
|
2026-06-14 14:34:30 +08:00
|
|
|
|
};
|