汉化
This commit is contained in:
156
src/locales/en/common.json
Normal file
156
src/locales/en/common.json
Normal file
@@ -0,0 +1,156 @@
|
||||
{
|
||||
"app": {
|
||||
"name": "Claudia",
|
||||
"welcome": "Welcome to Claudia",
|
||||
"loading": "Loading...",
|
||||
"error": "Error",
|
||||
"success": "Success",
|
||||
"cancel": "Cancel",
|
||||
"save": "Save",
|
||||
"delete": "Delete",
|
||||
"edit": "Edit",
|
||||
"create": "Create",
|
||||
"update": "Update",
|
||||
"remove": "Remove",
|
||||
"add": "Add",
|
||||
"confirm": "Confirm",
|
||||
"back": "Back",
|
||||
"next": "Next",
|
||||
"previous": "Previous",
|
||||
"refresh": "Refresh",
|
||||
"close": "Close",
|
||||
"open": "Open"
|
||||
},
|
||||
"navigation": {
|
||||
"projects": "CC Projects",
|
||||
"agents": "CC Agents",
|
||||
"settings": "Settings",
|
||||
"usage": "Usage Dashboard",
|
||||
"mcp": "MCP Manager",
|
||||
"about": "About"
|
||||
},
|
||||
"projects": {
|
||||
"title": "Projects",
|
||||
"noProjects": "No projects found",
|
||||
"selectProject": "Select a project",
|
||||
"openSession": "Open Session",
|
||||
"newSession": "New Session",
|
||||
"sessions": "Sessions",
|
||||
"noSessions": "No sessions found",
|
||||
"lastModified": "Last Modified",
|
||||
"sessionHistory": "Session History"
|
||||
},
|
||||
"agents": {
|
||||
"title": "CC Agents",
|
||||
"newAgent": "New Agent",
|
||||
"createAgent": "Create Agent",
|
||||
"editAgent": "Edit Agent",
|
||||
"deleteAgent": "Delete Agent",
|
||||
"executeAgent": "Execute Agent",
|
||||
"agentName": "Agent Name",
|
||||
"agentIcon": "Agent Icon",
|
||||
"systemPrompt": "System Prompt",
|
||||
"defaultTask": "Default Task",
|
||||
"model": "Model",
|
||||
"permissions": "Permissions",
|
||||
"fileAccess": "File Access",
|
||||
"networkAccess": "Network Access",
|
||||
"noAgents": "No agents found",
|
||||
"agentCreated": "Agent created successfully",
|
||||
"agentUpdated": "Agent updated successfully",
|
||||
"agentDeleted": "Agent deleted successfully",
|
||||
"confirmDelete": "Are you sure you want to delete this agent?",
|
||||
"executionHistory": "Execution History",
|
||||
"runAgent": "Run Agent",
|
||||
"agentRuns": "Agent Runs",
|
||||
"createAgentDescription": "Create a new Claude Code agent",
|
||||
"updateAgentDescription": "Update your Claude Code agent",
|
||||
"createFailed": "Failed to create agent",
|
||||
"updateFailed": "Failed to update agent"
|
||||
},
|
||||
"settings": {
|
||||
"title": "Settings",
|
||||
"general": "General",
|
||||
"appearance": "Appearance",
|
||||
"language": "Language",
|
||||
"theme": "Theme",
|
||||
"checkpointSettings": "Checkpoint Settings",
|
||||
"autoCheckpoint": "Auto Checkpoint",
|
||||
"checkpointInterval": "Checkpoint Interval",
|
||||
"maxCheckpoints": "Max Checkpoints",
|
||||
"proxySettings": "Proxy Settings",
|
||||
"enableProxy": "Enable Proxy",
|
||||
"httpProxy": "HTTP Proxy",
|
||||
"httpsProxy": "HTTPS Proxy",
|
||||
"noProxy": "No Proxy",
|
||||
"analyticsConsent": "Analytics Consent",
|
||||
"enableAnalytics": "Enable Analytics",
|
||||
"disableAnalytics": "Disable Analytics"
|
||||
},
|
||||
"mcp": {
|
||||
"title": "MCP Server Management",
|
||||
"addServer": "Add Server",
|
||||
"serverName": "Server Name",
|
||||
"serverCommand": "Server Command",
|
||||
"serverArgs": "Server Arguments",
|
||||
"testConnection": "Test Connection",
|
||||
"connectionSuccess": "Connection successful",
|
||||
"connectionFailed": "Connection failed",
|
||||
"importFromClaude": "Import from Claude Desktop",
|
||||
"exportConfig": "Export Configuration",
|
||||
"noServers": "No MCP servers configured"
|
||||
},
|
||||
"usage": {
|
||||
"title": "Usage Dashboard",
|
||||
"totalTokens": "Total Tokens",
|
||||
"totalCost": "Total Cost",
|
||||
"byModel": "By Model",
|
||||
"byProject": "By Project",
|
||||
"byDate": "By Date",
|
||||
"last7Days": "Last 7 Days",
|
||||
"last30Days": "Last 30 Days",
|
||||
"allTime": "All Time",
|
||||
"exportData": "Export Data"
|
||||
},
|
||||
"checkpoint": {
|
||||
"title": "Checkpoints",
|
||||
"createCheckpoint": "Create Checkpoint",
|
||||
"restoreCheckpoint": "Restore Checkpoint",
|
||||
"deleteCheckpoint": "Delete Checkpoint",
|
||||
"checkpointName": "Checkpoint Name",
|
||||
"checkpointMessage": "Checkpoint Message",
|
||||
"timeline": "Timeline",
|
||||
"diff": "Diff",
|
||||
"noCheckpoints": "No checkpoints found"
|
||||
},
|
||||
"placeholders": {
|
||||
"searchProjects": "Search projects...",
|
||||
"searchAgents": "Search agents...",
|
||||
"enterAgentName": "Enter agent name...",
|
||||
"enterSystemPrompt": "Enter system prompt...",
|
||||
"enterDefaultTask": "Enter default task...",
|
||||
"enterURL": "Enter URL...",
|
||||
"searchCommands": "Search commands...",
|
||||
"enterCommand": "Enter command...",
|
||||
"enterDescription": "Enter description..."
|
||||
},
|
||||
"validation": {
|
||||
"required": "This field is required",
|
||||
"invalidEmail": "Invalid email address",
|
||||
"invalidUrl": "Invalid URL",
|
||||
"minLength": "Minimum {{count}} characters required",
|
||||
"maxLength": "Maximum {{count}} characters allowed"
|
||||
},
|
||||
"messages": {
|
||||
"saveSuccess": "Saved successfully",
|
||||
"deleteSuccess": "Deleted successfully",
|
||||
"operationFailed": "Operation failed",
|
||||
"confirmAction": "Are you sure you want to perform this action?",
|
||||
"unsavedChanges": "You have unsaved changes",
|
||||
"networkError": "Network error occurred",
|
||||
"unknownError": "Unknown error occurred",
|
||||
"claudeCodeNotFound": "Claude Code not found",
|
||||
"selectClaudeInstallation": "Select Claude Installation",
|
||||
"installClaudeCode": "Install Claude Code"
|
||||
}
|
||||
}
|
156
src/locales/zh/common.json
Normal file
156
src/locales/zh/common.json
Normal file
@@ -0,0 +1,156 @@
|
||||
{
|
||||
"app": {
|
||||
"name": "Claudia",
|
||||
"welcome": "欢迎使用 Claudia",
|
||||
"loading": "加载中...",
|
||||
"error": "错误",
|
||||
"success": "成功",
|
||||
"cancel": "取消",
|
||||
"save": "保存",
|
||||
"delete": "删除",
|
||||
"edit": "编辑",
|
||||
"create": "创建",
|
||||
"update": "更新",
|
||||
"remove": "移除",
|
||||
"add": "添加",
|
||||
"confirm": "确认",
|
||||
"back": "返回",
|
||||
"next": "下一步",
|
||||
"previous": "上一步",
|
||||
"refresh": "刷新",
|
||||
"close": "关闭",
|
||||
"open": "打开"
|
||||
},
|
||||
"navigation": {
|
||||
"projects": "CC 项目",
|
||||
"agents": "CC 智能体",
|
||||
"settings": "设置",
|
||||
"usage": "用量仪表板",
|
||||
"mcp": "MCP 管理器",
|
||||
"about": "关于"
|
||||
},
|
||||
"projects": {
|
||||
"title": "项目",
|
||||
"noProjects": "未找到项目",
|
||||
"selectProject": "选择项目",
|
||||
"openSession": "打开会话",
|
||||
"newSession": "新建会话",
|
||||
"sessions": "会话",
|
||||
"noSessions": "未找到会话",
|
||||
"lastModified": "最近修改",
|
||||
"sessionHistory": "会话历史"
|
||||
},
|
||||
"agents": {
|
||||
"title": "CC 智能体",
|
||||
"newAgent": "新建智能体",
|
||||
"createAgent": "创建智能体",
|
||||
"editAgent": "编辑智能体",
|
||||
"deleteAgent": "删除智能体",
|
||||
"executeAgent": "执行智能体",
|
||||
"agentName": "智能体名称",
|
||||
"agentIcon": "智能体图标",
|
||||
"systemPrompt": "系统提示",
|
||||
"defaultTask": "默认任务",
|
||||
"model": "模型",
|
||||
"permissions": "权限",
|
||||
"fileAccess": "文件访问",
|
||||
"networkAccess": "网络访问",
|
||||
"noAgents": "未找到智能体",
|
||||
"agentCreated": "智能体创建成功",
|
||||
"agentUpdated": "智能体更新成功",
|
||||
"agentDeleted": "智能体删除成功",
|
||||
"confirmDelete": "确认要删除此智能体吗?",
|
||||
"executionHistory": "执行历史",
|
||||
"runAgent": "运行智能体",
|
||||
"agentRuns": "智能体运行记录",
|
||||
"createAgentDescription": "创建新的 Claude Code 智能体",
|
||||
"updateAgentDescription": "更新您的 Claude Code 智能体",
|
||||
"createFailed": "创建智能体失败",
|
||||
"updateFailed": "更新智能体失败"
|
||||
},
|
||||
"settings": {
|
||||
"title": "设置",
|
||||
"general": "常规",
|
||||
"appearance": "外观",
|
||||
"language": "语言",
|
||||
"theme": "主题",
|
||||
"checkpointSettings": "检查点设置",
|
||||
"autoCheckpoint": "自动检查点",
|
||||
"checkpointInterval": "检查点间隔",
|
||||
"maxCheckpoints": "最大检查点数",
|
||||
"proxySettings": "代理设置",
|
||||
"enableProxy": "启用代理",
|
||||
"httpProxy": "HTTP 代理",
|
||||
"httpsProxy": "HTTPS 代理",
|
||||
"noProxy": "无代理",
|
||||
"analyticsConsent": "分析同意",
|
||||
"enableAnalytics": "启用分析",
|
||||
"disableAnalytics": "禁用分析"
|
||||
},
|
||||
"mcp": {
|
||||
"title": "MCP 服务器管理",
|
||||
"addServer": "添加服务器",
|
||||
"serverName": "服务器名称",
|
||||
"serverCommand": "服务器命令",
|
||||
"serverArgs": "服务器参数",
|
||||
"testConnection": "测试连接",
|
||||
"connectionSuccess": "连接成功",
|
||||
"connectionFailed": "连接失败",
|
||||
"importFromClaude": "从 Claude Desktop 导入",
|
||||
"exportConfig": "导出配置",
|
||||
"noServers": "未配置 MCP 服务器"
|
||||
},
|
||||
"usage": {
|
||||
"title": "用量仪表板",
|
||||
"totalTokens": "总令牌数",
|
||||
"totalCost": "总成本",
|
||||
"byModel": "按模型",
|
||||
"byProject": "按项目",
|
||||
"byDate": "按日期",
|
||||
"last7Days": "最近 7 天",
|
||||
"last30Days": "最近 30 天",
|
||||
"allTime": "全部时间",
|
||||
"exportData": "导出数据"
|
||||
},
|
||||
"checkpoint": {
|
||||
"title": "检查点",
|
||||
"createCheckpoint": "创建检查点",
|
||||
"restoreCheckpoint": "恢复检查点",
|
||||
"deleteCheckpoint": "删除检查点",
|
||||
"checkpointName": "检查点名称",
|
||||
"checkpointMessage": "检查点消息",
|
||||
"timeline": "时间线",
|
||||
"diff": "差异",
|
||||
"noCheckpoints": "未找到检查点"
|
||||
},
|
||||
"placeholders": {
|
||||
"searchProjects": "搜索项目...",
|
||||
"searchAgents": "搜索智能体...",
|
||||
"enterAgentName": "输入智能体名称...",
|
||||
"enterSystemPrompt": "输入系统提示...",
|
||||
"enterDefaultTask": "输入默认任务...",
|
||||
"enterURL": "输入 URL...",
|
||||
"searchCommands": "搜索命令...",
|
||||
"enterCommand": "输入命令...",
|
||||
"enterDescription": "输入描述..."
|
||||
},
|
||||
"validation": {
|
||||
"required": "此字段为必填项",
|
||||
"invalidEmail": "无效的邮箱地址",
|
||||
"invalidUrl": "无效的 URL",
|
||||
"minLength": "至少需要 {{count}} 个字符",
|
||||
"maxLength": "最多允许 {{count}} 个字符"
|
||||
},
|
||||
"messages": {
|
||||
"saveSuccess": "保存成功",
|
||||
"deleteSuccess": "删除成功",
|
||||
"operationFailed": "操作失败",
|
||||
"confirmAction": "确认要执行此操作吗?",
|
||||
"unsavedChanges": "您有未保存的更改",
|
||||
"networkError": "网络错误",
|
||||
"unknownError": "未知错误",
|
||||
"claudeCodeNotFound": "未找到 Claude Code",
|
||||
"selectClaudeInstallation": "选择 Claude 安装",
|
||||
"installClaudeCode": "安装 Claude Code"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user