Files
Claude-Code-Workflow/ccw/frontend/src/locales/en/orchestrator.json
catlog22 23f752b975 feat: Implement slash command functionality in the orchestrator
- Refactored NodePalette to remove unused templates and streamline the UI.
- Enhanced PropertyPanel to support slash commands with input fields for command name and arguments.
- Introduced TagEditor for inline variable editing and custom template creation.
- Updated PromptTemplateNode to display slash command badges and instructions.
- Modified flow types to include slashCommand and slashArgs for structured execution.
- Adjusted flow executor to construct instructions based on slash command fields.
2026-02-05 14:29:04 +08:00

196 lines
5.7 KiB
JSON

{
"title": "Orchestrator",
"description": "Manage and execute workflow flows",
"flow": {
"title": "Flow",
"flows": "Flows",
"create": "New Flow",
"edit": "Edit Flow",
"delete": "Delete Flow",
"duplicate": "Duplicate Flow",
"export": "Export Flow",
"import": "Import Flow"
},
"execution": {
"title": "Execution",
"status": "Status",
"start": "Start",
"pause": "Pause",
"resume": "Resume",
"stop": "Stop",
"restart": "Restart",
"viewLogs": "View Logs"
},
"status": {
"pending": "Pending",
"running": "Running",
"paused": "Paused",
"completed": "Completed",
"failed": "Failed"
},
"node": {
"title": "Node",
"nodes": "Nodes",
"add": "Add Node",
"edit": "Edit Node",
"delete": "Delete Node",
"status": "Node Status",
"result": "Result"
},
"actions": {
"execute": "Execute",
"validate": "Validate",
"save": "Save",
"cancel": "Cancel"
},
"emptyState": {
"noFlows": {
"title": "No Flows Found",
"message": "Create your first workflow flow to get started."
},
"noExecution": {
"title": "No Execution History",
"message": "Execute a flow to see the execution history."
}
},
"monitor": {
"title": "Execution Monitor",
"logs": "Logs",
"timeline": "Timeline",
"variables": "Variables",
"realtime": "Real-time Updates"
},
"notifications": {
"flowCreated": "Flow Created",
"flowSaved": "Flow Saved",
"saveFailed": "Save Failed",
"flowLoaded": "Flow Loaded",
"loadFailed": "Load Failed",
"flowDeleted": "Flow Deleted",
"deleteFailed": "Delete Failed",
"flowDuplicated": "Flow Duplicated",
"duplicateFailed": "Duplicate Failed"
},
"templateLibrary": {
"title": "Template Library",
"description": "Browse and import workflow templates, or export your current flow as a template.",
"searchPlaceholder": "Search templates...",
"allCategories": "All",
"exportCurrent": "Export Current",
"close": "Close",
"errors": {
"loadFailed": "Failed to load templates"
},
"emptyState": {
"title": "No templates found",
"searchSuggestion": "Try a different search query"
},
"footer": {
"templateCount": "{count} template",
"templateCount_plural": "{count} templates"
},
"card": {
"nodes": "nodes",
"import": "Import",
"delete": "Delete"
},
"exportDialog": {
"title": "Export as Template",
"description": "Save this flow as a reusable template in your library.",
"fields": {
"name": "Name",
"namePlaceholder": "Template name",
"description": "Description",
"descriptionPlaceholder": "Brief description of this template",
"category": "Category",
"categoryPlaceholder": "e.g., Development, Testing, Deployment",
"tags": "Tags (comma-separated)",
"tagsPlaceholder": "e.g., react, testing, ci/cd"
},
"actions": {
"cancel": "Cancel",
"export": "Export"
}
}
},
"toolbar": {
"placeholder": "Flow name",
"unsavedChanges": "Unsaved changes",
"new": "New",
"save": "Save",
"load": "Load",
"export": "Export",
"templates": "Templates",
"savedFlows": "Saved Flows ({count})",
"loading": "Loading...",
"noSavedFlows": "No saved flows",
"duplicate": "Duplicate",
"delete": "Delete"
},
"palette": {
"title": "Node Palette",
"open": "Open node palette",
"collapse": "Collapse palette",
"instructions": "Drag nodes onto the canvas to add them to your workflow",
"nodeTypes": "Node Types",
"tipLabel": "Tip:",
"tip": "Connect nodes by dragging from output to input handles"
},
"variablePicker": {
"empty": "No variables available"
},
"multiNodeSelector": {
"empty": "No nodes available",
"clear": "Clear all"
},
"contextAssembler": {
"title": "Context Template",
"helpTitle": "Context Assembly Syntax",
"helpSyntax1": "Reference node output: {{node:node-id}}",
"helpSyntax2": "Reference variable: {{var:variableName}}",
"helpSyntax3": "Combine multiple sources in custom format",
"addNode": "Add Node Reference",
"selectNode": "Select a node...",
"addVariable": "Add Variable Reference",
"selectVariable": "Select a variable...",
"manualEdit": "Custom Template (use {{node:id}} or {{var:name}})"
},
"propertyPanel": {
"title": "Properties",
"open": "Open properties panel",
"close": "Close panel",
"selectNode": "Select a node to edit its properties",
"deleteNode": "Delete Node",
"placeholders": {
"nodeLabel": "Node label",
"instruction": "e.g., Execute /workflow:plan for login feature\nor: Analyze code architecture\nor: Save {{analysis}} to ./output/result.json",
"outputName": "e.g., analysis, plan, result",
"slashCommand": "Select a command...",
"slashArgs": "Enter arguments...",
"additionalInstruction": "Additional instructions or context for the command..."
},
"labels": {
"label": "Label",
"instruction": "Instruction",
"outputName": "Output Name",
"tool": "CLI Tool",
"mode": "Execution Mode",
"contextRefs": "Context References",
"slashCommand": "Slash Command",
"slashArgs": "Arguments",
"additionalInstruction": "Additional Context (optional)"
},
"options": {
"toolNone": "None (auto-select)",
"toolGemini": "Gemini",
"toolQwen": "Qwen",
"toolCodex": "Codex",
"toolClaude": "Claude",
"modeAnalysis": "Analysis (read-only)",
"modeWrite": "Write (modify files)",
"modeMainprocess": "Main Process (blocking)",
"modeAsync": "Async (non-blocking)"
}
}
}