import type { TranslationMap } from "./index"; export const enUS: TranslationMap = { // App header "app.title": "AI Vision Assistant", "app.stats.requests": "requests", // Connection status "status.connected": "Connected", "status.connecting": "Connecting...", "status.disconnected": "Disconnected", // Settings "settings.title": "Settings", "settings.appearance": "Appearance", "settings.theme": "Theme", "settings.theme.desc": "Switch between light and dark theme", "settings.theme.dark": "Dark", "settings.theme.light": "Light", "settings.session": "Session", "settings.tts": "Voice Response", "settings.tts.desc": "Play voice along with AI response", "settings.detail": "Image Quality", "settings.detail.desc": "High quality for text recognition, low saves bandwidth", "settings.detail.low": "Low", "settings.detail.high": "High", "settings.language": "Language", "settings.language.desc": "Interaction language preference", "settings.scenario": "Scenario", "settings.scenario.desc": "Choose the AI's role", // Scenarios "scenario.choose": "Choose a scenario", "scenario.freeChat": "Free Chat", "scenario.freeChat.desc": "AI visual assistant, chat freely", "scenario.interviewer": "Mock Interviewer", "scenario.interviewer.desc": "AI plays interviewer for practice", "scenario.englishTeacher": "English Tutor", "scenario.englishTeacher.desc": "AI English tutor, corrects grammar", "scenario.debate": "Debate Opponent", "scenario.debate.desc": "AI challenges your viewpoints", "scenario.interpreter": "Interpreter", "scenario.interpreter.desc": "Real-time Chinese-English translation", // Video indicators "video.observing": "๐Ÿ‘๏ธ Observing", "video.listening": "๐ŸŽค Listening...", "video.playing": "๐Ÿ”Š Playing...", "video.initVad": "Initializing voice detection...", "video.clickToStart": "Click the button below to start", "video.placeholder": "Type in the chat panel to start", "video.cameraOff": "Camera is off", "video.cameraOff.hint": "You can type in the chat panel", "video.ended": "Video Ended", "video.ended.hint": "You can continue chatting below", // Controls "controls.connecting": "Connecting...", "controls.start": "๐ŸŽ™๏ธ Start Session", "controls.startVideo": "๐ŸŽ™๏ธ Start Video Call", "controls.cameraOff": "Turn off camera", "controls.cameraOn": "Turn on camera", "controls.micOff": "Turn off microphone", "controls.micOn": "Turn on microphone", "controls.observing": "๐Ÿ‘๏ธ Observing", "controls.observation": "๐Ÿ‘๏ธ Observe", "controls.interrupt": "โน Interrupt", "controls.stop": "End Session", "controls.stopVideo": "End Video", "controls.endSession": "End Session", "controls.resumeVideo": "๐Ÿ“น Resume Video", // Chat panel "chat.title": "Chat", "chat.mode.observation": "Observing", "chat.reconnecting": "Connection lost, reconnecting...", "chat.connecting": "Connecting to server...", "chat.vadInit": "Initializing voice detection...", "chat.empty.prompt": "Type below to start chatting", "chat.empty.hint": "Type to chat with AI, or click the button on the left to start video", "chat.welcome.prompt": "Type below to start chatting", "chat.welcome.hint": "Or enable microphone for voice chat", "chat.userLabel": "You", "chat.input.placeholder": "Type a message...", "chat.send": "Send", "chat.scenarioSwitched": "Switched to {name} mode", // Session messages "session.changeDetected": "๐Ÿ‘๏ธ Scene change detected", "session.recognizing": "(Recognizing speech...)", "session.sttFailed": "(Speech recognition failed, please try again)", "session.noSpeech": "(No speech detected)", "session.interrupted": "(Interrupted)", // Errors "error.INVALID_MESSAGE": "Invalid message format, please retry", "error.SESSION_NOT_FOUND": "Session expired, please reconnect", "error.RATE_LIMITED": "Too many requests, please try again later", "error.IMAGE_TOO_LARGE": "Image too large, please reduce resolution", "error.AUDIO_TOO_SHORT": "Audio too short, please try again", "error.LLM_TIMEOUT": "AI response timed out, please retry", "error.LLM_ERROR": "AI service error, please try again later", "error.STT_ERROR": "Speech recognition failed, please retry", "error.TTS_ERROR": "Voice synthesis failed", "error.INTERNAL_ERROR": "Internal server error, please retry", "error.unknown": "Unknown error", // Sidebar "sidebar.new": "New Chat", "sidebar.expand": "Expand sidebar", "sidebar.collapse": "Collapse sidebar", "sidebar.empty": "No chat history", "sidebar.messages": " messages", "sidebar.rename": "Rename", "sidebar.delete": "Delete", "sidebar.search": "Search conversations...", "sidebar.today": "Today", "sidebar.yesterday": "Yesterday", "sidebar.earlier": "Earlier", "sidebar.pinned": "Pinned", "sidebar.video": "Video", "sidebar.clearHistory": "Clear History", // Scene cards (empty state) "scene.describe": "Describe my surroundings", "scene.describe.desc": "Let AI observe and describe the current scene", "scene.text": "Recognize text in view", "scene.text.desc": "Extract and translate text from the scene", "scene.object": "Analyze this object", "scene.object.desc": "Identify objects and provide information", "scene.suggest": "Give me suggestions", "scene.suggest.desc": "Practical suggestions based on the current scene", // Video controls (enhanced) "controls.recognize": "Analyze Scene", "controls.device.camera": "Camera", "controls.device.mic": "Microphone", "controls.device.default": "Default", "controls.mode.realtime": "Realtime", "controls.mode.ondemand": "On-demand", "controls.mode.chat": "Chat only", // Status bar "statusbar.ready": "Ready ยท Select devices to start", "statusbar.calling": "In call", "statusbar.duration": "Duration", "statusbar.recognitions": "recognitions", "statusbar.tokens": "Tokens", // Input enhanced "chat.input.voice": "Voice input", // Device errors "error.vadInit": "VAD initialization failed", "error.cameraAccess": "Cannot access camera", "error.micAccess": "Cannot access microphone", // Auth "auth.subtitle": "AI Vision Assistant", "auth.login": "Sign In", "auth.register": "Sign Up", "auth.username": "Username", "auth.username.placeholder": "3-64 characters", "auth.password": "Password", "auth.password.placeholder": "8-72 characters", "auth.submitting": "Please wait...", "auth.noAccount": "Don't have an account?", "auth.hasAccount": "Already have an account?", "auth.error.usernameLength": "Username must be 3-64 characters", "auth.error.passwordLength": "Password must be 8-72 characters", "auth.logout": "Sign Out", // Account (in settings) "settings.account": "Account", "settings.account.user": "Current user", };