| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- {
- "autoCleanup": "Auto Log Cleanup",
- "autoCleanupDesc": "Automatically clean up historical log data on schedule to free up database storage space.",
- "description": "Manage system basic parameters that affect site display and statistics behavior.",
- "form": {
- "allowGlobalView": "Allow Global Usage View",
- "allowGlobalViewDesc": "When disabled, regular users can only view their own key usage statistics in the dashboard.",
- "autoCleanupSaved": "Auto cleanup configuration saved",
- "billingModelSource": "Billing Model Source",
- "billingModelSourceDesc": "Configure which model to use for billing when model redirection occurs. 'Before Redirection' uses the original model requested by the user, 'After Redirection' uses the actual model called.",
- "billingModelSourceOptions": {
- "original": "Before Redirection (Original Model)",
- "redirected": "After Redirection (Actual Model)"
- },
- "billingModelSourcePlaceholder": "Select billing model source",
- "cleanupBatchSize": "Batch Size",
- "cleanupBatchSizeDesc": "Number of records to delete per batch (range: 1000-100000, recommended 10000)",
- "cleanupBatchSizePlaceholder": "10000",
- "cleanupBatchSizeRequired": "Batch Size *",
- "cleanupRetentionDays": "Retention Days",
- "cleanupRetentionDaysDesc": "Logs older than this number of days will be automatically cleaned (range: 1-365 days)",
- "cleanupRetentionDaysPlaceholder": "30",
- "cleanupRetentionDaysRequired": "Retention Days *",
- "cleanupSchedule": "Cleanup Schedule",
- "cleanupScheduleCronDesc": "Cron expression, default: 0 2 * * * (2 AM daily)",
- "cleanupScheduleCronExample": "Example: 0 3 * * 0 (3 AM every Sunday)",
- "cleanupScheduleDesc": "Select the execution schedule for automatic cleanup",
- "cleanupScheduleLabel": "Execution Time (Cron)",
- "cleanupSchedulePlaceholder": "0 2 * * *",
- "cleanupScheduleRequired": "Execution Time (Cron) *",
- "configUpdated": "System settings updated. The page will refresh to apply currency display changes.",
- "currencies": {
- "CNY": "¥ Chinese Yuan (CNY)",
- "EUR": "€ Euro (EUR)",
- "GBP": "£ British Pound (GBP)",
- "HKD": "HK$ Hong Kong Dollar (HKD)",
- "JPY": "¥ Japanese Yen (JPY)",
- "KRW": "₩ South Korean Won (KRW)",
- "SGD": "S$ Singapore Dollar (SGD)",
- "TWD": "NT$ New Taiwan Dollar (TWD)",
- "USD": "$ US Dollar (USD)"
- },
- "currencyDisplay": "Currency Display Unit",
- "currencyDisplayDesc": "After modification, all pages and API interfaces will use the corresponding currency symbol (symbol only, no exchange rate conversion).",
- "currencyDisplayPlaceholder": "Select currency unit",
- "enableAutoCleanup": "Enable Auto Cleanup",
- "enableAutoCleanupDesc": "Automatically clean up historical log data on schedule",
- "enableHttp2": "Enable HTTP/2",
- "enableHttp2Desc": "When enabled, proxy requests will prefer HTTP/2 protocol. Automatically falls back to HTTP/1.1 on failure.",
- "enableResponseFixer": "Enable Response Fixer",
- "enableResponseFixerDesc": "Automatically repairs common upstream response issues (encoding, SSE, truncated JSON). Enabled by default.",
- "enableThinkingSignatureRectifier": "Enable Thinking Signature Rectifier",
- "enableThinkingSignatureRectifierDesc": "When Anthropic providers return thinking signature incompatibility or invalid request errors, automatically removes incompatible thinking blocks and retries once against the same provider (enabled by default).",
- "enableThinkingBudgetRectifier": "Enable Thinking Budget Rectifier",
- "enableThinkingBudgetRectifierDesc": "When Anthropic providers return budget_tokens < 1024 errors, automatically sets thinking budget to maximum (32000) and max_tokens to 64000 if needed, then retries once (enabled by default).",
- "enableCodexSessionIdCompletion": "Enable Codex Session ID Completion",
- "enableCodexSessionIdCompletionDesc": "When Codex requests provide only one of session_id (header) or prompt_cache_key (body), automatically completes the other. If both are missing, generates a UUID v7 session id and reuses it stably within the same conversation.",
- "enableClaudeMetadataUserIdInjection": "Enable Claude metadata.user_id Injection",
- "enableClaudeMetadataUserIdInjectionDesc": "When Claude requests are missing metadata.user_id, automatically inject a stable user_id (format: user_{hash}_account__session_{sessionId}). If the client already provides one, keep it unchanged.",
- "interceptAnthropicWarmupRequests": "Intercept Warmup Requests (Anthropic)",
- "interceptAnthropicWarmupRequestsDesc": "When enabled, Claude Code warmup probe requests will be answered by CCH directly to avoid upstream provider calls; the request is logged for audit but is not billed, not rate-limited, and excluded from statistics.",
- "keepDays": "Retention Days",
- "keepDaysDesc": "Clean up logs older than this number of days",
- "responseFixerFixEncoding": "Fix encoding issues",
- "responseFixerFixEncodingDesc": "Removes BOM/null bytes and normalizes invalid UTF-8.",
- "responseFixerFixSseFormat": "Fix SSE format",
- "responseFixerFixSseFormatDesc": "Adds missing data: prefix, normalizes line endings, and fixes common field formatting.",
- "responseFixerFixTruncatedJson": "Fix truncated JSON",
- "responseFixerFixTruncatedJsonDesc": "Closes unclosed braces/quotes, removes trailing commas, and fills missing values with null when needed.",
- "saveConfig": "Save Configuration",
- "saveError": "Save failed",
- "saveFailed": "Save failed",
- "saveSettings": "Save Settings",
- "saveSuccess": "Saved successfully",
- "siteTitle": "Site Title",
- "siteTitleDesc": "Used to set browser tab title and system default display name.",
- "siteTitlePlaceholder": "e.g. Claude Code Hub",
- "siteTitleRequired": "Site title cannot be empty",
- "verboseProviderError": "Verbose Provider Error",
- "verboseProviderErrorDesc": "When enabled, return detailed error messages when all providers are unavailable (including provider count, rate limit reasons, etc.); when disabled, only return a simple error code.",
- "timezoneLabel": "System Timezone",
- "timezoneDescription": "Set the system timezone for unified backend time boundary calculations and frontend date/time display. Leave empty to use the TZ environment variable or default to UTC.",
- "timezoneAuto": "Auto (use TZ env variable)",
- "quotaLease": {
- "title": "Quota Lease Settings",
- "description": "Configure lease refresh interval and slice percentages for rate limit checks. The lease mechanism reduces DB query pressure while maintaining rate limit accuracy.",
- "dbRefreshInterval": "DB Refresh Interval (seconds)",
- "dbRefreshIntervalDesc": "Interval for refreshing quota usage from the database (1-300 seconds)",
- "leasePercent5h": "5-Hour Window Lease Percentage",
- "leasePercent5hDesc": "Percentage of 5-hour limit for each lease slice (0-1)",
- "leasePercentDaily": "Daily Window Lease Percentage",
- "leasePercentDailyDesc": "Percentage of daily limit for each lease slice (0-1)",
- "leasePercentWeekly": "Weekly Window Lease Percentage",
- "leasePercentWeeklyDesc": "Percentage of weekly limit for each lease slice (0-1)",
- "leasePercentMonthly": "Monthly Window Lease Percentage",
- "leasePercentMonthlyDesc": "Percentage of monthly limit for each lease slice (0-1)",
- "leaseCapUsd": "Lease Cap (USD)",
- "leaseCapUsdDesc": "Maximum absolute cap per lease slice in USD, leave empty for no limit",
- "warnings": {
- "dbRefreshIntervalTooLow": "Refresh interval is {value}s. This may increase DB load.",
- "dbRefreshIntervalTooHigh": "Refresh interval is {value}s. Quota/limit updates may be delayed.",
- "leasePercentZero": "Percentage is 0. This may cause the lease budget to always be 0.",
- "leaseCapZero": "Lease cap is 0. This may cause the per-lease budget to be 0."
- }
- }
- },
- "section": {
- "autoCleanup": {
- "description": "Automatically clean up historical log data on schedule to free up database storage space.",
- "title": "Auto Log Cleanup"
- },
- "siteParams": {
- "description": "Configure site title, currency display unit, and dashboard statistics display policy.",
- "title": "Site Parameters"
- }
- },
- "siteSettings": "Site Parameters",
- "siteSettingsDesc": "Configure site title, currency display unit, and dashboard statistics display policy.",
- "title": "Basic Configuration"
- }
|