mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-10 02:24:35 +08:00
fix: gitignore 规则过宽导致 locales/settings.json 未被追踪
根目录 .gitignore 中 settings.json 规则缺少路径前缀, 匹配了所有子目录下的同名文件,导致克隆仓库后 locales/en/settings.json 和 locales/zh/settings.json 缺失, vite 构建报错。改为 /settings.json 限制为仅忽略根目录文件。
This commit is contained in:
80
ccw/frontend/src/locales/en/settings.json
Normal file
80
ccw/frontend/src/locales/en/settings.json
Normal file
@@ -0,0 +1,80 @@
|
||||
{
|
||||
"title": "Settings",
|
||||
"description": "Configure your dashboard preferences and CLI tools",
|
||||
"sections": {
|
||||
"appearance": "Appearance",
|
||||
"cliTools": "CLI Tools",
|
||||
"display": "Display Settings",
|
||||
"language": "Language",
|
||||
"hooks": "Git Hooks",
|
||||
"rules": "Rules",
|
||||
"about": "About"
|
||||
},
|
||||
"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",
|
||||
"enabled": "Enabled",
|
||||
"disabled": "Disabled",
|
||||
"default": "Default",
|
||||
"setDefault": "Set as Default",
|
||||
"primaryModel": "Primary Model",
|
||||
"secondaryModel": "Secondary Model",
|
||||
"expand": "Expand for details"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"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"
|
||||
}
|
||||
}
|
||||
80
ccw/frontend/src/locales/zh/settings.json
Normal file
80
ccw/frontend/src/locales/zh/settings.json
Normal file
@@ -0,0 +1,80 @@
|
||||
{
|
||||
"title": "设置",
|
||||
"description": "配置仪表板偏好设置和 CLI 工具",
|
||||
"sections": {
|
||||
"appearance": "外观",
|
||||
"cliTools": "CLI 工具",
|
||||
"display": "显示设置",
|
||||
"language": "语言",
|
||||
"hooks": "Git 钩子",
|
||||
"rules": "规则",
|
||||
"about": "关于"
|
||||
},
|
||||
"appearance": {
|
||||
"title": "外观",
|
||||
"theme": "主题",
|
||||
"themeOptions": {
|
||||
"light": "浅色",
|
||||
"dark": "深色",
|
||||
"system": "跟随系统"
|
||||
},
|
||||
"description": "选择您喜欢的颜色主题",
|
||||
"systemFollow": "系统跟随",
|
||||
"systemFollowDesc": "使用系统的深色/浅色模式设置"
|
||||
},
|
||||
"cliTools": {
|
||||
"title": "CLI 工具",
|
||||
"description": "配置 CLI 工具设置",
|
||||
"enabled": "已启用",
|
||||
"disabled": "已禁用",
|
||||
"default": "默认",
|
||||
"setDefault": "设为默认",
|
||||
"primaryModel": "主模型",
|
||||
"secondaryModel": "辅助模型",
|
||||
"expand": "展开详情"
|
||||
},
|
||||
"display": {
|
||||
"title": "显示设置",
|
||||
"showCompletedTasks": "显示已完成任务",
|
||||
"showCompletedTasksDesc": "在任务列表中显示已完成的任务",
|
||||
"show": "显示",
|
||||
"hide": "隐藏"
|
||||
},
|
||||
"language": {
|
||||
"title": "语言",
|
||||
"description": "选择您的首选语言",
|
||||
"english": "English",
|
||||
"chinese": "中文",
|
||||
"displayLanguage": "显示语言",
|
||||
"chooseLanguage": "选择界面的首选语言"
|
||||
},
|
||||
"dataRefresh": {
|
||||
"title": "数据刷新",
|
||||
"autoRefresh": "自动刷新",
|
||||
"autoRefreshDesc": "定期自动刷新数据",
|
||||
"refreshInterval": "刷新间隔",
|
||||
"refreshIntervalDesc": "刷新数据的频率",
|
||||
"enabled": "已启用",
|
||||
"disabled": "已禁用"
|
||||
},
|
||||
"notifications": {
|
||||
"title": "通知",
|
||||
"enableNotifications": "启用通知",
|
||||
"enableNotificationsDesc": "显示工作流事件的通知",
|
||||
"soundEffects": "音效",
|
||||
"soundEffectsDesc": "播放通知音效",
|
||||
"on": "开启",
|
||||
"off": "关闭"
|
||||
},
|
||||
"about": {
|
||||
"title": "关于",
|
||||
"version": "版本",
|
||||
"description": "Claude Code Workflow 仪表板"
|
||||
},
|
||||
"reset": {
|
||||
"title": "重置",
|
||||
"description": "将所有用户偏好重置为默认值。此操作无法撤销。",
|
||||
"confirm": "确定要将所有设置重置为默认值吗?",
|
||||
"button": "重置为默认值"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user