feat(dashboard): add i18n support with zh/en/ja/ko locales

- Add react-i18next + i18next + i18next-browser-languagedetector
- Create i18n config (singleton import) with zh/en/ja/ko JSON locale files
- Add language switcher Globe dropdown in Header topbar
- Replace all hardcoded Chinese strings in:
  - Layout (Header, Sidebar, NavItem, Layout, constants)
  - Settings (index, AppearanceTab, SecurityTab, OtherTab, AboutTab)
  - Auth page (auth.tsx)
  - Search dialog (searchItems via useMemo + t())
  - Restart overlay (getStatusConfig accepts t param)
  - Error boundary (ErrorFallback, ErrorDetails function components)
  - HTTP warning banner
- localStorage key: maibot-locale
- Compatible with Electron
This commit is contained in:
DrSmoothl
2026-03-03 20:50:06 +08:00
parent 5cc34f24c0
commit a65a40f85f
23 changed files with 7271 additions and 473 deletions

View File

@@ -0,0 +1,37 @@
import LanguageDetector from 'i18next-browser-languagedetector'
import { initReactI18next } from 'react-i18next'
import i18next from 'i18next'
import en from './locales/en.json'
import ja from './locales/ja.json'
import ko from './locales/ko.json'
import zh from './locales/zh.json'
i18next
.use(LanguageDetector)
.use(initReactI18next)
.init({
resources: {
zh: { translation: zh },
en: { translation: en },
ja: { translation: ja },
ko: { translation: ko },
},
fallbackLng: 'en',
supportedLngs: ['zh', 'en', 'ja', 'ko'],
interpolation: {
escapeValue: false,
},
detection: {
order: ['localStorage', 'navigator'],
lookupLocalStorage: 'maibot-locale',
caches: ['localStorage'],
},
keySeparator: '.',
})
i18next.on('languageChanged', (lng) => {
document.documentElement.lang = lng
})
export default i18next

View File

@@ -0,0 +1,477 @@
{
"language": { "zh": "中文", "en": "English", "ja": "日本語", "ko": "한국어" },
"header": {
"collapseSidebar": "Collapse sidebar",
"expandSidebar": "Expand sidebar",
"toggleConnection": "Toggle backend connection",
"viewAnnualSummary": "View annual summary",
"annualSummary": "2025 Annual Summary",
"searchPlaceholder": "Search...",
"viewDocs": "View MaiBot docs",
"docs": "MaiBot Docs",
"switchToLight": "Switch to light mode",
"switchToDark": "Switch to dark mode",
"logout": "Log out",
"logoutLabel": "Logout",
"notConnected": "Not connected"
},
"sidebar": {
"groups": {
"overview": "Overview",
"botConfig": "Bot Configuration",
"botResources": "Bot Resources",
"extensionsMonitor": "Extensions & Monitor",
"system": "System"
},
"menu": {
"home": "Home",
"botMainConfig": "Bot Main Config",
"aiModelProvider": "AI Model Providers",
"modelManagement": "Model Management",
"adapterConfig": "Adapter Config",
"emojiManagement": "Emoji Management",
"expressionManagement": "Expression Management",
"slangManagement": "Slang Management",
"personInfo": "Person Info",
"knowledgeGraph": "Knowledge Graph",
"knowledgeBase": "Knowledge Base",
"pluginMarket": "Plugin Market",
"configTemplate": "Config Templates",
"pluginConfig": "Plugin Config",
"logViewer": "Log Viewer",
"plannerMonitor": "Planner & Replier Monitor",
"localChat": "Local Chat",
"settings": "Settings"
}
},
"layout": {
"verifyingLogin": "Verifying login status...",
"logoTitle": "MaiBot WebUI",
"logoTitleShort": "M"
},
"settings": {
"title": "Settings",
"description": "Manage your application preferences",
"tabs": {
"appearance": "Appearance",
"security": "Security",
"other": "Other",
"about": "About"
},
"appearance": {
"themeMode": "Theme Mode",
"themeModeDesc": "Light / Dark / Follow system",
"light": "Light",
"dark": "Dark",
"system": "System",
"accentColor": "Accent Color",
"resetDefault": "Reset Default",
"colorPreview": "Live Color Preview",
"styleTweaks": "Style Tweaks",
"typography": "Typography",
"visualEffects": "Visual Effects",
"layout": "Layout",
"animation": "Animation",
"background": "Background",
"customCss": "Custom CSS",
"animationEffect": "Animation Effect",
"importExportTheme": "Import / Export Theme",
"importTheme": "Import Theme",
"exportTheme": "Export Theme",
"importSuccess": "Import successful",
"importFailed": "Import failed",
"resetSuccess": "Reset successful",
"fontFamily": "Font Family",
"fontSize": "Font Size",
"borderRadius": "Border Radius",
"contentWidth": "Content Width",
"sidebarWidth": "Sidebar Width",
"animationSpeed": "Animation Speed",
"backgroundImage": "Background Image",
"backgroundBlur": "Background Blur",
"backgroundOpacity": "Background Opacity",
"lightDesc": "Always use light theme",
"darkDesc": "Always use dark theme",
"systemDesc": "Auto-switch based on system settings",
"accentPrimary": "Primary Color",
"accentHint": "Click the color ring or enter a HEX value",
"resetTheme": "Reset to Default",
"confirmResetTheme": "Confirm Reset Theme",
"confirmResetThemeDesc": "This will reset all theme settings to default, including colors, fonts, layout and custom CSS. This cannot be undone, are you sure?",
"confirmResetAction": "Confirm Reset",
"cssWarningTitle": "The following have been filtered for safety:",
"cssPlaceholder": "/* Enter custom CSS here */\n\n/* Example: */\n/* .sidebar { background: #1a1a2e; } */",
"cssDescription": "Write custom CSS to further personalize the interface. Dangerous CSS (like @import, url()) will be automatically filtered.",
"clearCss": "Clear",
"exportDesc": "Export theme as a JSON file for sharing or backup; all settings will be applied automatically on import.",
"importSuccessDesc": "Theme config imported, page will reload automatically",
"resetSuccessDesc": "Theme has been reset to default",
"enableAnimations": "Enable Animations",
"enableAnimationsDesc": "Disabling this will turn off all transition animations and effects, improving performance",
"loginWavesBackground": "Login Page Wave Background",
"loginWavesBackgroundDesc": "Disabling this will use a solid color background on the login page, suitable for low-performance devices",
"inheritParentBg": "Inherit Parent Background",
"inheritParentBgDesc": "When enabled, uses the background config from the parent layer",
"fontFamilyLabel": "Font Family",
"fontFamilyPlaceholder": "Select font family",
"fontFamilySystem": "System Default (System)",
"fontFamilySans": "Sans-serif",
"fontFamilySerif": "Serif",
"fontFamilyMono": "Monospace",
"baseFontSize": "Base Font Size",
"lineHeight": "Line Height",
"lineHeightPlaceholder": "Select line height",
"lineHeightCompact": "Compact (1.2)",
"lineHeightNormal": "Normal (1.5)",
"lineHeightLoose": "Loose (1.75)",
"borderRadiusLabel": "Border Radius",
"shadowLabel": "Shadow Intensity",
"shadowPlaceholder": "Select shadow intensity",
"shadowNone": "None",
"shadowSm": "Small",
"shadowMd": "Medium",
"shadowLg": "Large",
"shadowXl": "Extra Large",
"blurLabel": "Blur Effect",
"sidebarWidthLabel": "Sidebar Width",
"maxContentWidth": "Max Content Width",
"spacingUnit": "Spacing Unit",
"animationSpeedLabel": "Animation Speed",
"animationSpeedPlaceholder": "Select animation speed",
"animationFast": "Fast (100ms)",
"animationNormal": "Normal (300ms)",
"animationSlow": "Slow (500ms)",
"animationOff": "Off (0ms)",
"bgPage": "Page",
"bgSidebar": "Sidebar",
"typographyGroup": "Typography",
"visualGroup": "Visual Effects",
"layoutGroup": "Layout",
"animationGroup": "Animation",
"backgroundGroup": "Background Settings"
},
"security": {
"currentToken": "Current Access Token",
"yourToken": "Your Access Token",
"regenerate": "Regenerate",
"customToken": "Custom Access Token",
"securityTip": "Security Tips",
"cannotCopy": "Cannot copy",
"copySuccess": "Copied",
"copyFailed": "Copy failed",
"updateSuccess": "Updated",
"updateFailed": "Update failed",
"generateSuccess": "Generated",
"generateFailed": "Generation failed",
"newToken": "New Access Token",
"confirmRegenerate": "Confirm Regenerate Token",
"confirmRegenerateDesc": "The old token will be invalidated after regeneration. You will need to log in again.",
"cancel": "Cancel",
"confirm": "Confirm",
"cannotCopyDesc": "Token is stored in a secure Cookie. Please regenerate to get a new Token.",
"copySuccessDesc": "Token copied to clipboard",
"copyFailedDesc": "Please copy the Token manually",
"inputError": "Input error",
"inputErrorDesc": "Please enter a new Token",
"formatError": "Format error",
"formatErrorDesc": "Token does not meet requirements: {{failedRules}}",
"updateSuccessDesc": "Access Token updated. Redirecting to login page.",
"updateFailedDesc": "Unable to update Token",
"updateFailedConn": "Failed to connect to server",
"generateSuccessDesc": "New Access Token generated. Please save it immediately.",
"generateFailedDesc": "Unable to generate new Token",
"generateFailedConn": "Failed to connect to server",
"cannotView": "Cannot view",
"cannotViewDesc": "Token is stored in a secure Cookie. Click \"Regenerate\" to get a new Token.",
"hide": "Hide",
"show": "Show",
"copyTip": "Copy to clipboard",
"regenerateShort": "Generate",
"confirmRegenerateFullDesc": "This will generate a new 64-character secure token, immediately invalidating the current Token. You will need to log in again with the new Token. This action cannot be undone. Are you sure?",
"confirmGenerate": "Confirm Generate",
"tokenStorePlaceholder": "Token is stored in a secure Cookie",
"safekeepTip": "Keep your Access Token safe and do not share it with others.",
"newTokenLabel": "New Access Token",
"customTokenPlaceholder": "Enter custom Token",
"tokenReqTitle": "Token security requirements:",
"tokenValid": "Token format is valid and ready to use",
"updateBtn": "Update Custom Token",
"updating": "Updating...",
"dialogTitle": "New Access Token",
"dialogDesc": "This is your new Token. Please save it immediately. You will be redirected to the login page after closing this window.",
"dialogTokenLabel": "Your new Token (64-char secure token)",
"important": "Important Notice",
"tip1": "This Token is only shown once and cannot be viewed after closing",
"tip2": "Copy and save it to a secure location immediately",
"tip3": "You will be automatically redirected to the login page after closing",
"tip4": "Use the new Token to log back in",
"copied": "Copied",
"copyToken": "Copy Token",
"savedClose": "Saved, close",
"securityTip1": "Regenerating creates a new system-generated 64-character secure token",
"securityTip2": "Custom Tokens must meet all security requirements",
"securityTip3": "After updating, the old Token will be immediately invalidated",
"securityTip4": "View and copy your Token only in a secure environment",
"securityTip5": "If you suspect a Token leak, regenerate or update it immediately",
"securityTip6": "System-generated Tokens are recommended for maximum security"
},
"other": {
"performance": "Performance & Storage",
"localStorage": "Local Storage Usage",
"logCache": "Log Cache Size",
"importExport": "Import / Export Settings",
"configWizard": "Config Wizard",
"devTools": "Developer Tools",
"clearStorage": "Clear Local Storage",
"clearStorageDesc": "Clear all local storage data",
"clearStorageConfirm": "Confirm Clear",
"clearLogCache": "Clear Log Cache",
"clearLogCacheDesc": "Clear all cached log data",
"clearLogCacheConfirm": "Confirm Clear",
"importSettings": "Import Settings",
"exportSettings": "Export Settings",
"resetAllSettings": "Reset All Settings",
"resetAllSettingsDesc": "Restore all settings to defaults",
"resetAllSettingsConfirm": "Confirm Reset",
"clearStorageSuccess": "Local storage cleared",
"clearStorageFailed": "Failed to clear",
"clearLogSuccess": "Log cache cleared",
"clearLogFailed": "Failed to clear",
"importSuccess": "Import successful",
"importFailed": "Import failed",
"exportSuccess": "Export successful",
"exportFailed": "Export failed",
"resetSuccess": "Reset successful",
"resetFailed": "Reset failed",
"storageItems": "{{count}} storage items",
"logCacheSizeDesc": "Controls the maximum number of log entries cached. Larger values use more memory.",
"logCacheSizeUnit": "entries",
"dataSyncIntervalLabel": "Home Data Refresh Interval",
"dataSyncIntervalUnit": "s",
"dataSyncIntervalDesc": "Controls the auto-refresh interval for home page statistics",
"wsReconnectLabel": "WebSocket Reconnect Interval",
"wsReconnectUnit": "s",
"wsReconnectDesc": "Base reconnect interval after log WebSocket disconnects",
"wsMaxReconnectLabel": "WebSocket Max Reconnect Attempts",
"wsMaxReconnectUnit": "times",
"wsMaxReconnectDesc": "Maximum reconnect attempts after connection failure",
"clearLogCacheFn": "Clear Log Cache",
"clearLocalCache": "Clear Local Cache",
"confirmClearCache": "Confirm Clear Local Cache",
"confirmClearCacheDesc": "This will clear all locally cached settings and data (excluding login credentials). You may need to reconfigure some preferences. Are you sure?",
"confirmClear": "Confirm Clear",
"importExportDesc": "Export current interface settings for backup, or restore from a previously exported file.",
"exporting": "Exporting...",
"importing": "Importing...",
"resetAllSettingsBtn": "Reset All Settings to Defaults",
"confirmResetAll": "Confirm Reset All Settings",
"confirmResetAllDesc": "This will restore all interface settings to their defaults, including theme, colors, animation, and other preferences. This will not affect your login status. Are you sure?",
"configWizardDesc": "Re-run the initial setup wizard to reconfigure system basics.",
"rerunSetup": "Re-run Initial Setup",
"confirmRerunSetup": "Confirm Re-run Setup",
"confirmRerunSetupDesc": "This will take you back to the initial setup wizard. You can reconfigure the system basics. Are you sure?",
"devToolsDesc": "The following features are for development and debugging only. They may cause crashes or abnormal behavior.",
"triggerError": "Trigger Test Error",
"confirmTriggerError": "Confirm Trigger Error",
"confirmTriggerErrorDesc": "This will manually trigger a React error to test the error boundary component. The page will display an error view; you can recover by refreshing the page or clicking Go Home.",
"confirmTrigger": "Confirm Trigger",
"logCleared": "Log cleared",
"logClearedDesc": "Log cache has been cleared",
"cacheCleared": "Cache cleared",
"cacheClearedDesc": "Cleared {{count}} cached items",
"exportSuccessDesc": "Settings exported as a JSON file",
"exportFailedDesc": "Unable to export settings",
"importSuccessDesc": "Successfully imported {{imported}} settings",
"importSkippedSuffix": ", skipped {{skipped}}",
"importRefreshHint": "Note",
"importRefreshHintDesc": "Some settings require a page refresh to take full effect",
"importNoDataDesc": "No valid settings to import",
"importInvalidDesc": "Invalid file format",
"resetDone": "Reset done",
"resetDoneDesc": "All settings restored to defaults. Refresh the page to apply changes."
},
"about": {
"openSource": "Open Source",
"aboutApp": "About MaiBot Dashboard",
"version": "Version:",
"author": "Author",
"techStack": "Tech Stack",
"frontendFramework": "Frontend Framework",
"uiComponents": "UI Components",
"backend": "Backend",
"buildTool": "Build Tool",
"openSourceThanks": "Open Source Libraries",
"openSourceLicense": "Open Source License",
"openSourceDesc": "This project is open source on GitHub. Give us a Star ⭐!",
"visitGitHub": "Visit GitHub",
"appDesc": "A modern Web management interface for MaiBot",
"maimaiCore": "MaiBot Core",
"uiFrameworkGroup": "UI Framework & Components",
"routingStateGroup": "Routing & State Management",
"formGroup": "Form Handling",
"utilsGroup": "Utility Libraries",
"animationGroup": "Animation",
"backendGroup": "Backend Framework",
"devToolsGroup": "Developer Tools",
"openSourceThanksDesc": "This project uses the following excellent open source libraries. Thank you for your contributions:",
"licenseDesc": "This project is licensed under the GNU General Public License v3.0. You are free to use, modify, and distribute the software, provided you keep the same open source license.",
"licenseDeps": "All open source libraries used by this project comply with their respective licenses (MIT, Apache-2.0, BSD, etc.). Thank you to all open source contributors for your selfless work.",
"lib": {
"react": "UI library for building user interfaces",
"shadcn": "Elegant React component library",
"radix": "Unstyled accessible component primitives",
"tailwind": "Utility-first CSS framework",
"lucide": "Beautiful icon library",
"tanstackRouter": "Type-safe routing library",
"zustand": "Lightweight state management",
"reactHookForm": "High-performance form library",
"zod": "TypeScript-first schema validation",
"clsx": "Conditional className builder",
"tailwindMerge": "Tailwind class name merger",
"cva": "Component variant management",
"dateFns": "Modern date utility library",
"framerMotion": "React animation library",
"vaul": "Drawer component animation",
"fastapi": "Modern Python web framework",
"uvicorn": "ASGI server",
"pydantic": "Data validation library",
"pythonMultipart": "File upload support",
"typescript": "Superset of JavaScript",
"vite": "Next-generation frontend build tool",
"eslint": "JavaScript code linter",
"postcss": "CSS transformation tool"
}
}
},
"auth": {
"title": "Login",
"description": "Enter your access token to continue",
"tokenLabel": "Access Token",
"tokenPlaceholder": "Enter Access Token",
"loginButton": "Login",
"loggingIn": "Logging in...",
"loginFailed": "Login failed",
"loginSuccess": "Login successful",
"checkingAuth": "Checking login status...",
"welcome": "Welcome to MaiBot",
"accessDesc": "Enter your Access Token to continue accessing the system",
"tokenRequired": "Please enter your Access Token",
"verifyingLabel": "Verifying...",
"verifyEnter": "Verify & Enter",
"helpLink": "I don't have a Token. Where can I get one?",
"helpTitle": "How to Get an Access Token",
"helpDesc": "Access Token is the only credential to access MaiBot WebUI. Get yours in one of the following ways",
"method1Title": "Method 1: Check Startup Log",
"method1Desc": "When MaiBot starts, the console will display the WebUI Access Token.",
"method1Example1": "🔑 WebUI Access Token: abc123...",
"method1Example2": "💡 Use this Token to log in to WebUI",
"method2Title": "Method 2: Check Config File",
"method2Desc": "The Token is saved in the config file at the project root:",
"method2FileHint": "Open this file and copy the value of the access_token field",
"securityTipTitle": "Security Notice",
"securityTip1": "Keep your Token safe and never share it with others",
"securityTip2": "To reset the Token, go to System Settings after logging in",
"slowLink": "The interface feels laggy. What can I do?",
"disableAnimTitle": "Disable Background Animation",
"disableAnimDesc": "Background animation may cause lag on low-performance devices. Disabling it can significantly improve smoothness.",
"disableAnimDetail": "After disabling, the background will be a solid color, but all features remain fully functional. You can re-enable it anytime in System Settings.",
"disableAnimBtn": "Disable Animation",
"verifyFailed": "Token verification failed. Please check and try again.",
"connFailed": "Failed to connect to the server. Please check your network connection.",
"switchToLight": "Switch to light mode",
"switchToDark": "Switch to dark mode"
},
"common": {
"loading": "Loading...",
"error": "Error",
"retry": "Retry",
"save": "Save",
"cancel": "Cancel",
"confirm": "Confirm",
"delete": "Delete",
"edit": "Edit",
"close": "Close",
"search": "Search",
"noData": "No data",
"success": "Success",
"failed": "Failed"
},
"restart": {
"preparing": "Preparing to restart",
"preparingDesc": "Sending restart request...",
"preparingTip": "🔄 Preparing to restart MaiBot...",
"restarting": "Restarting MaiBot",
"restartingDesc": "Please wait, MaiBot is restarting...",
"restartingTip": "🔄 Config saved, restarting main process...",
"checking": "Checking service status",
"checkingDesc": "Waiting for service to recover... ({{current}}/{{max}})",
"checkingTip": "⏳ Waiting for service to recover, do not close this page...",
"success": "Restart successful",
"successDesc": "Redirecting to login page...",
"successTip": "✅ Config applied, service is running normally",
"failed": "Restart timed out",
"failedDesc": "Service failed to recover within the expected time",
"failedTip": "⚠️ If unresponsive for a long time, try restarting manually",
"refreshPage": "Refresh page",
"retryCheck": "Retry check",
"elapsed": "Elapsed:"
},
"errorBoundary": {
"title": "Something went wrong",
"description": "The application encountered an unexpected error. You can try refreshing the page or going back home.",
"refreshPage": "Refresh page",
"goHome": "Go home",
"footer": "If the problem persists, copy the error info and report it to the developer",
"copiedToClipboard": "Copied to clipboard",
"copyError": "Copy error info"
},
"search": {
"placeholder": "Search pages...",
"title": "Search",
"noResults": "No matching pages found",
"startSearch": "Type a keyword to start searching",
"navigate": "Navigate",
"select": "Select",
"close": "Close",
"categories": {
"overview": "Overview",
"config": "Config",
"resources": "Resources",
"monitor": "Monitor",
"extensions": "Extensions",
"system": "System"
},
"items": {
"home": "Home",
"homeDesc": "View dashboard overview",
"botConfig": "Bot Main Config",
"botConfigDesc": "Configure bot core settings",
"modelProvider": "Model Provider Config",
"modelProviderDesc": "Configure model providers",
"model": "Model Config",
"modelDesc": "Configure model parameters",
"emoji": "Emoji Management",
"emojiDesc": "Manage bot emoji",
"expression": "Expression Management",
"expressionDesc": "Manage bot expressions",
"person": "Person Info",
"personDesc": "Manage person info",
"jargon": "Slang Management",
"jargonDesc": "Manage bot learned slang and jargon",
"statistics": "Statistics",
"statisticsDesc": "View usage statistics",
"plugins": "Plugin Market",
"pluginsDesc": "Browse and install plugins",
"logs": "Log Viewer",
"logsDesc": "View system logs",
"settings": "Settings",
"settingsDesc": "Configure system settings"
}
},
"httpWarning": {
"title": "Security Warning:",
"message": "You are accessing MaiBot WebUI via HTTP",
"description": "If this is a public server, your data (including Token, chat history, etc.) may be intercepted in transit. It is strongly recommended to use HTTPS or access only from a local network.",
"dismiss": "Dismiss warning"
}
}

View File

@@ -0,0 +1,477 @@
{
"language": { "zh": "中文", "en": "English", "ja": "日本語", "ko": "한국어" },
"header": {
"collapseSidebar": "サイドバーを折りたたむ",
"expandSidebar": "サイドバーを展開する",
"toggleConnection": "バックエンド接続を切り替える",
"viewAnnualSummary": "年間サマリーを表示",
"annualSummary": "2025 年間サマリー",
"searchPlaceholder": "検索...",
"viewDocs": "MaiBot ドキュメントを表示",
"docs": "MaiBot ドキュメント",
"switchToLight": "ライトモードに切り替える",
"switchToDark": "ダークモードに切り替える",
"logout": "ログアウト",
"logoutLabel": "ログアウト",
"notConnected": "未接続"
},
"sidebar": {
"groups": {
"overview": "概要",
"botConfig": "ボット設定",
"botResources": "ボットリソース",
"extensionsMonitor": "拡張機能 & 監視",
"system": "システム"
},
"menu": {
"home": "ホーム",
"botMainConfig": "ボットメイン設定",
"aiModelProvider": "AIモデルプロバイダー",
"modelManagement": "モデル管理",
"adapterConfig": "アダプター設定",
"emojiManagement": "絵文字管理",
"expressionManagement": "表現管理",
"slangManagement": "スラング管理",
"personInfo": "人物情報",
"knowledgeGraph": "知識グラフ",
"knowledgeBase": "ナレッジベース",
"pluginMarket": "プラグインマーケット",
"configTemplate": "設定テンプレート",
"pluginConfig": "プラグイン設定",
"logViewer": "ログビューア",
"plannerMonitor": "プランナー & リプライヤー監視",
"localChat": "ローカルチャット",
"settings": "設定"
}
},
"layout": {
"verifyingLogin": "ログイン状態を確認中...",
"logoTitle": "MaiBot WebUI",
"logoTitleShort": "M"
},
"settings": {
"title": "設定",
"description": "アプリの設定を管理する",
"tabs": {
"appearance": "外観",
"security": "セキュリティ",
"other": "その他",
"about": "について"
},
"appearance": {
"themeMode": "テーマモード",
"themeModeDesc": "ライト / ダーク / システムに従う",
"light": "ライト",
"dark": "ダーク",
"system": "システム",
"accentColor": "アクセントカラー",
"resetDefault": "デフォルトにリセット",
"colorPreview": "カラープレビュー",
"styleTweaks": "スタイル調整",
"typography": "タイポグラフィ",
"visualEffects": "視覚効果",
"layout": "レイアウト",
"animation": "アニメーション",
"background": "背景",
"customCss": "カスタム CSS",
"animationEffect": "アニメーション効果",
"importExportTheme": "テーマのインポート / エクスポート",
"importTheme": "テーマをインポート",
"exportTheme": "テーマをエクスポート",
"importSuccess": "インポート成功",
"importFailed": "インポート失敗",
"resetSuccess": "リセット成功",
"fontFamily": "フォントファミリー",
"fontSize": "フォントサイズ",
"borderRadius": "ボーダー半径",
"contentWidth": "コンテンツ幅",
"sidebarWidth": "サイドバー幅",
"animationSpeed": "アニメーション速度",
"backgroundImage": "背景画像",
"backgroundBlur": "背景ぼかし",
"backgroundOpacity": "背景透明度",
"lightDesc": "常にライトテーマを使用",
"darkDesc": "常にダークテーマを使用",
"systemDesc": "システム設定に従って自動切り替え",
"accentPrimary": "メインカラー",
"accentHint": "カラーリングをクリックするか、HEX 値を入力してください",
"resetTheme": "デフォルトにリセット",
"confirmResetTheme": "テーマのリセットを確認",
"confirmResetThemeDesc": "これにより、色、フォント、レイアウト、カスタム CSS を含むすべてのテーマ設定がデフォルトにリセットされます。この操作は元に戻せません。よろしいですか?",
"confirmResetAction": "リセットを確認",
"cssWarningTitle": "以下の内容はセキュリティフィルターされました:",
"cssPlaceholder": "/* カスタム CSS をここに入力 */\n\n/* 例: */\n/* .sidebar { background: #1a1a2e; } */",
"cssDescription": "カスタム CSS を記述して、インターフェースをさらにカスタマイズしてください。危険な CSS@import、url() など)は自動的にフィルターされます。",
"clearCss": "クリア",
"exportDesc": "テーマを JSON ファイルとしてエクスポートして共有またはバックアップ。インポート時にすべての設定が自動適用されます。",
"importSuccessDesc": "テーマ設定がインポートされました。ページが自動的にリロードされます",
"resetSuccessDesc": "テーマがデフォルトにリセットされました",
"enableAnimations": "アニメーションを有効にする",
"enableAnimationsDesc": "無効にすると、すべてのトランジションアニメーションとエフェクトが無効化されパフォーマンスが向上します",
"loginWavesBackground": "ログインページのウェーブ背景",
"loginWavesBackgroundDesc": "無効にするとログインページが単色背景になります。低スペックのデバイスに適しています",
"inheritParentBg": "上位背景を継承",
"inheritParentBgDesc": "有効にすると上位レイヤーの背景設定を使用します",
"fontFamilyLabel": "フォントファミリー",
"fontFamilyPlaceholder": "フォントファミリーを選択",
"fontFamilySystem": "システムデフォルト (System)",
"fontFamilySans": "サンセリフ (Sans-serif)",
"fontFamilySerif": "セリフ (Serif)",
"fontFamilyMono": "等幅 (Monospace)",
"baseFontSize": "基準フォントサイズ (Base Size)",
"lineHeight": "行高 (Line Height)",
"lineHeightPlaceholder": "行高を選択",
"lineHeightCompact": "コンパクト (1.2)",
"lineHeightNormal": "標準 (1.5)",
"lineHeightLoose": "ルーズ (1.75)",
"borderRadiusLabel": "圆角の大きさ (Radius)",
"shadowLabel": "シャドウの強度 (Shadow)",
"shadowPlaceholder": "シャドウの強度を選択",
"shadowNone": "なし (None)",
"shadowSm": "軽微 (Small)",
"shadowMd": "中程度 (Medium)",
"shadowLg": "強い (Large)",
"shadowXl": "極強 (Extra Large)",
"blurLabel": "ボカシ効果 (Blur)",
"sidebarWidthLabel": "サイドバー幅 (Sidebar Width)",
"maxContentWidth": "コンテンツ最大幅 (Max Width)",
"spacingUnit": "基準間隔 (Spacing Unit)",
"animationSpeedLabel": "アニメーション速度 (Speed)",
"animationSpeedPlaceholder": "アニメーション速度を選択",
"animationFast": "高速 (100ms)",
"animationNormal": "標準 (300ms)",
"animationSlow": "低速 (500ms)",
"animationOff": "オフ (0ms)",
"bgPage": "ページ",
"bgSidebar": "サイドバー",
"typographyGroup": "タイポグラフィ (Typography)",
"visualGroup": "視覚効果 (Visual)",
"layoutGroup": "レイアウト (Layout)",
"animationGroup": "アニメーション (Animation)",
"backgroundGroup": "背景設定 (Backgrounds)"
},
"security": {
"currentToken": "現在のアクセストークン",
"yourToken": "あなたのアクセストークン",
"regenerate": "再生成",
"customToken": "カスタムアクセストークン",
"securityTip": "セキュリティのヒント",
"cannotCopy": "コピーできません",
"copySuccess": "コピーしました",
"copyFailed": "コピー失敗",
"updateSuccess": "更新しました",
"updateFailed": "更新失敗",
"generateSuccess": "生成しました",
"generateFailed": "生成失敗",
"newToken": "新しいアクセストークン",
"confirmRegenerate": "トークンの再生成を確認",
"confirmRegenerateDesc": "再生成後、古いトークンは無効になります。再ログインが必要です。",
"cancel": "キャンセル",
"confirm": "確認",
"cannotCopyDesc": "Token はセキュアな Cookie に保存されています。新しい Token を取得するには再生成してください。",
"copySuccessDesc": "Token をクリップボードにコピーしました",
"copyFailedDesc": "Token を手動でコピーしてください",
"inputError": "入力エラー",
"inputErrorDesc": "新しい Token を入力してください",
"formatError": "フォーマットエラー",
"formatErrorDesc": "Token が要件を満たしていません: {{failedRules}}",
"updateSuccessDesc": "Access Token を更新しました。ログインページにリダイレクトします。",
"updateFailedDesc": "Token を更新できません",
"updateFailedConn": "サーバーへの接続に失敗しました",
"generateSuccessDesc": "新しい Access Token を生成しました。すぐに保存してください。",
"generateFailedDesc": "新しい Token を生成できません",
"generateFailedConn": "サーバーへの接続に失敗しました",
"cannotView": "表示できません",
"cannotViewDesc": "Token はセキュアな Cookie に保存されています。新しい Token が必要な場合は\"再生成\"をクリックしてください。",
"hide": "非表示",
"show": "表示",
"copyTip": "クリップボードにコピー",
"regenerateShort": "生成",
"confirmRegenerateFullDesc": "新しい 64 桁のセキュアトークンを生成し、現在の Token を即座に無効にします。新しい Token で再ログインが必要です。この操作は元に戻せません。続けますか?",
"confirmGenerate": "生成を確認",
"tokenStorePlaceholder": "Token はセキュアな Cookie に保存されています",
"safekeepTip": "Access Token を安全に保管し、他人に漏洩しないでください。",
"newTokenLabel": "新しいアクセストークン",
"customTokenPlaceholder": "カスタム Token を入力",
"tokenReqTitle": "Token セキュリティ要件:",
"tokenValid": "Token のフォーマットは正しく使用できます",
"updateBtn": "カスタム Token を更新",
"updating": "更新中...",
"dialogTitle": "新しい Access Token",
"dialogDesc": "これが新しい Token です。すぐに保存してください。このウィンドウを閉じるとログインページにリダイレクトされます。",
"dialogTokenLabel": "新しい Token (64 桁セキュアトークン)",
"important": "重要なお知らせ",
"tip1": "この Token は一度しか表示されません。閉じた後は表示できません",
"tip2": "すぐにコピーして安全な場所に保存してください",
"tip3": "閉じると自動的にログインページにリダイレクトされます",
"tip4": "新しい Token で再ログインしてください",
"copied": "コピー済み",
"copyToken": "Token をコピー",
"savedClose": "保存しました。閉じる",
"securityTip1": "再生成するとシステムがランダムに生成した 64 桁のセキュアトークンが作成されます",
"securityTip2": "カスタム Token はすべてのセキュリティ要件を満たす必要があります",
"securityTip3": "Token を更新すると、古い Token は即座に無効になります",
"securityTip4": "安全な環境で Token を表示してコピーしてください",
"securityTip5": "Token の漏洩が疏われる場合は、すぐに再生成または更新してください",
"securityTip6": "最高のセキュリティのためにシステム生成の Token を推奨します"
},
"other": {
"performance": "パフォーマンス & ストレージ",
"localStorage": "ローカルストレージ使用量",
"logCache": "ログキャッシュサイズ",
"importExport": "設定のインポート / エクスポート",
"configWizard": "設定ウィザード",
"devTools": "開発者ツール",
"clearStorage": "ローカルストレージを削除",
"clearStorageDesc": "すべてのローカルストレージデータを削除します",
"clearStorageConfirm": "削除を確認",
"clearLogCache": "ログキャッシュを削除",
"clearLogCacheDesc": "すべてのキャッシュされたログデータを削除します",
"clearLogCacheConfirm": "削除を確認",
"importSettings": "設定をインポート",
"exportSettings": "設定をエクスポート",
"resetAllSettings": "すべての設定をリセット",
"resetAllSettingsDesc": "すべての設定をデフォルトに戻します",
"resetAllSettingsConfirm": "リセットを確認",
"clearStorageSuccess": "ローカルストレージを削除しました",
"clearStorageFailed": "削除失敗",
"clearLogSuccess": "ログキャッシュを削除しました",
"clearLogFailed": "削除失敗",
"importSuccess": "インポート成功",
"importFailed": "インポート失敗",
"exportSuccess": "エクスポート成功",
"exportFailed": "エクスポート失敗",
"resetSuccess": "リセット成功",
"resetFailed": "リセット失敗",
"storageItems": "{{count}} 件のアイテム",
"logCacheSizeDesc": "ログビューアがキャッシュする最大ログ数を制御します。大きい値はより多くのメモリを使用します。",
"logCacheSizeUnit": "件",
"dataSyncIntervalLabel": "ホームデータ更新間隔",
"dataSyncIntervalUnit": "秒",
"dataSyncIntervalDesc": "ホーム画面の統計データの自動更新間隔を制御します",
"wsReconnectLabel": "WebSocket 再接続間隔",
"wsReconnectUnit": "秒",
"wsReconnectDesc": "ログ WebSocket 切断後の再接続基本間隔",
"wsMaxReconnectLabel": "WebSocket 最大再接続回数",
"wsMaxReconnectUnit": "回",
"wsMaxReconnectDesc": "接続失敗後の最大再接続試行回数",
"clearLogCacheFn": "ログキャッシュをクリア",
"clearLocalCache": "ローカルキャッシュをクリア",
"confirmClearCache": "ローカルキャッシュのクリアを確認",
"confirmClearCacheDesc": "ローカルにキャッシュされたすべての設定とデータ(ログイン資格情報を除く)をクリアします。一部の設定を再構成する必要があるかもしれません。続けますか?",
"confirmClear": "クリアを確認",
"importExportDesc": "現在のインターフェース設定をエクスポートしてバックアップしたり、以前のファイルから復元したりできます。",
"exporting": "エクスポート中...",
"importing": "インポート中...",
"resetAllSettingsBtn": "すべての設定をデフォルトにリセット",
"confirmResetAll": "すべての設定のリセットを確認",
"confirmResetAllDesc": "テーマ、色、アニメーションなどのインターフェース設定をデフォルトに戻します。ログイン状態には影響しません。続けますか?",
"configWizardDesc": "初回設定ウィザードを再実行してシステムの基本設定を再構成できます。",
"rerunSetup": "初回設定を再実行",
"confirmRerunSetup": "再構成を確認",
"confirmRerunSetupDesc": "初回設定ウィザードに戻ります。システムの基本設定を再設定できます。続けますか?",
"devToolsDesc": "以下の機能は開発・デバッグ目的のみです。クラッシュや異常動作を引き起こす可能性があります。",
"triggerError": "テストエラーを発生させる",
"confirmTriggerError": "エラーの発生を確認",
"confirmTriggerErrorDesc": "React エラーを手動で発生させ、エラーボーダーコンポーネントをテストします。ページを更新するかホームに戻ることで復元できます。",
"confirmTrigger": "発生を確認",
"logCleared": "ログをクリアしました",
"logClearedDesc": "ログキャッシュをクリアしました",
"cacheCleared": "キャッシュをクリアしました",
"cacheClearedDesc": "{{count}} 件のキャッシュデータをクリアしました",
"exportSuccessDesc": "設定を JSON ファイルとしてエクスポートしました",
"exportFailedDesc": "設定のエクスポートに失敗しました",
"importSuccessDesc": "{{imported}} 件の設定をインポートしました",
"importSkippedSuffix": "、{{skipped}} 件をスキップ",
"importRefreshHint": "お知らせ",
"importRefreshHintDesc": "一部の設定はページを更新するまで完全に有効になりません",
"importNoDataDesc": "インポートする有効な設定がありません",
"importInvalidDesc": "ファイルフォーマットが無効です",
"resetDone": "リセット完了",
"resetDoneDesc": "すべての設定がデフォルトに戻りました。変更を適用するにはページを更新してください。"
},
"about": {
"openSource": "オープンソース",
"aboutApp": "MaiBot Dashboard について",
"version": "バージョン:",
"author": "作者",
"techStack": "技術スタック",
"frontendFramework": "フロントエンドフレームワーク",
"uiComponents": "UI コンポーネント",
"backend": "バックエンド",
"buildTool": "ビルドツール",
"openSourceThanks": "使用オープンソースライブラリ",
"openSourceLicense": "オープンソースライセンス",
"openSourceDesc": "このプロジェクトは GitHub で公開されています。Star ⭐ でサポートしてください!",
"visitGitHub": "GitHub へ進む",
"appDesc": "MaiBot のモダンな Web 管理インターフェース",
"maimaiCore": "MaiBot コア",
"uiFrameworkGroup": "UI フレームワーク & コンポーネント",
"routingStateGroup": "ルーティング & 状態管理",
"formGroup": "フォーム処理",
"utilsGroup": "ユーティリティライブラリ",
"animationGroup": "アニメーション",
"backendGroup": "バックエンドフレームワーク",
"devToolsGroup": "開発ツール",
"openSourceThanksDesc": "このプロジェクトは以下の優れたオープンソースライブラリを使用しています。貢献に感謝します:",
"licenseDesc": "このプロジェクトは GNU General Public License v3.0 でライセンスされています。同じオープンソースライセンスを保持する限り、自由に使用・修改・配布できます。",
"licenseDeps": "このプロジェクトのすべての依存オープンソースライブラリはそれぞれのライセンスMIT、Apache-2.0、BSD など)に従っています。すべてのオープンソース貢献者に感謝します。",
"lib": {
"react": "UIを構築するためのライブラリ",
"shadcn": "エレガントな React コンポーネントライブラリ",
"radix": "スタイルなしのアクセシブルなコンポーネント",
"tailwind": "ユーティリティファーストの CSS フレームワーク",
"lucide": "美しいアイコンライブラリ",
"tanstackRouter": "型安全なルーティングライブラリ",
"zustand": "軽量な状態管理ライブラリ",
"reactHookForm": "高パフォーマンスなフォームライブラリ",
"zod": "TypeScript ファーストのスキーマ検証",
"clsx": "条件付き className ビルダー",
"tailwindMerge": "Tailwind クラス名マージツール",
"cva": "コンポーネントバリアント管理",
"dateFns": "モダンな日付ユーティリティライブラリ",
"framerMotion": "React アニメーションライブラリ",
"vaul": "ドロワーコンポーネントアニメーション",
"fastapi": "モダンな Python Web フレームワーク",
"uvicorn": "ASGI サーバー",
"pydantic": "データ検証ライブラリ",
"pythonMultipart": "ファイルアップロードサポート",
"typescript": "JavaScript のスーパーセット",
"vite": "次世代フロントエンドビルドツール",
"eslint": "JavaScript コードリンター",
"postcss": "CSS 変換ツール"
}
}
},
"auth": {
"title": "ログイン",
"description": "続行するにはアクセストークンを入力してください",
"tokenLabel": "アクセストークン",
"tokenPlaceholder": "アクセストークンを入力",
"loginButton": "ログイン",
"loggingIn": "ログイン中...",
"loginFailed": "ログイン失敗",
"loginSuccess": "ログイン成功",
"checkingAuth": "ログイン状態を確認中...",
"welcome": "MaiBot へようこそ",
"accessDesc": "システムにアクセスするためにアクセストークンを入力してください",
"tokenRequired": "アクセストークンを入力してください",
"verifyingLabel": "验証中...",
"verifyEnter": "验証して入る",
"helpLink": "Token がありません。どこで取得できますか?",
"helpTitle": "Access Token の取得方法",
"helpDesc": "Access Token は MaiBot WebUI にアクセスする唯一の証明情報です。次の方法で取得してください",
"method1Title": "方法1:起動ログを確認",
"method1Desc": "MaiBot 起動時にコンソールに WebUI Access Token が表示されます。",
"method1Example1": "🔑 WebUI Access Token: abc123...",
"method1Example2": "💡 この Token で WebUI にログインしてください",
"method2Title": "方法2:設定ファイルを確認",
"method2Desc": "Token はプロジェクトルートの設定ファイルに保存されています:",
"method2FileHint": "このファイルを開いて access_token フィールドの値をコピーしてください",
"securityTipTitle": "セキュリティノート",
"securityTip1": "Token を安全に保管し、他人に漏洱しないでください",
"securityTip2": "Token をリセットするには、ログイン後にシステム設定へ進んでください",
"slowLink": "インターフェースが重いです。どうすればいいですか?",
"disableAnimTitle": "バックグラウンドアニメーションを無効にする",
"disableAnimDesc": "バックグラウンドアニメーションは低スペックのデバイスで遅延を引き起こす可能性があります。無効にすると活百度が大幅に向上します。",
"disableAnimDetail": "無効にすると背景が単色になりますが、機能には影響しません。システム設定からいつでも再有効化できます。",
"disableAnimBtn": "アニメーションを無効にする",
"verifyFailed": "Token の検証に失敗しました。确認して再試行してください。",
"connFailed": "サーバーへの接続に失敗しました。ネットワーク接続を確認してください。",
"switchToLight": "ライトモードに切り替える",
"switchToDark": "ダークモードに切り替える"
},
"common": {
"loading": "読み込み中...",
"error": "エラー",
"retry": "再試行",
"save": "保存",
"cancel": "キャンセル",
"confirm": "確認",
"delete": "削除",
"edit": "編集",
"close": "閉じる",
"search": "検索",
"noData": "データなし",
"success": "成功",
"failed": "失敗"
},
"restart": {
"preparing": "再起動を準備中",
"preparingDesc": "再起動リクエストを送信中...",
"preparingTip": "🔄 MaiBot の再起動を準備中...",
"restarting": "MaiBot を再起動中",
"restartingDesc": "しばらお待ちください、MaiBot が再起動中です...",
"restartingTip": "🔄 設定を保存しました、メインプロセスを再起動中...",
"checking": "サービス状態を確認中",
"checkingDesc": "サービスの回復を待機中... ({{current}}/{{max}})",
"checkingTip": "⏳ サービスの回復を待機中、ページを閉じないでください...",
"success": "再起動成功",
"successDesc": "ログインページにリダイレクト中...",
"successTip": "✅ 設定が適用されました、サービスは正常に動作しています",
"failed": "再起動タイムアウト",
"failedDesc": "サービスが予定時間内に回復しませんでした",
"failedTip": "⚠️ 長時間応答がない場合は、手動で再起動してください",
"refreshPage": "ページを更新",
"retryCheck": "再試行",
"elapsed": "経過時間:"
},
"errorBoundary": {
"title": "問題が発生しました",
"description": "アプリケーションが予期しないエラーを検出しました。ページを更新するかホームに戻ることができます。",
"refreshPage": "ページを更新",
"goHome": "ホームに戻る",
"footer": "問題が解決しない場合は、エラー情報をコピーして開発者に報告してください",
"copiedToClipboard": "クリップボードにコピーしました",
"copyError": "エラー情報をコピー"
},
"search": {
"placeholder": "ページを検索...",
"title": "検索",
"noResults": "一致するページが見つかりません",
"startSearch": "キーワードを入力して検索を開始",
"navigate": "ナビゲート",
"select": "選択",
"close": "閉じる",
"categories": {
"overview": "概要",
"config": "設定",
"resources": "リソース",
"monitor": "監視",
"extensions": "拡張機能",
"system": "システム"
},
"items": {
"home": "ホーム",
"homeDesc": "ダッシュボード概要を表示",
"botConfig": "ボットメイン設定",
"botConfigDesc": "ボットのコア設定を構成",
"modelProvider": "モデルプロバイダー設定",
"modelProviderDesc": "モデルプロバイダーを設定",
"model": "モデル設定",
"modelDesc": "モデルパラメーターを設定",
"emoji": "絵文字管理",
"emojiDesc": "ボットの絵文字を管理",
"expression": "表現管理",
"expressionDesc": "ボットの表現を管理",
"person": "人物情報",
"personDesc": "人物情報を管理",
"jargon": "スラング管理",
"jargonDesc": "ボットが学習したスラングを管理",
"statistics": "統計情報",
"statisticsDesc": "使用統計を表示",
"plugins": "プラグインマーケット",
"pluginsDesc": "プラグインを閉覧してインストール",
"logs": "ログビューア",
"logsDesc": "システムログを表示",
"settings": "設定",
"settingsDesc": "システム設定を構成"
}
},
"httpWarning": {
"title": "セキュリティ警告:",
"message": "HTTP で MaiBot WebUI にアクセスしています",
"description": "これが公開サーバーの場合、データToken、チャット履歴などが転送中に傍受される可能性があります。HTTPS を使用するか、ローカルネットワークからのみアクセスすることを強くお勧めします。",
"dismiss": "警告を閉じる"
}
}

View File

@@ -0,0 +1,477 @@
{
"language": { "zh": "中文", "en": "English", "ja": "日本語", "ko": "한국어" },
"header": {
"collapseSidebar": "사이드바 접기",
"expandSidebar": "사이드바 펼치기",
"toggleConnection": "백엔드 연결 전환",
"viewAnnualSummary": "연간 요약 보기",
"annualSummary": "2025 연간 요약",
"searchPlaceholder": "검색...",
"viewDocs": "MaiBot 문서 보기",
"docs": "MaiBot 문서",
"switchToLight": "라이트 모드로 전환",
"switchToDark": "다크 모드로 전환",
"logout": "로그아웃",
"logoutLabel": "로그아웃",
"notConnected": "연결 안됨"
},
"sidebar": {
"groups": {
"overview": "개요",
"botConfig": "봇 설정",
"botResources": "봇 리소스",
"extensionsMonitor": "확장 기능 & 모니터",
"system": "시스템"
},
"menu": {
"home": "홈",
"botMainConfig": "봇 메인 설정",
"aiModelProvider": "AI 모델 공급자",
"modelManagement": "모델 관리",
"adapterConfig": "어댑터 설정",
"emojiManagement": "이모티콘 관리",
"expressionManagement": "표현 관리",
"slangManagement": "슬랭 관리",
"personInfo": "인물 정보",
"knowledgeGraph": "지식 그래프",
"knowledgeBase": "지식 베이스",
"pluginMarket": "플러그인 마켓",
"configTemplate": "설정 템플릿",
"pluginConfig": "플러그인 설정",
"logViewer": "로그 뷰어",
"plannerMonitor": "플래너 & 리플라이어 모니터",
"localChat": "로컬 채팅",
"settings": "설정"
}
},
"layout": {
"verifyingLogin": "로그인 상태 확인 중...",
"logoTitle": "MaiBot WebUI",
"logoTitleShort": "M"
},
"settings": {
"title": "설정",
"description": "앱 환경 설정 관리",
"tabs": {
"appearance": "외관",
"security": "보안",
"other": "기타",
"about": "정보"
},
"appearance": {
"themeMode": "테마 모드",
"themeModeDesc": "라이트 / 다크 / 시스템 따라가기",
"light": "라이트",
"dark": "다크",
"system": "시스템",
"accentColor": "강조 색상",
"resetDefault": "기본값으로 재설정",
"colorPreview": "색상 미리보기",
"styleTweaks": "스타일 조정",
"typography": "타이포그래피",
"visualEffects": "시각 효과",
"layout": "레이아웃",
"animation": "애니메이션",
"background": "배경",
"customCss": "사용자 정의 CSS",
"animationEffect": "애니메이션 효과",
"importExportTheme": "테마 가져오기 / 내보내기",
"importTheme": "테마 가져오기",
"exportTheme": "테마 내보내기",
"importSuccess": "가져오기 성공",
"importFailed": "가져오기 실패",
"resetSuccess": "재설정 성공",
"fontFamily": "글꼴",
"fontSize": "글자 크기",
"borderRadius": "테두리 반경",
"contentWidth": "콘텐츠 너비",
"sidebarWidth": "사이드바 너비",
"animationSpeed": "애니메이션 속도",
"backgroundImage": "배경 이미지",
"backgroundBlur": "배경 흐림",
"backgroundOpacity": "배경 투명도",
"lightDesc": "항상 라이트 테마 사용",
"darkDesc": "항상 다크 테마 사용",
"systemDesc": "시스템 설정에 따라 자동 전환",
"accentPrimary": "링 컴러",
"accentHint": "색상 퐹을 클릭하거나 HEX 값을 입력하세요",
"resetTheme": "기본값으로 재설정",
"confirmResetTheme": "테마 재설정 확인",
"confirmResetThemeDesc": "이렇게 하면 색상, 글꼴, 레이아웃 및 사용자 정의 CSS를 포함한 모든 테마 설정이 기본값으로 재설정됩니다. 이 작업은 되돌릴 수 없습니다. 계속하시겠습니까?",
"confirmResetAction": "재설정 확인",
"cssWarningTitle": "다음 내용이 안전 필터를 거쳣습니다:",
"cssPlaceholder": "/* 사용자 정의 CSS를 여기에 입력 */\n\n/* 예시: */\n/* .sidebar { background: #1a1a2e; } */",
"cssDescription": "인터페이스를 더욱 개인화하도록 사용자 정의 CSS를 작성하세요. 위험한 CSS(@import, url() 등)는 자동으로 필터됩니다.",
"clearCss": "지우기",
"exportDesc": "주제를 JSON 파일로 내보내 공유하거나 백업합니다. 가져올 때 모든 설정이 자동으로 적용됩니다.",
"importSuccessDesc": "테마 설정을 가져왔습니다. 페이지가 자동으로 새로고침됩니다",
"resetSuccessDesc": "테마가 기본값으로 재설정되었습니다",
"enableAnimations": "애니메이션 활성화",
"enableAnimationsDesc": "비활성화하면 모든 전환 애니메이션과 효과가 긺히고 성능이 향상됩니다",
"loginWavesBackground": "로그인 페이지 파도 배경",
"loginWavesBackgroundDesc": "비활성화하면 로그인 페이지가 단색 배경이 됩니다. 저사양 디바이스에 적합합니다",
"inheritParentBg": "상위 배경 상속",
"inheritParentBgDesc": "활성화하면 상위 레이어의 배경 설정을 사용합니다",
"fontFamilyLabel": "글꼴 패밀리",
"fontFamilyPlaceholder": "글꼴 패밀리 선택",
"fontFamilySystem": "시스템 기본 (System)",
"fontFamilySans": "돋움체 (Sans-serif)",
"fontFamilySerif": "세리프 (Serif)",
"fontFamilyMono": "등폭 (Monospace)",
"baseFontSize": "기본 글자 크기 (Base Size)",
"lineHeight": "줄 높이 (Line Height)",
"lineHeightPlaceholder": "줄 높이 선택",
"lineHeightCompact": "콤팬트 (1.2)",
"lineHeightNormal": "보통 (1.5)",
"lineHeightLoose": "느슨 (1.75)",
"borderRadiusLabel": "테두리 반경 (Radius)",
"shadowLabel": "그림자 강도 (Shadow)",
"shadowPlaceholder": "그림자 강도 선택",
"shadowNone": "없음 (None)",
"shadowSm": "약함 (Small)",
"shadowMd": "중간 (Medium)",
"shadowLg": "강함 (Large)",
"shadowXl": "매우 강함 (Extra Large)",
"blurLabel": "흘림 효과 (Blur)",
"sidebarWidthLabel": "사이드바드 너비 (Sidebar Width)",
"maxContentWidth": "콘텐츠 최대 너비 (Max Width)",
"spacingUnit": "기본 간격 (Spacing Unit)",
"animationSpeedLabel": "애니메이션 속도 (Speed)",
"animationSpeedPlaceholder": "애니메이션 속도 선택",
"animationFast": "빠름 (100ms)",
"animationNormal": "보통 (300ms)",
"animationSlow": "느림 (500ms)",
"animationOff": "끄기 (0ms)",
"bgPage": "페이지",
"bgSidebar": "사이드바드",
"typographyGroup": "타이포그래피 (Typography)",
"visualGroup": "시각 효과 (Visual)",
"layoutGroup": "레이아웃 (Layout)",
"animationGroup": "애니메이션 (Animation)",
"backgroundGroup": "배경 설정 (Backgrounds)"
},
"security": {
"currentToken": "현재 액세스 토큰",
"yourToken": "액세스 토큰",
"regenerate": "재생성",
"customToken": "사용자 정의 액세스 토큰",
"securityTip": "보안 팁",
"cannotCopy": "복사할 수 없습니다",
"copySuccess": "복사됨",
"copyFailed": "복사 실패",
"updateSuccess": "업데이트됨",
"updateFailed": "업데이트 실패",
"generateSuccess": "생성됨",
"generateFailed": "생성 실패",
"newToken": "새 액세스 토큰",
"confirmRegenerate": "토큰 재생성 확인",
"confirmRegenerateDesc": "재생성 후 이전 토큰은 무효화됩니다. 다시 로그인해야 합니다.",
"cancel": "취소",
"confirm": "확인",
"cannotCopyDesc": "토큰이 보안 쿠키에 저장되어 있습니다. 새 토큰을 얻으려면 재생성하세요.",
"copySuccessDesc": "토큰이 클립보드에 복사되었습니다",
"copyFailedDesc": "토큰을 수동으로 복사하세요",
"inputError": "입력 오류",
"inputErrorDesc": "새 토큰을 입력하세요",
"formatError": "형식 오류",
"formatErrorDesc": "토큰이 요구 사항을 충족하지 않습니다: {{failedRules}}",
"updateSuccessDesc": "액세스 토큰이 업데이트되었습니다. 로그인 페이지로 이동합니다.",
"updateFailedDesc": "토큰을 업데이트할 수 없습니다",
"updateFailedConn": "서버 연결에 실패했습니다",
"generateSuccessDesc": "새 액세스 토큰이 생성되었습니다. 즉시 저장하세요.",
"generateFailedDesc": "새 토큰을 생성할 수 없습니다",
"generateFailedConn": "서버 연결에 실패했습니다",
"cannotView": "볼 수 없습니다",
"cannotViewDesc": "토큰이 보안 쿠키에 저장되어 있습니다. 새 토큰이 필요하면 \"재생성\"을 클릭하세요.",
"hide": "숨기기",
"show": "표시",
"copyTip": "클립보드에 복사",
"regenerateShort": "생성",
"confirmRegenerateFullDesc": "새로운 64자 보안 토큰을 생성하고 현재 토큰을 즉시 무효화합니다. 새 토큰으로 다시 로그인해야 합니다. 이 작업은 되돌릴 수 없습니다. 계속하시겠습니까?",
"confirmGenerate": "생성 확인",
"tokenStorePlaceholder": "토큰이 보안 쿠키에 저장되어 있습니다",
"safekeepTip": "액세스 토큰을 안전하게 보관하고 다른 사람과 공유하지 마세요.",
"newTokenLabel": "새 액세스 토큰",
"customTokenPlaceholder": "사용자 정의 토큰 입력",
"tokenReqTitle": "토큰 보안 요구 사항:",
"tokenValid": "토큰 형식이 올바르며 사용 가능합니다",
"updateBtn": "사용자 정의 토큰 업데이트",
"updating": "업데이트 중...",
"dialogTitle": "새 액세스 토큰",
"dialogDesc": "새 토큰입니다. 즉시 저장하세요. 창을 닫으면 로그인 페이지로 이동합니다.",
"dialogTokenLabel": "새 토큰 (64자 보안 토큰)",
"important": "중요 공지",
"tip1": "이 토큰은 한 번만 표시됩니다. 닫은 후에는 볼 수 없습니다",
"tip2": "즉시 복사하여 안전한 위치에 저장하세요",
"tip3": "닫으면 자동으로 로그인 페이지로 이동합니다",
"tip4": "새 토큰으로 다시 로그인하세요",
"copied": "복사됨",
"copyToken": "토큰 복사",
"savedClose": "저장했습니다, 닫기",
"securityTip1": "재생성하면 시스템이 랜덤 64자 보안 토큰을 생성합니다",
"securityTip2": "사용자 정의 토큰은 모든 보안 요구 사항을 충족해야 합니다",
"securityTip3": "토큰을 업데이트하면 이전 토큰이 즉시 무효화됩니다",
"securityTip4": "안전한 환경에서 토큰을 확인하고 복사하세요",
"securityTip5": "토큰 유출이 의심되면 즉시 재생성하거나 업데이트하세요",
"securityTip6": "최고의 보안을 위해 시스템 생성 토큰을 권장합니다"
},
"other": {
"performance": "성능 & 저장소",
"localStorage": "로컬 저장소 사용량",
"logCache": "로그 캐시 크기",
"importExport": "설정 가져오기 / 내보내기",
"configWizard": "설정 마법사",
"devTools": "개발자 도구",
"clearStorage": "로컬 저장소 지우기",
"clearStorageDesc": "모든 로컬 저장소 데이터를 지웁니다",
"clearStorageConfirm": "지우기 확인",
"clearLogCache": "로그 캐시 지우기",
"clearLogCacheDesc": "모든 캐시된 로그 데이터를 지웁니다",
"clearLogCacheConfirm": "지우기 확인",
"importSettings": "설정 가져오기",
"exportSettings": "설정 내보내기",
"resetAllSettings": "모든 설정 재설정",
"resetAllSettingsDesc": "모든 설정을 기본값으로 되돌립니다",
"resetAllSettingsConfirm": "재설정 확인",
"clearStorageSuccess": "로컬 저장소를 지웠습니다",
"clearStorageFailed": "지우기 실패",
"clearLogSuccess": "로그 캐시를 지웠습니다",
"clearLogFailed": "지우기 실패",
"importSuccess": "가져오기 성공",
"importFailed": "가져오기 실패",
"exportSuccess": "내보내기 성공",
"exportFailed": "내보내기 실패",
"resetSuccess": "재설정 성공",
"resetFailed": "재설정 실패",
"storageItems": "{{count}}개 저장 항목",
"logCacheSizeDesc": "로그 뷰어가 캐시할 최대 로그 수를 제어합니다. 값이 클수록 메모리를 더 사용합니다.",
"logCacheSizeUnit": "개",
"dataSyncIntervalLabel": "홈 데이터 새로고침 간격",
"dataSyncIntervalUnit": "초",
"dataSyncIntervalDesc": "홈 화면 통계 데이터의 자동 새로고침 간격을 제어합니다",
"wsReconnectLabel": "WebSocket 재연결 간격",
"wsReconnectUnit": "초",
"wsReconnectDesc": "로그 WebSocket 연결 해제 후 재연결 기본 간격",
"wsMaxReconnectLabel": "WebSocket 최대 재연결 횟수",
"wsMaxReconnectUnit": "회",
"wsMaxReconnectDesc": "연결 실패 후 최대 재연결 시도 횟수",
"clearLogCacheFn": "로그 캐시 지우기",
"clearLocalCache": "로컬 캐시 지우기",
"confirmClearCache": "로컬 캐시 지우기 확인",
"confirmClearCacheDesc": "로그인 자격 증명을 제외한 모든 로컬 캐시 설정과 데이터를 지웁니다. 일부 기본 설정을 다시 구성해야 할 수 있습니다. 계속하시겠습니까?",
"confirmClear": "지우기 확인",
"importExportDesc": "현재 인터페이스 설정을 내보내 백업하거나, 이전에 내보낸 파일에서 복원하세요.",
"exporting": "내보내는 중...",
"importing": "가져오는 중...",
"resetAllSettingsBtn": "모든 설정을 기본값으로 재설정",
"confirmResetAll": "모든 설정 재설정 확인",
"confirmResetAllDesc": "테마, 색상, 애니메이션 등 모든 인터페이스 설정을 기본값으로 복원합니다. 로그인 상태에는 영향이 없습니다. 계속하시겠습니까?",
"configWizardDesc": "초기 설정 마법사를 다시 실행하여 시스템 기본 설정을 재구성할 수 있습니다.",
"rerunSetup": "초기 설정 다시 실행",
"confirmRerunSetup": "재구성 확인",
"confirmRerunSetupDesc": "초기 설정 마법사로 돌아갑니다. 시스템 기본 설정을 재구성할 수 있습니다. 계속하시겠습니까?",
"devToolsDesc": "아래 기능은 개발 및 디버깅 전용입니다. 페이지 충돌이나 비정상 동작을 유발할 수 있습니다.",
"triggerError": "테스트 오류 발생",
"confirmTriggerError": "오류 발생 확인",
"confirmTriggerErrorDesc": "React 오류를 수동으로 발생시켜 오류 경계 컴포넌트를 테스트합니다. 페이지를 새로고침하거나 홈으로 돌아가면 복구됩니다.",
"confirmTrigger": "발생 확인",
"logCleared": "로그 지워짐",
"logClearedDesc": "로그 캐시가 지워졌습니다",
"cacheCleared": "캐시 지워짐",
"cacheClearedDesc": "{{count}}개의 캐시 데이터를 지웠습니다",
"exportSuccessDesc": "설정을 JSON 파일로 내보냈습니다",
"exportFailedDesc": "설정을 내보낼 수 없습니다",
"importSuccessDesc": "{{imported}}개 설정을 가져왔습니다",
"importSkippedSuffix": ", {{skipped}}개 건너뜀",
"importRefreshHint": "참고",
"importRefreshHintDesc": "일부 설정은 페이지를 새로고침해야 완전히 적용됩니다",
"importNoDataDesc": "가져올 유효한 설정이 없습니다",
"importInvalidDesc": "유효하지 않은 파일 형식",
"resetDone": "재설정 완료",
"resetDoneDesc": "모든 설정이 기본값으로 복원되었습니다. 변경 사항을 적용하려면 페이지를 새로고침하세요."
},
"about": {
"openSource": "오픈 소스",
"aboutApp": "MaiBot Dashboard 정보",
"version": "버전:",
"author": "작성자",
"techStack": "기술 스택",
"frontendFramework": "프론트엔드 프레임워크",
"uiComponents": "UI 컴포넌트",
"backend": "백엔드",
"buildTool": "빌드 도구",
"openSourceThanks": "오픈 소스 라이브러리",
"openSourceLicense": "오픈 소스 라이선스",
"openSourceDesc": "이 프로젝트는 GitHub에서 오픈 소스입니다. Star ⭐로 응원해 주세요!",
"visitGitHub": "GitHub 방문",
"appDesc": "MaiBot의 현대적인 웹 관리 인터페이스",
"maimaiCore": "MaiBot 코어",
"uiFrameworkGroup": "UI 프레임워크 & 컴포넌트",
"routingStateGroup": "라우팅 & 상태 관리",
"formGroup": "폼 처리",
"utilsGroup": "유틸리티 라이브러리",
"animationGroup": "애니메이션",
"backendGroup": "백엔드 프레임워크",
"devToolsGroup": "개발자 도구",
"openSourceThanksDesc": "이 프로젝트는 다음 훌륭한 오픈 소스 라이브러리를 사용합니다. 기여에 감사드립니다:",
"licenseDesc": "이 프로젝트는 GNU General Public License v3.0으로 라이선스됩니다. 동일한 오픈 소스 라이선스를 유지하는 한 자유롭게 사용, 수정, 배포할 수 있습니다.",
"licenseDeps": "이 프로젝트의 모든 오픈 소스 라이브러리는 각각의 라이선스(MIT, Apache-2.0, BSD 등)를 따릅니다. 모든 오픈 소스 기여자에게 감사드립니다.",
"lib": {
"react": "UI 구축을 위한 라이브러리",
"shadcn": "우아한 React 컴포넌트 라이브러리",
"radix": "스타일 없는 접근 가능한 컴포넌트",
"tailwind": "유틸리티 우선 CSS 프레임워크",
"lucide": "아름다운 아이콘 라이브러리",
"tanstackRouter": "타입 안전한 라우팅 라이브러리",
"zustand": "경량 상태 관리 라이브러리",
"reactHookForm": "고성능 폼 라이브러리",
"zod": "TypeScript 우선 스키마 검증",
"clsx": "조건부 className 빌더",
"tailwindMerge": "Tailwind 클래스 이름 병합 도구",
"cva": "컴포넌트 변형 관리",
"dateFns": "현대적인 날짜 유틸리티 라이브러리",
"framerMotion": "React 애니메이션 라이브러리",
"vaul": "드로어 컴포넌트 애니메이션",
"fastapi": "현대적인 Python 웹 프레임워크",
"uvicorn": "ASGI 서버",
"pydantic": "데이터 검증 라이브러리",
"pythonMultipart": "파일 업로드 지원",
"typescript": "JavaScript의 슈퍼셋",
"vite": "차세대 프론트엔드 빌드 도구",
"eslint": "JavaScript 코드 린터",
"postcss": "CSS 변환 도구"
}
}
},
"auth": {
"title": "로그인",
"description": "계속하려면 액세스 토큰을 입력하세요",
"tokenLabel": "액세스 토큰",
"tokenPlaceholder": "액세스 토큰 입력",
"loginButton": "로그인",
"loggingIn": "로그인 중...",
"loginFailed": "로그인 실패",
"loginSuccess": "로그인 성공",
"checkingAuth": "로그인 상태 확인 중...",
"welcome": "MaiBot에 오신 것을 환영합니다",
"accessDesc": "시스템에 액세스하려면 액세스 토큰을 입력하세요",
"tokenRequired": "액세스 토큰을 입력해 주세요",
"verifyingLabel": "확인 중...",
"verifyEnter": "확인 후 입장",
"helpLink": "Token이 없습니다. 어디서 얻을 수 있나요?",
"helpTitle": "Access Token 얻는 방법",
"helpDesc": "Access Token은 MaiBot WebUI에 액세스하는 유일한 자격 증명입니다. 다음 방법으로 얻으세요",
"method1Title": "방법 1: 시작 로그 확인",
"method1Desc": "MaiBot 시작 시 콘솔에 WebUI Access Token이 표시됩니다.",
"method1Example1": "🔑 WebUI Access Token: abc123...",
"method1Example2": "💡 이 Token으로 WebUI에 로그인하세요",
"method2Title": "방법 2: 설정 파일 확인",
"method2Desc": "Token은 프로젝트 루트의 설정 파일에 저장됩니다:",
"method2FileHint": "이 파일을 열고 access_token 필드의 값을 복사하세요",
"securityTipTitle": "보안 안내",
"securityTip1": "Token을 안전하게 유지하고 타인에게 노출하지 마세요",
"securityTip2": "Token을 재설정하려면 로그인 후 시스템 설정으로 이동하세요",
"slowLink": "인터페이스가 느립니다. 어떻게 하나요?",
"disableAnimTitle": "배경 애니메이션 비활성화",
"disableAnimDesc": "배경 애니메이션은 저사양 디바이스에서 느리게 동작할 수 있습니다. 비활성화하면 화면이 훨씬 부드러워집니다.",
"disableAnimDetail": "비활성화 후 배경은 단색으로 바뀐지지만 모든 기능은 정상 작동합니다. 시스템 설정에서 언제든지 다시 활성화할 수 있습니다.",
"disableAnimBtn": "애니메이션 비활성화",
"verifyFailed": "Token 확인에 실패했습니다. 확인 후 다시 시도해 주세요.",
"connFailed": "서버에 연결하지 못했습니다. 네트워크 연결을 확인해 주세요.",
"switchToLight": "라이트 모드로 전환",
"switchToDark": "다크 모드로 전환"
},
"common": {
"loading": "로딩 중...",
"error": "오류",
"retry": "재시도",
"save": "저장",
"cancel": "취소",
"confirm": "확인",
"delete": "삭제",
"edit": "편집",
"close": "닫기",
"search": "검색",
"noData": "데이터 없음",
"success": "성공",
"failed": "실패"
},
"restart": {
"preparing": "재시작 준비 중",
"preparingDesc": "재시작 요청 전송 중...",
"preparingTip": "🔄 MaiBot 재시작을 준비 중...",
"restarting": "MaiBot 재시작 중",
"restartingDesc": "잠시 기다려주세요, MaiBot이 재시작 중입니다...",
"restartingTip": "🔄 설정을 저장했습니다, 메인 프로세스를 재시작 중...",
"checking": "서비스 상태 확인 중",
"checkingDesc": "서비스 복구 대기 중... ({{current}}/{{max}})",
"checkingTip": "⏳ 서비스 복구를 기다리는 중, 페이지를 닫지 마세요...",
"success": "재시작 성공",
"successDesc": "로그인 페이지로 이동 중...",
"successTip": "✅ 설정이 적용되었습니다, 서비스가 정상적으로 실행 중입니다",
"failed": "재시작 시간 초과",
"failedDesc": "서비스가 예상 시간 내에 복구되지 않았습니다",
"failedTip": "⚠️ 장시간 응답이 없으면 수동으로 재시작해 보세요",
"refreshPage": "페이지 새로고침",
"retryCheck": "재시도",
"elapsed": "경과 시간:"
},
"errorBoundary": {
"title": "문제가 발생했습니다",
"description": "앱이 예기치 않은 오류를 만났습니다. 페이지를 새로고침하거나 홈으로 돌아갈 수 있습니다.",
"refreshPage": "페이지 새로고침",
"goHome": "홈으로 이동",
"footer": "문제가 계속되면 오류 정보를 복사하여 개발자에게 보고해 주세요",
"copiedToClipboard": "클립보드에 복사됨",
"copyError": "오류 정보 복사"
},
"search": {
"placeholder": "페이지 검색...",
"title": "검색",
"noResults": "일치하는 페이지를 찾을 수 없습니다",
"startSearch": "키워드를 입력하여 검색 시작",
"navigate": "탐색",
"select": "선택",
"close": "닫기",
"categories": {
"overview": "개요",
"config": "설정",
"resources": "리소스",
"monitor": "모니터",
"extensions": "확장 기능",
"system": "시스템"
},
"items": {
"home": "홈",
"homeDesc": "대시보드 개요 보기",
"botConfig": "속 메인 설정",
"botConfigDesc": "속 핵심 설정 구성",
"modelProvider": "모델 공급자 설정",
"modelProviderDesc": "모델 공급자 구성",
"model": "모델 설정",
"modelDesc": "모델 매개변수 구성",
"emoji": "이모티콘 관리",
"emojiDesc": "속 이모티콘 관리",
"expression": "표현 관리",
"expressionDesc": "속 표현 관리",
"person": "인물 정보",
"personDesc": "인물 정보 관리",
"jargon": "슬랭 관리",
"jargonDesc": "속이 학습한 슬랭 관리",
"statistics": "통계 정보",
"statisticsDesc": "사용 통계 보기",
"plugins": "플러그인 마켓",
"pluginsDesc": "플러그인 탐색 및 설치",
"logs": "로그 뷰어",
"logsDesc": "시스템 로그 보기",
"settings": "설정",
"settingsDesc": "시스템 설정 구성"
}
},
"httpWarning": {
"title": "보안 경고:",
"message": "HTTP를 통해 MaiBot WebUI에 접속하고 있습니다",
"description": "이것이 공개 서버인 경우, 데이터(Token, 채팅 기록 등)가 전송 중에 가로챔질 수 있습니다. HTTPS를 사용하거나 로컈 네트워크에서만 접속하는 것을 강력히 권장합니다.",
"dismiss": "경고 닫기"
}
}

View File

@@ -0,0 +1,477 @@
{
"language": { "zh": "中文", "en": "English", "ja": "日本語", "ko": "한국어" },
"header": {
"collapseSidebar": "收起侧边栏",
"expandSidebar": "展开侧边栏",
"toggleConnection": "切换后端连接",
"viewAnnualSummary": "查看年度总结",
"annualSummary": "2025 年度总结",
"searchPlaceholder": "搜索...",
"viewDocs": "查看麦麦文档",
"docs": "麦麦文档",
"switchToLight": "切换到浅色模式",
"switchToDark": "切换到深色模式",
"logout": "登出系统",
"logoutLabel": "登出",
"notConnected": "未连接"
},
"sidebar": {
"groups": {
"overview": "概览",
"botConfig": "麦麦配置编辑",
"botResources": "麦麦资源管理",
"extensionsMonitor": "扩展与监控",
"system": "系统"
},
"menu": {
"home": "首页",
"botMainConfig": "麦麦主程序配置",
"aiModelProvider": "AI模型厂商配置",
"modelManagement": "模型管理与分配",
"adapterConfig": "麦麦适配器配置",
"emojiManagement": "表情包管理",
"expressionManagement": "表达方式管理",
"slangManagement": "黑话管理",
"personInfo": "人物信息管理",
"knowledgeGraph": "知识库图谱可视化",
"knowledgeBase": "麦麦知识库管理",
"pluginMarket": "插件市场",
"configTemplate": "配置模板市场",
"pluginConfig": "插件配置",
"logViewer": "日志查看器",
"plannerMonitor": "计划器&回复器监控",
"localChat": "本地聊天室",
"settings": "系统设置"
}
},
"layout": {
"verifyingLogin": "正在验证登录状态...",
"logoTitle": "MaiBot WebUI",
"logoTitleShort": "M"
},
"settings": {
"title": "系统设置",
"description": "管理您的应用偏好设置",
"tabs": {
"appearance": "外观",
"security": "安全",
"other": "其他",
"about": "关于"
},
"appearance": {
"themeMode": "主题模式",
"themeModeDesc": "浅色/深色/跟随系统",
"light": "浅色",
"dark": "深色",
"system": "跟随系统",
"accentColor": "主题色",
"resetDefault": "重置默认",
"colorPreview": "实时色板预览",
"styleTweaks": "界面样式微调",
"typography": "字体排版",
"visualEffects": "视觉效果",
"layout": "布局",
"animation": "动画",
"background": "背景设置",
"customCss": "自定义 CSS",
"animationEffect": "动画效果",
"importExportTheme": "主题导入/导出",
"importTheme": "导入主题",
"exportTheme": "导出主题",
"importSuccess": "导入成功",
"importFailed": "导入失败",
"resetSuccess": "重置成功",
"fontFamily": "字体",
"fontSize": "字号",
"borderRadius": "圆角",
"contentWidth": "内容宽度",
"sidebarWidth": "侧边栏宽度",
"animationSpeed": "动画速度",
"backgroundImage": "背景图片",
"backgroundBlur": "背景模糊",
"backgroundOpacity": "背景透明度",
"lightDesc": "始终使用浅色主题",
"darkDesc": "始终使用深色主题",
"systemDesc": "根据系统设置自动切换",
"accentPrimary": "主色调",
"accentHint": "点击色环选择或输入 HEX 值",
"resetTheme": "重置为默认",
"confirmResetTheme": "确认重置主题",
"confirmResetThemeDesc": "这将重置所有主题设置为默认值,包括颜色、字体、布局和自定义 CSS。此操作不可撤销确定要继续吗",
"confirmResetAction": "确认重置",
"cssWarningTitle": "以下内容已被安全过滤:",
"cssPlaceholder": "/* 在这里输入自定义 CSS */\n\n/* 例如: */\n/* .sidebar { background: #1a1a2e; } */",
"cssDescription": "编写自定义 CSS 来进一步个性化界面。危险的 CSS如 @import、url())将被自动过滤。",
"clearCss": "清除",
"exportDesc": "导出主题为 JSON 文件便于分享或备份,导入时会自动应用所有配置。",
"importSuccessDesc": "主题配置已导入,页面将自动刷新",
"resetSuccessDesc": "主题已重置为默认值",
"enableAnimations": "启用动画效果",
"enableAnimationsDesc": "关闭后将禁用所有过渡动画和特效,提升性能",
"loginWavesBackground": "登录页波浪背景",
"loginWavesBackgroundDesc": "关闭后登录页将使用纯色背景,适合低性能设备",
"inheritParentBg": "继承上级背景",
"inheritParentBgDesc": "开启后将使用上级层级的背景配置",
"fontFamilyLabel": "字体族 (Font Family)",
"fontFamilyPlaceholder": "选择字体族",
"fontFamilySystem": "系统默认 (System)",
"fontFamilySans": "无衬线 (Sans-serif)",
"fontFamilySerif": "衬线 (Serif)",
"fontFamilyMono": "等宽 (Monospace)",
"baseFontSize": "基准字体大小 (Base Size)",
"lineHeight": "行高 (Line Height)",
"lineHeightPlaceholder": "选择行高",
"lineHeightCompact": "紧凑 (1.2)",
"lineHeightNormal": "正常 (1.5)",
"lineHeightLoose": "宽松 (1.75)",
"borderRadiusLabel": "圆角大小 (Radius)",
"shadowLabel": "阴影强度 (Shadow)",
"shadowPlaceholder": "选择阴影强度",
"shadowNone": "无阴影 (None)",
"shadowSm": "轻微 (Small)",
"shadowMd": "中等 (Medium)",
"shadowLg": "强烈 (Large)",
"shadowXl": "极强 (Extra Large)",
"blurLabel": "模糊效果 (Blur)",
"sidebarWidthLabel": "侧边栏宽度 (Sidebar Width)",
"maxContentWidth": "内容区最大宽度 (Max Width)",
"spacingUnit": "基准间距 (Spacing Unit)",
"animationSpeedLabel": "动画速度 (Speed)",
"animationSpeedPlaceholder": "选择动画速度",
"animationFast": "快速 (100ms)",
"animationNormal": "正常 (300ms)",
"animationSlow": "慢速 (500ms)",
"animationOff": "关闭 (0ms)",
"bgPage": "页面",
"bgSidebar": "侧边栏",
"typographyGroup": "字体排版 (Typography)",
"visualGroup": "视觉效果 (Visual)",
"layoutGroup": "布局 (Layout)",
"animationGroup": "动画 (Animation)",
"backgroundGroup": "背景设置 (Backgrounds)"
},
"security": {
"currentToken": "当前 Access Token",
"yourToken": "您的访问令牌",
"regenerate": "重新生成",
"customToken": "自定义 Access Token",
"securityTip": "安全提示",
"cannotCopy": "无法复制",
"copySuccess": "复制成功",
"copyFailed": "复制失败",
"updateSuccess": "更新成功",
"updateFailed": "更新失败",
"generateSuccess": "生成成功",
"generateFailed": "生成失败",
"newToken": "新的 Access Token",
"confirmRegenerate": "确认重新生成 Token",
"confirmRegenerateDesc": "重新生成后,旧 Token 将失效,需重新登录",
"cancel": "取消",
"confirm": "确认",
"cannotCopyDesc": "Token 存储在安全 Cookie 中,请重新生成以获取新 Token",
"copySuccessDesc": "Token 已复制到剪贴板",
"copyFailedDesc": "请手动复制 Token",
"inputError": "输入错误",
"inputErrorDesc": "请输入新的 Token",
"formatError": "格式错误",
"formatErrorDesc": "Token 不符合要求: {{failedRules}}",
"updateSuccessDesc": "Access Token 已更新,即将跳转到登录页",
"updateFailedDesc": "无法更新 Token",
"updateFailedConn": "连接服务器失败",
"generateSuccessDesc": "新的 Access Token 已生成,请及时保存",
"generateFailedDesc": "无法生成新 Token",
"generateFailedConn": "连接服务器失败",
"cannotView": "无法查看",
"cannotViewDesc": "Token 存储在安全 Cookie 中,如需新 Token 请点击\"重新生成\"",
"hide": "隐藏",
"show": "显示",
"copyTip": "复制到剪贴板",
"regenerateShort": "生成",
"confirmRegenerateFullDesc": "这将生成一个新的 64 位安全令牌,并使当前 Token 立即失效。您需要使用新 Token 重新登录系统。此操作不可撤销,确定要继续吗?",
"confirmGenerate": "确认生成",
"tokenStorePlaceholder": "Token 存储在安全 Cookie 中",
"safekeepTip": "请妥善保管您的 Access Token不要泄露给他人",
"newTokenLabel": "新的访问令牌",
"customTokenPlaceholder": "输入自定义 Token",
"tokenReqTitle": "Token 安全要求:",
"tokenValid": "Token 格式正确,可以使用",
"updateBtn": "更新自定义 Token",
"updating": "更新中...",
"dialogTitle": "新的 Access Token",
"dialogDesc": "这是您的新 Token请立即保存。关闭此窗口后将跳转到登录页面。",
"dialogTokenLabel": "您的新 Token (64位安全令牌)",
"important": "重要提示",
"tip1": "此 Token 仅显示一次,关闭后无法再查看",
"tip2": "请立即复制并保存到安全的位置",
"tip3": "关闭窗口后将自动跳转到登录页面",
"tip4": "请使用新 Token 重新登录系统",
"copied": "已复制",
"copyToken": "复制 Token",
"savedClose": "我已保存,关闭",
"securityTip1": "重新生成 Token 会创建系统随机生成的 64 位安全令牌",
"securityTip2": "自定义 Token 必须满足所有安全要求才能使用",
"securityTip3": "更新 Token 后,旧的 Token 将立即失效",
"securityTip4": "请在安全的环境下查看和复制 Token",
"securityTip5": "如果怀疑 Token 泄露,请立即重新生成或更新",
"securityTip6": "建议使用系统生成的 Token 以获得最高安全性"
},
"other": {
"performance": "性能与存储",
"localStorage": "本地存储使用",
"logCache": "日志缓存大小",
"importExport": "导入/导出设置",
"configWizard": "配置向导",
"devTools": "开发者工具",
"clearStorage": "清空本地存储",
"clearStorageDesc": "清空所有本地存储数据",
"clearStorageConfirm": "确认清空",
"clearLogCache": "清空日志缓存",
"clearLogCacheDesc": "清空所有缓存的日志数据",
"clearLogCacheConfirm": "确认清空",
"importSettings": "导入设置",
"exportSettings": "导出设置",
"resetAllSettings": "重置所有设置",
"resetAllSettingsDesc": "将所有设置恢复到默认值",
"resetAllSettingsConfirm": "确认重置",
"clearStorageSuccess": "本地存储已清空",
"clearStorageFailed": "清空失败",
"clearLogSuccess": "日志缓存已清空",
"clearLogFailed": "清空失败",
"importSuccess": "导入成功",
"importFailed": "导入失败",
"exportSuccess": "导出成功",
"exportFailed": "导出失败",
"resetSuccess": "重置成功",
"resetFailed": "重置失败",
"storageItems": "{{count}} 个存储项",
"logCacheSizeDesc": "控制日志查看器最多缓存的日志条数,较大的值会占用更多内存",
"logCacheSizeUnit": "条",
"dataSyncIntervalLabel": "首页数据刷新间隔",
"dataSyncIntervalUnit": "秒",
"dataSyncIntervalDesc": "控制首页统计数据的自动刷新间隔",
"wsReconnectLabel": "WebSocket 重连间隔",
"wsReconnectUnit": "秒",
"wsReconnectDesc": "日志 WebSocket 连接断开后的重连基础间隔",
"wsMaxReconnectLabel": "WebSocket 最大重连次数",
"wsMaxReconnectUnit": "次",
"wsMaxReconnectDesc": "连接失败后的最大重连尝试次数",
"clearLogCacheFn": "清除日志缓存",
"clearLocalCache": "清除本地缓存",
"confirmClearCache": "确认清除本地缓存",
"confirmClearCacheDesc": "这将清除所有本地缓存的设置和数据(不包括登录凭证)。您可能需要重新配置部分偏好设置。确定要继续吗?",
"confirmClear": "确认清除",
"importExportDesc": "导出当前的界面设置以便备份,或从之前导出的文件中恢复设置。",
"exporting": "导出中...",
"importing": "导入中...",
"resetAllSettingsBtn": "重置所有设置为默认值",
"confirmResetAll": "确认重置所有设置",
"confirmResetAllDesc": "这将把所有界面设置恢复为默认值,包括主题、颜色、动画等偏好设置。此操作不会影响您的登录状态。确定要继续吗?",
"configWizardDesc": "重新进行初次配置向导,可以帮助您重新设置系统的基础配置。",
"rerunSetup": "重新进行初次配置",
"confirmRerunSetup": "确认重新配置",
"confirmRerunSetupDesc": "这将带您重新进入初次配置向导。您可以重新设置系统的基础配置项。确定要继续吗?",
"devToolsDesc": "以下功能仅供开发调试使用,可能会导致页面崩溃或异常。",
"triggerError": "触发测试错误",
"confirmTriggerError": "确认触发错误",
"confirmTriggerErrorDesc": "这将手动触发一个 React 错误,用于测试错误边界组件的显示效果。页面将显示错误界面,您可以通过刷新页面或点击返回首页来恢复。",
"confirmTrigger": "确认触发",
"logCleared": "日志已清除",
"logClearedDesc": "日志缓存已清空",
"cacheCleared": "缓存已清除",
"cacheClearedDesc": "已清除 {{count}} 项缓存数据",
"exportSuccessDesc": "设置已导出为 JSON 文件",
"exportFailedDesc": "无法导出设置",
"importSuccessDesc": "成功导入 {{imported}} 项设置",
"importSkippedSuffix": ",跳过 {{skipped}} 项",
"importRefreshHint": "提示",
"importRefreshHintDesc": "部分设置需要刷新页面才能完全生效",
"importNoDataDesc": "没有有效的设置项可导入",
"importInvalidDesc": "文件格式无效",
"resetDone": "已重置",
"resetDoneDesc": "所有设置已恢复为默认值,刷新页面以应用更改"
},
"about": {
"openSource": "开源项目",
"aboutApp": "关于 MaiBot Dashboard",
"version": "版本:",
"author": "作者",
"techStack": "技术栈",
"frontendFramework": "前端框架",
"uiComponents": "UI 组件",
"backend": "后端",
"buildTool": "构建工具",
"openSourceThanks": "开源库感谢",
"openSourceLicense": "开源许可",
"openSourceDesc": "本项目在 GitHub 开源,欢迎 Star ⭐ 支持!",
"visitGitHub": "前往 GitHub",
"appDesc": "麦麦MaiBot的现代化 Web 管理界面",
"maimaiCore": "MaiBot 核心",
"uiFrameworkGroup": "UI 框架与组件",
"routingStateGroup": "路由与状态管理",
"formGroup": "表单处理",
"utilsGroup": "工具库",
"animationGroup": "动画效果",
"backendGroup": "后端框架",
"devToolsGroup": "开发工具",
"openSourceThanksDesc": "本项目使用了以下优秀的开源库,感谢他们的贡献:",
"licenseDesc": "本项目采用 GNU General Public License v3.0 开源许可证。您可以自由地使用、修改和分发本软件,但必须保持相同的开源许可。",
"licenseDeps": "本项目依赖的所有开源库均遵循各自的开源许可证MIT、Apache-2.0、BSD 等)。感谢所有开源贡献者的无私奉献。",
"lib": {
"react": "用户界面构建库",
"shadcn": "优雅的 React 组件库",
"radix": "无样式的可访问组件库",
"tailwind": "实用优先的 CSS 框架",
"lucide": "精美的图标库",
"tanstackRouter": "类型安全的路由库",
"zustand": "轻量级状态管理",
"reactHookForm": "高性能表单库",
"zod": "TypeScript 优先的 schema 验证",
"clsx": "条件 className 构建工具",
"tailwindMerge": "Tailwind 类名合并工具",
"cva": "组件变体管理",
"dateFns": "现代化日期处理库",
"framerMotion": "React 动画库",
"vaul": "抽屉组件动画",
"fastapi": "现代化 Python Web 框架",
"uvicorn": "ASGI 服务器",
"pydantic": "数据验证库",
"pythonMultipart": "文件上传支持",
"typescript": "JavaScript 的超集",
"vite": "下一代前端构建工具",
"eslint": "JavaScript 代码检查工具",
"postcss": "CSS 转换工具"
}
}
},
"auth": {
"title": "登录",
"description": "请输入访问令牌以继续",
"tokenLabel": "Access Token",
"tokenPlaceholder": "请输入 Access Token",
"loginButton": "登录",
"loggingIn": "登录中...",
"loginFailed": "登录失败",
"loginSuccess": "登录成功",
"checkingAuth": "正在检查登录状态...",
"welcome": "欢迎使用 MaiBot",
"accessDesc": "请输入您的 Access Token 以继续访问系统",
"tokenRequired": "请输入 Access Token",
"verifyingLabel": "验证中...",
"verifyEnter": "验证并进入",
"helpLink": "我没有 Token我该去哪里获得 Token",
"helpTitle": "如何获取 Access Token",
"helpDesc": "Access Token 是访问 MaiBot WebUI 的唯一凭证,请按以下方式获取",
"method1Title": "方式一:查看启动日志",
"method1Desc": "在 MaiBot 启动时,控制台会显示 WebUI Access Token。",
"method1Example1": "🔑 WebUI Access Token: abc123...",
"method1Example2": "💡 请使用此 Token 登录 WebUI",
"method2Title": "方式二:查看配置文件",
"method2Desc": "Token 保存在项目根目录的配置文件中:",
"method2FileHint": "打开此文件,复制 access_token 字段的值",
"securityTipTitle": "安全提示",
"securityTip1": "请妥善保管您的 Token不要泄露给他人",
"securityTip2": "如需重置 Token请在登录后前往系统设置",
"slowLink": "我觉得这个界面很卡怎么办?",
"disableAnimTitle": "关闭背景动画",
"disableAnimDesc": "背景动画可能会在低性能设备上造成卡顿。关闭动画可以显著提升界面流畅度。",
"disableAnimDetail": "关闭动画后,背景将变为纯色,但不影响任何功能的使用。您可以随时在系统设置中重新开启动画。",
"disableAnimBtn": "关闭动画",
"verifyFailed": "Token 验证失败,请检查后重试",
"connFailed": "连接服务器失败,请检查网络连接",
"switchToLight": "切换到浅色模式",
"switchToDark": "切换到深色模式"
},
"common": {
"loading": "加载中...",
"error": "错误",
"retry": "重试",
"save": "保存",
"cancel": "取消",
"confirm": "确认",
"delete": "删除",
"edit": "编辑",
"close": "关闭",
"search": "搜索",
"noData": "暂无数据",
"success": "成功",
"failed": "失败"
},
"restart": {
"preparing": "准备重启",
"preparingDesc": "正在发送重启请求...",
"preparingTip": "🔄 正在准备重启麦麦...",
"restarting": "正在重启麦麦",
"restartingDesc": "请稍候,麦麦正在重启中...",
"restartingTip": "🔄 配置已保存,正在重启主程序...",
"checking": "检查服务状态",
"checkingDesc": "等待服务恢复... ({{current}}/{{max}})",
"checkingTip": "⏳ 正在等待服务恢复,请勿关闭页面...",
"success": "重启成功",
"successDesc": "正在跳转到登录页面...",
"successTip": "✅ 配置已生效,服务运行正常",
"failed": "重启超时",
"failedDesc": "服务未能在预期时间内恢复",
"failedTip": "⚠️ 如果长时间无响应,请尝试手动重启",
"refreshPage": "刷新页面",
"retryCheck": "重试检测",
"elapsed": "已用时:"
},
"errorBoundary": {
"title": "页面出现了问题",
"description": "应用程序遇到了意外错误。您可以尝试刷新页面或返回首页。",
"refreshPage": "刷新页面",
"goHome": "返回首页",
"footer": "如果问题持续存在,请将错误信息复制并反馈给开发者",
"copiedToClipboard": "已复制到剪贴板",
"copyError": "复制错误信息"
},
"search": {
"placeholder": "搜索页面...",
"title": "搜索",
"noResults": "未找到匹配的页面",
"startSearch": "输入关键词开始搜索",
"navigate": "导航",
"select": "选择",
"close": "关闭",
"categories": {
"overview": "概览",
"config": "配置",
"resources": "资源",
"monitor": "监控",
"extensions": "扩展",
"system": "系统"
},
"items": {
"home": "首页",
"homeDesc": "查看仪表板概览",
"botConfig": "麦麦主程序配置",
"botConfigDesc": "配置麦麦的核心设置",
"modelProvider": "麦麦模型提供商配置",
"modelProviderDesc": "配置模型提供商",
"model": "麦麦模型配置",
"modelDesc": "配置模型参数",
"emoji": "表情包管理",
"emojiDesc": "管理麦麦的表情包",
"expression": "表达方式管理",
"expressionDesc": "管理麦麦的表达方式",
"person": "人物信息管理",
"personDesc": "管理人物信息",
"jargon": "黑话管理",
"jargonDesc": "管理麦麦学习到的黑话和俚语",
"statistics": "统计信息",
"statisticsDesc": "查看使用统计",
"plugins": "插件市场",
"pluginsDesc": "浏览和安装插件",
"logs": "日志查看器",
"logsDesc": "查看系统日志",
"settings": "系统设置",
"settingsDesc": "配置系统参数"
}
},
"httpWarning": {
"title": "安全警告:",
"message": "您正在使用 HTTP 访问 MaiBot WebUI",
"description": "如果这是公网服务器,您的数据(包括 Token、聊天记录等可能在传输过程中被窃取。强烈建议使用 HTTPS 访问或仅在本地网络使用。",
"dismiss": "关闭警告"
}
}