Files
Claude-Code-Workflow/ccw/frontend/src/locales/en/skills.json
catlog22 33e12a31ac feat(skills): add skill deletion and improve UI/UX
- Add skill deletion functionality with confirmation dialog
- Protect builtin skills from deletion
- Optimize skill card layout (badge and enable button near menu)
- Change enable button to icon-only with theme color
- Improve card selection and hover states
- Fix skill hub installation state tracking (per-skill)
- Add proper i18n for delete feature (en/zh)
- Add loading states to delete confirmation dialog
- Remove manual refetch calls (use query invalidation)
2026-02-24 21:06:34 +08:00

121 lines
3.6 KiB
JSON

{
"title": "Skills",
"description": "Manage and configure skills",
"disabledSkills": {
"title": "Disabled Skills"
},
"disableConfirm": {
"title": "Disable Skill?",
"message": "Are you sure you want to disable \"{name}\"?"
},
"deleteConfirm": {
"title": "Delete Skill?",
"message": "Are you sure you want to delete \"{name}\"? This action cannot be undone."
},
"delete": {
"success": "Skill \"{name}\" has been deleted",
"error": "Failed to delete skill: {error}"
},
"location": {
"project": "Project",
"user": "Global",
"hub": "Hub"
},
"source": {
"builtin": "Built-in",
"custom": "Custom",
"community": "Community"
},
"actions": {
"viewDetails": "View Details",
"configure": "Configure",
"enable": "Enable",
"disable": "Disable",
"toggle": "Toggle",
"install": "Install Skill",
"delete": "Delete",
"cancel": "Cancel",
"confirmDisable": "Disable",
"confirmDelete": "Delete"
},
"state": {
"enabled": "Enabled",
"disabled": "Disabled",
"on": "On",
"off": "Off"
},
"card": {
"triggers": "Triggers",
"category": "Category",
"source": "Source",
"author": "Author",
"version": "Version",
"description": "Description"
},
"allowedTools": "Allowed Tools",
"files": "Files",
"path": "Path",
"metadata": "Metadata",
"noDescription": "No description available",
"projectSkills": "Project Skills",
"userSkills": "User Skills",
"filters": {
"all": "All",
"enabled": "Enabled",
"disabled": "Disabled",
"searchPlaceholder": "Search skills...",
"allSources": "All Sources"
},
"stats": {
"totalSkills": "Total Skills"
},
"view": {
"grid": "Grid View",
"compact": "Compact View"
},
"emptyState": {
"title": "No Skills Found",
"message": "No skills match your current filter."
},
"create": {
"title": "Create Skill",
"location": "Location",
"locationProject": "Project Skills",
"locationProjectHint": ".claude/skills/",
"locationUser": "Global Skills",
"locationUserHint": "~/.claude/skills/",
"mode": "Creation Mode",
"modeImport": "Import Folder",
"modeImportHint": "Import skill from existing folder",
"modeGenerate": "AI Generate",
"modeGenerateHint": "Generate skill using AI",
"sourcePath": "Source Folder Path",
"sourcePathPlaceholder": "Enter absolute path to skill folder",
"sourcePathHint": "Folder must contain a SKILL.md file",
"customName": "Custom Name",
"customNamePlaceholder": "Leave empty to use original name",
"customNameHint": "Optional, overrides default skill name",
"skillName": "Skill Name",
"skillNamePlaceholder": "Enter skill name",
"skillNameHint": "Used as the skill folder name",
"descriptionLabel": "Skill Description",
"descriptionPlaceholder": "Describe what this skill should do...",
"descriptionHint": "AI will generate skill content based on this description",
"generateInfo": "AI will use CLI tools to generate the skill",
"generateTimeHint": "Generation may take some time",
"validate": "Validate",
"import": "Import",
"generate": "Generate",
"validating": "Validating...",
"validSkill": "Validation passed",
"invalidSkill": "Validation failed",
"creating": "Creating...",
"created": "Skill \"{name}\" created successfully",
"createError": "Failed to create skill",
"sourcePathRequired": "Please enter source folder path",
"skillNameRequired": "Please enter skill name",
"descriptionRequired": "Please enter skill description",
"validateFirst": "Please validate the skill folder first"
}
}