Files
Claude-Code-Workflow/ccw/frontend/src/locales/en/api-settings.json
catlog22 80ae4baea8 feat: Refactor AppShell and Header components, enhance memory management UI, and align API endpoints
- Removed defaultCollapsed prop from AppShell and set sidebar to be collapsed by default.
- Updated Header component to remove mobile menu toggle and added a history entry button.
- Refactored ExplorationsSection to streamline data extraction and improve UI rendering.
- Added new messages for GitHub sync success and error handling in issues.
- Implemented View Memory Dialog for better memory content viewing and editing.
- Enhanced FlowToolbar to auto-create flows and improved save functionality.
- Conducted a frontend audit for API endpoint alignment with backend implementations.
2026-02-07 23:15:50 +08:00

386 lines
14 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"title": "API Settings",
"description": "Manage LiteLLM providers, endpoints, cache settings, and model pools",
"tabs": {
"providers": "Providers",
"endpoints": "Endpoints",
"cache": "Cache",
"modelPools": "Model Pools",
"cliSettings": "CLI Settings"
},
"providers": {
"title": "Providers",
"description": "Configure API provider credentials and multi-key settings",
"stats": {
"total": "Total Providers",
"enabled": "Enabled"
},
"actions": {
"add": "Add Provider",
"edit": "Edit Provider",
"delete": "Delete Provider",
"test": "Test Connection",
"multiKeySettings": "Multi-Key Settings",
"syncToCodexLens": "Sync to CodexLens",
"manageModels": "Manage Models",
"addModel": "Add Model",
"showDisabled": "Show Disabled",
"hideDisabled": "Hide Disabled"
},
"deleteConfirm": "Are you sure you want to delete the provider \"{name}\"?",
"emptyState": {
"title": "No Providers Found",
"message": "Add a provider to configure API credentials and models."
},
"apiFormat": "API Format",
"openaiCompatible": "OpenAI Compatible",
"customFormat": "Custom Format",
"apiFormatHint": "Most providers use OpenAI-compatible format",
"displayName": "Display Name",
"apiKey": "API Key",
"useEnvVar": "Use environment variable (e.g., ${OPENAI_API_KEY})",
"apiBaseUrl": "API Base URL",
"preview": "Preview",
"enableProvider": "Enable this provider",
"advancedSettings": "Advanced Settings",
"timeout": "Timeout",
"timeoutHint": "Request timeout in seconds (default: 300)",
"maxRetries": "Max Retries",
"organization": "Organization",
"organizationHint": "OpenAI-specific organization ID",
"apiVersion": "API Version",
"apiVersionHint": "Azure-specific API version (e.g., 2024-02-01)",
"rpm": "RPM",
"tpm": "TPM",
"unlimited": "Unlimited",
"proxy": "Proxy URL",
"customHeaders": "Custom Headers",
"customHeadersHint": "JSON format, e.g., {\"X-Custom\": \"value\"}",
"testConnection": "Test Connection",
"connectionSuccess": "Connection successful",
"connectionFailed": "Connection failed",
"addProviderFirst": "Please add a provider first",
"saveProviderFirst": "Please save the provider first",
"llmModels": "LLM Models",
"embeddingModels": "Embedding Models",
"rerankerModels": "Reranker Models",
"noModels": "No models configured for this provider",
"selectProvider": "Select Provider",
"selectProviderHint": "Choose a provider to view and manage their models",
"modelSettings": "Model Settings",
"deleteModel": "Delete Model",
"multiKeySettings": "Multi-Key Settings",
"keyLabel": "Key Label",
"keyValue": "Key Value",
"keyWeight": "Weight",
"routingStrategy": "Routing Strategy",
"healthCheck": "Health Check",
"healthStatus": "Health Status",
"lastCheck": "Last check",
"lastError": "Last error",
"lastLatency": "Latency",
"cooldown": "Cooldown",
"consecutiveFailures": "Failures",
"inCooldown": "In cooldown",
"healthy": "Healthy",
"unhealthy": "Unhealthy",
"unknown": "Unknown",
"justNow": "just now",
"minutesAgo": "m ago",
"hoursAgo": "h ago",
"daysAgo": "d ago",
"seconds": "seconds",
"testKey": "Test Key",
"addKey": "Add Key",
"enableKey": "Enable",
"disableKey": "Disable",
"deleteKey": "Delete Key",
"simpleShuffle": "Simple Shuffle",
"weighted": "Weighted",
"latencyBased": "Latency Based",
"costBased": "Cost Based",
"leastBusy": "Least Busy",
"enableHealthCheck": "Enable health checks",
"checkInterval": "Check interval (seconds)",
"cooldownPeriod": "Cooldown period (seconds)",
"failureThreshold": "Failure threshold",
"addLlmModel": "Add LLM Model",
"addEmbeddingModel": "Add Embedding Model",
"addRerankerModel": "Add Reranker Model",
"selectFromPresets": "Select from presets",
"customModel": "Custom model...",
"modelId": "Model ID",
"modelName": "Model Name",
"modelSeries": "Model Series",
"contextWindow": "Context Window",
"capabilities": "Capabilities",
"streaming": "Streaming",
"functionCalling": "Function Calling",
"vision": "Vision",
"embeddingMaxTokens": "Max Tokens",
"rerankerTopK": "Top K",
"rerankerTopKHint": "Number of results to return",
"embeddingDimensions": "Dimensions",
"description": "Description",
"optional": "Optional",
"modelIdExists": "Model ID already exists",
"useModelTreeToManage": "Use provider card to manage models",
"endpointPreview": "Endpoint Preview",
"modelBaseUrlOverride": "Base URL Override",
"modelBaseUrlHint": "Override base URL for this model",
"basicInfo": "Basic Information",
"endpointSettings": "Endpoint Settings",
"apiBaseUpdated": "Base URL updated",
"showAll": "Show All",
"saveError": "Failed to save provider",
"deleteError": "Failed to delete provider",
"toggleError": "Failed to toggle provider",
"testError": "Failed to test provider"
},
"endpoints": {
"title": "Endpoints",
"description": "Configure custom API endpoints with caching strategies",
"stats": {
"totalEndpoints": "Total Endpoints",
"cachedEndpoints": "Cached Endpoints"
},
"actions": {
"add": "Add Endpoint",
"edit": "Edit Endpoint",
"delete": "Delete Endpoint",
"enable": "Enable",
"disable": "Disable"
},
"deleteConfirm": "Are you sure you want to delete the endpoint \"{id}\"?",
"emptyState": {
"title": "No Endpoints Found",
"message": "Add an endpoint to configure custom API mappings."
},
"endpointId": "Endpoint ID",
"endpointIdHint": "Unique CLI identifier (e.g., my-gpt4o)",
"name": "Name",
"provider": "Provider",
"model": "Model",
"noModelsConfigured": "No models configured for this provider",
"selectModel": "Select a model...",
"cacheStrategy": "Cache Strategy",
"enableContextCaching": "Enable context caching",
"cacheTTL": "Cache TTL (minutes)",
"cacheMaxSize": "Max Size (KB)",
"filePatterns": "Patterns",
"autoCachePatterns": "Auto-cache patterns",
"filePatternsHint": "Comma-separated glob patterns (e.g., *.md,*.ts)",
"enabled": "Enabled",
"disabled": "Disabled",
"noEndpoints": "No Endpoints Configured",
"noEndpointsHint": "Add an endpoint to create custom API mappings with caching.",
"providerBased": "Provider-based",
"direct": "Direct",
"off": "Off",
"showDisabled": "Show Disabled",
"showAll": "Show All",
"basicInfo": "Basic Information",
"saveError": "Failed to save endpoint",
"deleteError": "Failed to delete endpoint",
"toggleError": "Failed to toggle endpoint"
},
"cache": {
"title": "Cache",
"description": "Manage global cache settings and view cache statistics",
"settings": {
"title": "Cache Settings",
"globalCache": "Global Cache",
"enableGlobalCaching": "Enable global caching",
"cacheDirectory": "Cache directory",
"maxSize": "Max total size (MB)",
"cacheUsage": "Cache usage",
"cacheEntries": "Cache entries",
"cacheSize": "Cache size",
"used": "used",
"total": "total",
"actions": "Cache Actions",
"clearCache": "Clear Cache",
"confirmClearCache": "Are you sure you want to clear the cache? This will remove all cached entries."
},
"statistics": {
"title": "Cache Statistics",
"cachedEntries": "Cached Entries",
"storageUsed": "Storage Used",
"totalSize": "Total Size"
},
"actions": {
"clear": "Clear Cache",
"confirmClear": "Are you sure you want to clear the cache?"
},
"messages": {
"cacheCleared": "Cache cleared",
"cacheSettingsUpdated": "Cache settings updated"
}
},
"modelPools": {
"title": "Model Pools",
"description": "Configure model pools for high availability and load balancing",
"stats": {
"total": "Total Pools",
"enabled": "Enabled"
},
"actions": {
"add": "Add Model Pool",
"edit": "Edit Model Pool",
"delete": "Delete Model Pool",
"autoDiscover": "Auto-Discover"
},
"deleteConfirm": "Are you sure you want to delete the model pool \"{name}\"?",
"emptyState": {
"title": "No Model Pools Found",
"message": "Add a model pool to enable high availability and load balancing."
},
"modelType": "Model Type",
"embedding": "Embedding",
"llm": "LLM",
"reranker": "Reranker",
"targetModel": "Target Model",
"selectTargetModel": "Select target model...",
"strategy": "Strategy",
"roundRobin": "Round Robin",
"latencyAware": "Latency Aware",
"weightedRandom": "Weighted Random",
"poolEnabled": "Pool Enabled",
"autoDiscover": "Auto-discover providers",
"excludedProviders": "Excluded Providers",
"defaultCooldown": "Default Cooldown (s)",
"defaultConcurrent": "Default Concurrent",
"discoveredProviders": "Discovered Providers",
"excludeProvider": "Exclude",
"includeProvider": "Include",
"noProvidersFound": "No providers found offering this model",
"poolSaved": "Model pool saved",
"embeddingPoolDesc": "Configure model pools for high availability and load balancing across multiple providers",
"embeddingPool": "Embedding Pool",
"discovered": "Discovered",
"providers": "providers"
},
"cliSettings": {
"title": "CLI Settings",
"description": "Configure CLI tool settings and modes",
"modalDescription": "Configure Claude CLI wrapper settings for different endpoints",
"stats": {
"total": "Total Settings",
"enabled": "Enabled"
},
"actions": {
"add": "Add CLI Settings",
"edit": "Edit CLI Settings",
"delete": "Delete CLI Settings"
},
"deleteConfirm": "Are you sure you want to delete the CLI settings \"{name}\"?",
"emptyState": {
"title": "No CLI Settings Found",
"message": "Add CLI settings to configure tool-specific options."
},
"searchPlaceholder": "Search by name or description...",
"mode": "Mode",
"providerBased": "Provider-based",
"direct": "Direct",
"authToken": "Auth Token",
"baseUrl": "Base URL",
"model": "Model",
"namePlaceholder": "e.g., production-claude",
"descriptionPlaceholder": "Optional description for this configuration",
"selectProvider": "Select a provider",
"includeCoAuthoredBy": "Include co-authored-by in commits",
"coAuthoredBy": "Co-authored",
"availableModels": "Available Models",
"availableModelsPlaceholder": "Enter model name and press Enter",
"availableModelsHint": "Models shown in CLI dropdown menus. Click × to remove.",
"nameFormatHint": "Letters, numbers, hyphens, underscores only. Used as: ccw cli --tool [name]",
"nameTooLong": "Name must be {max} characters or less",
"settingsFile": "Settings File",
"settingsFilePlaceholder": "e.g., /path/to/settings.json",
"settingsFileHint": "Path to external Claude CLI settings file (passed via --settings parameter)",
"tags": "Tags",
"tagsDescription": "Tags for CLI tool routing and auto-selection (e.g., analysis, Debug)",
"addTag": "Add tag",
"tagInputPlaceholder": "Enter a tag...",
"predefinedTags": "Common tags",
"removeTag": "Remove tag",
"noTags": "No tags added",
"validation": {
"providerRequired": "Please select a provider",
"authOrBaseUrlRequired": "Please enter auth token or base URL"
},
"saveError": "Failed to save CLI settings",
"deleteError": "Failed to delete CLI settings",
"toggleError": "Failed to toggle CLI settings"
},
"ccwLitellm": {
"title": "CCW-LiteLLM Package",
"description": "Manage ccw-litellm Python package installation",
"status": {
"installed": "Installed",
"notInstalled": "Not Installed",
"version": "Version"
},
"actions": {
"install": "Install",
"uninstall": "Uninstall",
"refreshStatus": "Refresh Status"
},
"messages": {
"installSuccess": "ccw-litellm installed successfully",
"installFailed": "Failed to install ccw-litellm",
"uninstallSuccess": "ccw-litellm uninstalled successfully",
"uninstallFailed": "Failed to uninstall ccw-litellm"
}
},
"common": {
"save": "Save",
"cancel": "Cancel",
"confirm": "Confirm",
"delete": "Delete",
"edit": "Edit",
"add": "Add",
"close": "Close",
"loading": "Loading...",
"saving": "Saving...",
"error": "Error",
"success": "Success",
"warning": "Warning",
"optional": "Optional",
"enabled": "Enabled",
"disabled": "Disabled",
"searchPlaceholder": "Search...",
"noResults": "No results found",
"actions": "Actions",
"name": "Name",
"description": "Description",
"type": "Type",
"status": "Status",
"provider": "Provider",
"enableThis": "Enable this",
"showAll": "Show All",
"validation": {
"nameRequired": "Name is required"
}
},
"messages": {
"settingsSaved": "Settings saved successfully",
"settingsDeleted": "Settings deleted successfully",
"providerSaved": "Provider saved successfully",
"providerDeleted": "Provider deleted successfully",
"providerUpdated": "Provider updated successfully",
"endpointSaved": "Endpoint saved successfully",
"endpointDeleted": "Endpoint deleted successfully",
"confirmDeleteProvider": "Are you sure you want to delete this provider?",
"confirmDeleteEndpoint": "Are you sure you want to delete this endpoint?",
"confirmClearCache": "Are you sure you want to clear the cache?",
"invalidJsonHeaders": "Invalid JSON format for custom headers",
"failedToLoad": "Failed to load data",
"noProviders": "No Providers",
"noProvidersHint": "Add a provider to get started with API configuration.",
"noEndpoints": "No Endpoints",
"noEndpointsHint": "Add an endpoint to create custom API mappings.",
"configSynced": "Configuration synced to YAML file"
}
}