mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-14 17:41:22 +08:00
- Implemented exportSettings and importSettings APIs for CLI settings. - Added hooks useExportSettings and useImportSettings for managing export/import operations in the frontend. - Updated SettingsPage to include buttons for exporting and importing CLI settings. - Enhanced backend to handle export and import requests, including validation and conflict resolution. - Introduced new data structures for exported settings and import options. - Updated localization files to support new export/import features. - Refactored CLI tool configurations to remove hardcoded model defaults, allowing dynamic model retrieval.
256 lines
9.2 KiB
JSON
256 lines
9.2 KiB
JSON
{
|
|
"title": "Settings",
|
|
"description": "Configure your dashboard preferences and CLI tools",
|
|
"sections": {
|
|
"appearance": "Appearance",
|
|
"cliTools": "CLI Tools",
|
|
"display": "Display Settings",
|
|
"language": "Language",
|
|
"responseLanguage": "Response Language",
|
|
"systemStatus": "System Status",
|
|
"hooks": "Git Hooks",
|
|
"rules": "Rules",
|
|
"about": "About",
|
|
"a2ui": "A2UI Preferences"
|
|
},
|
|
"appearance": {
|
|
"title": "Appearance",
|
|
"theme": "Theme",
|
|
"themeOptions": {
|
|
"light": "Light",
|
|
"dark": "Dark",
|
|
"system": "System"
|
|
},
|
|
"description": "Choose your preferred color theme",
|
|
"systemFollow": "System",
|
|
"systemFollowDesc": "Use system's dark/light mode setting"
|
|
},
|
|
"cliTools": {
|
|
"title": "CLI Tools",
|
|
"description": "Configure CLI tool settings. Current default: ",
|
|
"enabled": "Enabled",
|
|
"disabled": "Disabled",
|
|
"default": "Default",
|
|
"setDefault": "Set as Default",
|
|
"primaryModel": "Primary Model",
|
|
"secondaryModel": "Secondary Model",
|
|
"expand": "Expand for details",
|
|
"envFile": "Environment File (.env)",
|
|
"envFilePlaceholder": "e.g., ~/.gemini/.env",
|
|
"envFileHint": "Path to .env file loaded before CLI execution for API keys and environment variables",
|
|
"saveToConfig": "Save to Config",
|
|
"saving": "Saving...",
|
|
"configSaved": "Configuration saved to ~/.claude/cli-tools.json",
|
|
"configSaveError": "Failed to save configuration",
|
|
"effort": "Effort Level",
|
|
"effortHint": "Controls thinking effort for Claude sessions. Default: high.",
|
|
"effortLow": "Low",
|
|
"effortMedium": "Medium",
|
|
"effortHigh": "High"
|
|
},
|
|
"display": {
|
|
"title": "Display Settings",
|
|
"showCompletedTasks": "Show Completed Tasks",
|
|
"showCompletedTasksDesc": "Display completed tasks in task lists",
|
|
"show": "Show",
|
|
"hide": "Hide"
|
|
},
|
|
"language": {
|
|
"title": "Language",
|
|
"description": "Select your preferred language",
|
|
"english": "English",
|
|
"chinese": "中文",
|
|
"displayLanguage": "Display Language",
|
|
"chooseLanguage": "Choose your preferred language for the interface"
|
|
},
|
|
"responseLanguage": {
|
|
"title": "Response Language Settings",
|
|
"chineseClaude": "Chinese Response",
|
|
"chineseClaudeDesc": "Enable Chinese response guidelines in ~/.claude/CLAUDE.md",
|
|
"chineseCodex": "Chinese Response",
|
|
"chineseCodexDesc": "Enable Chinese response guidelines in ~/.codex/AGENTS.md",
|
|
"windowsPlatform": "Windows Platform",
|
|
"windowsPlatformDesc": "Enable Windows path format conventions in global CLAUDE.md",
|
|
"cliEnhancement": "CLI Enhancement",
|
|
"cliEnhancementDesc": "Enable multi-CLI tool invocation for Codex",
|
|
"cliEnhancementHint": "After config changes, click refresh to update content",
|
|
"refreshConfig": "Refresh Config",
|
|
"migrationWarning": "Old format detected, please disable and re-enable to migrate",
|
|
"enabled": "Enabled",
|
|
"disabled": "Disabled",
|
|
"export": "Export",
|
|
"import": "Import",
|
|
"exporting": "Exporting...",
|
|
"importing": "Importing...",
|
|
"exportImportHint": "Export or import CLI settings configuration",
|
|
"exportSuccess": "Settings exported successfully",
|
|
"exportError": "Failed to export settings",
|
|
"importSuccess": "Settings imported successfully ({imported} imported, {skipped} skipped)",
|
|
"importError": "Failed to import settings",
|
|
"importInvalidFile": "Please select a valid JSON file",
|
|
"importInvalidJson": "Invalid JSON format in file",
|
|
"importInvalidStructure": "Invalid settings file structure"
|
|
},
|
|
"systemStatus": {
|
|
"title": "CCW Installation",
|
|
"installations": "installation(s)",
|
|
"noInstallations": "No installations detected",
|
|
"installPrompt": "Run ccw install to set up",
|
|
"global": "Global",
|
|
"path": "Path",
|
|
"version": "Version",
|
|
"files": "files",
|
|
"upgrade": "Upgrade",
|
|
"upgrading": "Upgrading...",
|
|
"refresh": "Refresh",
|
|
"ccwInstall": "CCW Installation",
|
|
"installed": "Installed",
|
|
"incomplete": "Incomplete",
|
|
"notInstalled": "Not Installed",
|
|
"missingFiles": "Missing Files",
|
|
"runToFix": "Run to fix",
|
|
"toolStatus": "Tool Availability",
|
|
"available": "Available",
|
|
"unavailable": "Unavailable",
|
|
"checking": "Checking..."
|
|
},
|
|
"dataRefresh": {
|
|
"title": "Data Refresh",
|
|
"autoRefresh": "Auto Refresh",
|
|
"autoRefreshDesc": "Automatically refresh data periodically",
|
|
"refreshInterval": "Refresh Interval",
|
|
"refreshIntervalDesc": "How often to refresh data",
|
|
"enabled": "Enabled",
|
|
"disabled": "Disabled"
|
|
},
|
|
"notifications": {
|
|
"title": "Notifications",
|
|
"enableNotifications": "Enable Notifications",
|
|
"enableNotificationsDesc": "Show notifications for workflow events",
|
|
"soundEffects": "Sound Effects",
|
|
"soundEffectsDesc": "Play sound for notifications",
|
|
"on": "On",
|
|
"off": "Off"
|
|
},
|
|
"remoteNotifications": {
|
|
"title": "Remote Notifications",
|
|
"description": "Send notifications to external platforms like Discord, Telegram, or custom webhooks when events occur.",
|
|
"enabled": "Enabled",
|
|
"disabled": "Disabled",
|
|
"platforms": "Platform Configuration",
|
|
"events": "Event Triggers",
|
|
"selectPlatforms": "Select which platforms to notify for this event:",
|
|
"noPlatforms": "No platforms",
|
|
"configured": "Configured",
|
|
"save": "Save",
|
|
"saving": "Saving...",
|
|
"saved": "Configuration saved",
|
|
"saveError": "Failed to save configuration",
|
|
"reset": "Reset to Defaults",
|
|
"resetConfirm": "Reset all remote notification settings to defaults?",
|
|
"resetSuccess": "Settings reset to defaults",
|
|
"resetError": "Failed to reset settings",
|
|
"testConnection": "Test Connection",
|
|
"testSuccess": "Test notification sent successfully",
|
|
"testFailed": "Test notification failed",
|
|
"testError": "Failed to send test notification",
|
|
"discord": {
|
|
"webhookUrl": "Webhook URL",
|
|
"webhookUrlHint": "Create a webhook in your Discord channel settings",
|
|
"username": "Custom Username (optional)"
|
|
},
|
|
"telegram": {
|
|
"botToken": "Bot Token",
|
|
"botTokenHint": "Get from @BotFather on Telegram",
|
|
"chatId": "Chat ID",
|
|
"chatIdHint": "User or group chat ID (use @userinfobot to find it)"
|
|
},
|
|
"webhook": {
|
|
"url": "Webhook URL",
|
|
"method": "HTTP Method",
|
|
"headers": "Custom Headers (JSON)",
|
|
"headersHint": "Optional JSON object with custom headers"
|
|
},
|
|
"feishu": {
|
|
"webhookUrl": "Webhook URL",
|
|
"webhookUrlHint": "Get from Feishu robot settings",
|
|
"useCard": "Use Card Format",
|
|
"useCardHint": "Send as rich interactive card",
|
|
"title": "Card Title (optional)"
|
|
},
|
|
"dingtalk": {
|
|
"webhookUrl": "Webhook URL",
|
|
"webhookUrlHint": "Get from DingTalk robot settings",
|
|
"keywords": "Security Keywords",
|
|
"keywordsHint": "Comma-separated keywords for security check"
|
|
},
|
|
"wecom": {
|
|
"webhookUrl": "Webhook URL",
|
|
"webhookUrlHint": "Get from WeCom robot settings",
|
|
"mentionedList": "Mention Users",
|
|
"mentionedListHint": "User IDs to mention, use '@all' for everyone"
|
|
},
|
|
"email": {
|
|
"host": "SMTP Host",
|
|
"hostHint": "e.g., smtp.gmail.com",
|
|
"port": "Port",
|
|
"secure": "Use TLS",
|
|
"username": "Username",
|
|
"password": "Password",
|
|
"from": "Sender Email",
|
|
"to": "Recipients",
|
|
"toHint": "Comma-separated email addresses"
|
|
}
|
|
},
|
|
"versionCheck": {
|
|
"title": "Version Update",
|
|
"currentVersion": "Current Version",
|
|
"latestVersion": "Latest Version",
|
|
"checkNow": "Check Now",
|
|
"checking": "Checking...",
|
|
"autoCheck": "Auto-check for updates",
|
|
"autoCheckDesc": "Automatically check for new versions every hour",
|
|
"upToDate": "Up to date",
|
|
"updateAvailable": "Update available",
|
|
"updateCommand": "Update command",
|
|
"viewRelease": "View Release",
|
|
"lastChecked": "Last checked",
|
|
"checkFailed": "Check failed",
|
|
"never": "Never"
|
|
},
|
|
"about": {
|
|
"title": "About",
|
|
"version": "Version",
|
|
"description": "Claude Code Workflow Dashboard"
|
|
},
|
|
"reset": {
|
|
"title": "Reset",
|
|
"description": "Reset all user preferences to their default values. This cannot be undone.",
|
|
"confirm": "Reset all settings to defaults?",
|
|
"button": "Reset to Defaults"
|
|
},
|
|
"a2ui": {
|
|
"title": "A2UI Preferences",
|
|
"dialogStyle": "Dialog Style",
|
|
"dialogStyleDesc": "Choose how A2UI dialogs are displayed",
|
|
"styleModal": "Modal",
|
|
"styleModalDesc": "Centered",
|
|
"styleDrawer": "Drawer",
|
|
"styleDrawerDesc": "Side panel",
|
|
"styleSheet": "Sheet",
|
|
"styleSheetDesc": "Bottom",
|
|
"styleFullscreen": "Fullscreen",
|
|
"styleFullscreenDesc": "Full screen",
|
|
"smartMode": "Smart Mode",
|
|
"smartModeDesc": "Auto-select style based on question type",
|
|
"autoSelectionDuration": "Auto-Selection Duration",
|
|
"autoSelectionDurationDesc": "Countdown before auto-selecting default option",
|
|
"pauseOnInteraction": "Pause on Interaction",
|
|
"pauseOnInteractionDesc": "Pause countdown when you interact with the dialog",
|
|
"soundNotification": "Sound Notification",
|
|
"soundNotificationDesc": "Play sound before auto-submit (3 seconds before)",
|
|
"showToolbarButton": "Show Toolbar Button",
|
|
"showToolbarButtonDesc": "Show A2UI quick action button in the toolbar"
|
|
}
|
|
}
|