import { AppLanguage, ChatMode } from './types'; export const DEFAULT_LANGUAGE = AppLanguage.ZH_CN; export const TRANSLATIONS = { [AppLanguage.ZH_CN]: { appName: "社学搭子", tagline: "您的AI社会学助教", newChat: "新建会话", settings: "设置", inputPlaceholder: "输入您的问题...", modeStandard: "标准搜索 (实时联网)", modeDeep: "深度思考 (复杂推理)", modeFast: "极速模式 (快速响应)", tools: "创作工具", modules: "学习场景", studio: "多媒体实验室", history: "历史记录", imageGen: "图像生成", videoGen: "视频生成", uploadImage: "上传图片分析", recordAudio: "录音提问", generate: "生成", download: "下载", apiKeyLabel: "Google Gemini API Key", apiKeyDesc: "您的密钥将仅存储在本地浏览器中。", backupRestore: "数据备份与恢复", exportData: "导出数据", importData: "导入数据", clearData: "清除所有数据", imageSize: "图片尺寸", aspectRatio: "视频比例", landscape: "横屏 16:9", portrait: "竖屏 9:16", generating: "生成中...", thinking: "正在深度思考...", transcribing: "正在转录音频...", speaking: "朗读", searchSources: "参考来源", errorApiKey: "请先在设置中配置 API Key", welcome: "请选择一个学习场景开始:", videoPromptPlaceholder: "描述您想生成的社会学场景视频...", imagePromptPlaceholder: "描述您想生成的图片...", selectImageSize: "选择尺寸", videoDuration: "生成视频可能需要几分钟,请耐心等待。", confirmDelete: "确认删除此会话?", importSuccess: "导入成功!", importFail: "导入失败。", transcriptionFail: "转录失败", micError: "麦克风访问被拒绝或不可用。", genError: "生成失败", noHistory: "暂无历史记录。开始一段对话吧!", apiError: "错误:无法生成响应。请检查 API Key。", scenarios: { general: { title: "日常答疑", desc: "解答各类社会学基础问题", greeting: "你好!我是你的社会学学习搭子。有什么日常学习中的疑问需要我解答吗?" }, reading: { title: "经典导读", desc: "马克思、韦伯、涂尔干等经典著作导读", greeting: "欢迎来到经典导读。今天你想通过哪位大家(如韦伯、涂尔干)的著作来深化理解?" }, concept: { title: "概念解析", desc: "深入剖析社会学核心概念", greeting: "概念是社会学的基石。请告诉我你需要深度解析哪个概念?(例如:异化、不仅、科层制)" }, research: { title: "研究讨论", desc: "研究设计、方法论与田野调查建议", greeting: "你好,研究员。无论是定性还是定量,我都可以协助你完善研究设计或讨论方法论问题。" } } }, [AppLanguage.ZH_TW]: { appName: "社學搭子", tagline: "您的AI社會學助教", newChat: "新建會話", settings: "設置", inputPlaceholder: "輸入您的問題...", modeStandard: "標準搜索 (實時聯網)", modeDeep: "深度思考 (複雜推理)", modeFast: "極速模式 (快速響應)", tools: "創作工具", modules: "學習場景", studio: "多媒體實驗室", history: "歷史記錄", imageGen: "圖像生成", videoGen: "視頻生成", uploadImage: "上傳圖片分析", recordAudio: "錄音提問", generate: "生成", download: "下載", apiKeyLabel: "Google Gemini API Key", apiKeyDesc: "您的密鑰將僅存儲在本地瀏覽器中。", backupRestore: "數據備份與恢復", exportData: "導出數據", importData: "導入數據", clearData: "清除所有數據", imageSize: "圖片尺寸", aspectRatio: "視頻比例", landscape: "橫屏 16:9", portrait: "豎屏 9:16", generating: "生成中...", thinking: "正在深度思考...", transcribing: "正在轉錄音頻...", speaking: "朗讀", searchSources: "參考來源", errorApiKey: "請先在設置中配置 API Key", welcome: "請選擇一個學習場景開始:", videoPromptPlaceholder: "描述您想生成的社會學場景視頻...", imagePromptPlaceholder: "描述您想生成的圖片...", selectImageSize: "選擇尺寸", videoDuration: "生成視頻可能需要幾分鐘,請耐心等待。", confirmDelete: "確認刪除此會話?", importSuccess: "導入成功!", importFail: "導入失敗。", transcriptionFail: "轉錄失敗", micError: "麥克風訪問被拒絕或不可用。", genError: "生成失敗", noHistory: "暫無歷史記錄。開始一段對話吧!", apiError: "錯誤:無法生成響應。請檢查 API Key。", scenarios: { general: { title: "日常答疑", desc: "解答各類社會學基礎問題", greeting: "你好!我是你的社會學學習搭子。有什麼日常學習中的疑問需要我解答嗎?" }, reading: { title: "經典導讀", desc: "馬克思、韋伯、塗爾干等經典著作導讀", greeting: "歡迎來到經典導讀。今天你想通過哪位大家(如韋伯、塗爾干)的著作來深化理解?" }, concept: { title: "概念解析", desc: "深入剖析社會學核心概念", greeting: "概念是社會學的基石。請告訴我你需要深度解析哪個概念?(例如:異化、不僅、科層制)" }, research: { title: "研究討論", desc: "研究設計、方法論與田野調查建議", greeting: "你好,研究員。無論是定性還是定量,我都可以協助你完善研究設計或討論方法論問題。" } } }, [AppLanguage.EN]: { appName: "SocioPal", tagline: "Your AI Sociology Tutor", newChat: "New Chat", settings: "Settings", inputPlaceholder: "Ask a question...", modeStandard: "Standard (Search)", modeDeep: "Deep Think (Reasoning)", modeFast: "Fast (Lite)", tools: "Creative Tools", modules: "Learning Modules", studio: "Media Studio", history: "History", imageGen: "Image Gen", videoGen: "Video Gen", uploadImage: "Analyze Image", recordAudio: "Record Audio", generate: "Generate", download: "Download", apiKeyLabel: "Google Gemini API Key", apiKeyDesc: "Your key is stored locally in your browser.", backupRestore: "Backup & Restore", exportData: "Export Data", importData: "Import Data", clearData: "Clear All Data", imageSize: "Image Size", aspectRatio: "Aspect Ratio", landscape: "Landscape 16:9", portrait: "Portrait 9:16", generating: "Generating...", thinking: "Thinking deeply...", transcribing: "Transcribing audio...", speaking: "Read Aloud", searchSources: "Sources", errorApiKey: "Please configure your API Key in Settings first.", welcome: "Choose a learning scenario to start:", videoPromptPlaceholder: "Describe the sociology scenario video...", imagePromptPlaceholder: "Describe the image to generate...", selectImageSize: "Select Size", videoDuration: "Video generation may take a few minutes.", confirmDelete: "Delete this chat?", importSuccess: "Import successful!", importFail: "Import failed.", transcriptionFail: "Transcription failed", micError: "Microphone access denied or not available.", genError: "Generation failed", noHistory: "No history yet. Start a conversation!", apiError: "Error: Could not generate response. Please check API Key.", scenarios: { general: { title: "Daily Q&A", desc: "General sociology questions", greeting: "Hi! I'm your sociology study companion. Do you have any questions for me today?" }, reading: { title: "Classic Readings", desc: "Guide to Marx, Weber, Durkheim...", greeting: "Welcome to Classic Readings. Which foundational text or theorist shall we explore today?" }, concept: { title: "Concept Analysis", desc: "Deep dive into terms", greeting: "Concepts are the building blocks of sociology. Which term would you like to analyze deeply?" }, research: { title: "Research Advisor", desc: "Methodology and design", greeting: "Hello, researcher. I can assist with your research design, methodology, or field work questions." } } }, [AppLanguage.JA]: { appName: "SocioPal", tagline: "AI社会学チューター", newChat: "新しいチャット", settings: "設定", inputPlaceholder: "質問を入力...", modeStandard: "標準 (検索)", modeDeep: "深い思考 (推論)", modeFast: "高速 (ライト)", tools: "クリエイティブツール", modules: "学習モジュール", studio: "メディアスタジオ", history: "履歴", imageGen: "画像生成", videoGen: "動画生成", uploadImage: "画像分析", recordAudio: "音声入力", generate: "生成", download: "ダウンロード", apiKeyLabel: "Google Gemini API Key", apiKeyDesc: "キーはブラウザにローカルに保存されます。", backupRestore: "バックアップと復元", exportData: "データをエクスポート", importData: "データをインポート", clearData: "すべてのデータを消去", imageSize: "画像サイズ", aspectRatio: "アスペクト比", landscape: "横向き 16:9", portrait: "縦向き 9:16", generating: "生成中...", thinking: "深く考えています...", transcribing: "音声を文字起こし中...", speaking: "読み上げ", searchSources: "情報源", errorApiKey: "設定でAPIキーを設定してください。", welcome: "学習シナリオを選択してください:", videoPromptPlaceholder: "生成したい社会学のシナリオ動画を説明してください...", imagePromptPlaceholder: "生成したい画像を説明してください...", selectImageSize: "サイズを選択", videoDuration: "動画の生成には数分かかる場合があります。", confirmDelete: "このチャットを削除しますか?", importSuccess: "インポート成功!", importFail: "インポート失敗。", transcriptionFail: "転写に失敗しました", micError: "マイクへのアクセスが拒否されたか、利用できません。", genError: "生成に失敗しました", noHistory: "履歴はまだありません。会話を始めましょう!", apiError: "エラー:応答を生成できませんでした。APIキーを確認してください。", scenarios: { general: { title: "日常のQ&A", desc: "一般的な社会学の質問", greeting: "こんにちは!社会学の学習パートナーです。今日の質問は何ですか?" }, reading: { title: "古典講読", desc: "マルクス、ウェーバー、デュルケーム...", greeting: "古典講読へようこそ。今日はどの社会学者の著作を深掘りしましょうか?" }, concept: { title: "概念分析", desc: "用語の深い分析", greeting: "概念は社会学の基礎です。どの用語を詳しく分析したいですか?" }, research: { title: "研究相談", desc: "方法論とデザイン", greeting: "こんにちは。研究デザインや方法論(質的・量的)についての相談に乗ります。" } } } };