mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-09-07 01:56:53 +00:00
✨ refactor: system settings UI for consistent, compact layouts
Redesign the system settings interface to align with the rest of the console experience by using fixed header actions, removing redundant subtitles, respecting global content width, and standardizing responsive form layouts. Introduce reusable settings layout primitives for forms, switch rows, grouped controls, nested control sections, title status indicators, and page action portals. Replace duplicated card-style switch markup with explicit compact components, improve nested switch readability, and reduce visual noise across authentication, billing, content, integrations, maintenance, models, and request-limit settings. Also complete missing i18n translations, remove obsolete subtitle translation keys, refine i18n sync reporting, fix sidebar truncation for long labels, and verify the frontend with type checking and lint diagnostics.
This commit is contained in:
Vendored
-52
@@ -449,7 +449,6 @@
|
||||
"Automatically replaces upstream callback URLs with the server address.": "Automatically replaces upstream callback URLs with the server address.",
|
||||
"Automatically selects the best available group with circuit breaker mechanism": "Automatically selects the best available group with circuit breaker mechanism",
|
||||
"Automatically sync model list when upstream changes are detected": "Automatically sync model list when upstream changes are detected",
|
||||
"Automatically test channels and notify users when limits are hit": "Automatically test channels and notify users when limits are hit",
|
||||
"Availability (last 24h)": "Availability (last 24h)",
|
||||
"Available": "Available",
|
||||
"Available disk space": "Available disk space",
|
||||
@@ -561,8 +560,6 @@
|
||||
"Bound product:": "Bound product:",
|
||||
"Bound store:": "Bound store:",
|
||||
"Bring channels back online after successful checks": "Bring channels back online after successful checks",
|
||||
"Broadcast a global banner to users. Markdown is supported.": "Broadcast a global banner to users. Markdown is supported.",
|
||||
"Broadcast short system notices on the dashboard": "Broadcast short system notices on the dashboard",
|
||||
"Browse and compare": "Browse and compare",
|
||||
"Browse available models and pricing": "Browse available models and pricing",
|
||||
"Browse rankings by category": "Browse rankings by category",
|
||||
@@ -828,43 +825,21 @@
|
||||
"Configure API documentation links for the dashboard": "Configure API documentation links for the dashboard",
|
||||
"Configure at:": "Configure at:",
|
||||
"Configure available payment methods. Provide a JSON array.": "Configure available payment methods. Provide a JSON array.",
|
||||
"Configure basic system information and branding": "Configure basic system information and branding",
|
||||
"Configure channel affinity (sticky routing) rules": "Configure channel affinity (sticky routing) rules",
|
||||
"Configure Creem products. Provide a JSON array.": "Configure Creem products. Provide a JSON array.",
|
||||
"Configure currency conversion and quota display options": "Configure currency conversion and quota display options",
|
||||
"Configure custom OAuth providers for user authentication": "Configure custom OAuth providers for user authentication",
|
||||
"Configure daily check-in rewards for users": "Configure daily check-in rewards for users",
|
||||
"Configure discount rates based on recharge amounts": "Configure discount rates based on recharge amounts",
|
||||
"Configure experimental data export for the dashboard": "Configure experimental data export for the dashboard",
|
||||
"Configure Gemini safety behavior, version overrides, and thinking adapter": "Configure Gemini safety behavior, version overrides, and thinking adapter",
|
||||
"Configure group ratios and group-specific pricing rules": "Configure group ratios and group-specific pricing rules",
|
||||
"Configure in your Creem dashboard": "Configure in your Creem dashboard",
|
||||
"Configure io.net API key for model deployments": "Configure io.net API key for model deployments",
|
||||
"Configure keyword filtering for prompts and responses.": "Configure keyword filtering for prompts and responses.",
|
||||
"Configure model deployment provider settings": "Configure model deployment provider settings",
|
||||
"Configure model pricing ratios and tool prices": "Configure model pricing ratios and tool prices",
|
||||
"Configure model, caching, and group ratios used for billing": "Configure model, caching, and group ratios used for billing",
|
||||
"Configure monitoring status page groups for the dashboard": "Configure monitoring status page groups for the dashboard",
|
||||
"Configure outgoing email server for notifications": "Configure outgoing email server for notifications",
|
||||
"Configure Passkey (WebAuthn) login settings": "Configure Passkey (WebAuthn) login settings",
|
||||
"Configure password-based login and registration": "Configure password-based login and registration",
|
||||
"Configure per-model ratio for image inputs or outputs.": "Configure per-model ratio for image inputs or outputs.",
|
||||
"Configure per-tool unit prices ($/1K calls). Per-request models do not incur additional tool fees.": "Configure per-tool unit prices ($/1K calls). Per-request models do not incur additional tool fees.",
|
||||
"Configure predefined chat links surfaced to end users.": "Configure predefined chat links surfaced to end users.",
|
||||
"Configure pricing model and display options": "Configure pricing model and display options",
|
||||
"Configure pricing ratios for a specific model.": "Configure pricing ratios for a specific model.",
|
||||
"Configure rate limiting rules for a specific user group.": "Configure rate limiting rules for a specific user group.",
|
||||
"Configure recharge pricing and payment gateway integrations": "Configure recharge pricing and payment gateway integrations",
|
||||
"Configure system-wide behavior and defaults": "Configure system-wide behavior and defaults",
|
||||
"Configure the ratio for this group.": "Configure the ratio for this group.",
|
||||
"Configure third-party authentication providers": "Configure third-party authentication providers",
|
||||
"Configure upstream providers and routing.": "Configure upstream providers and routing.",
|
||||
"Configure upstream worker or proxy service for outbound requests": "Configure upstream worker or proxy service for outbound requests",
|
||||
"Configure user quota allocation and rewards": "Configure user quota allocation and rewards",
|
||||
"Configure Waffo Pancake hosted checkout integration for USD-priced top-ups": "Configure Waffo Pancake hosted checkout integration for USD-priced top-ups",
|
||||
"Configure Waffo payment aggregation platform integration": "Configure Waffo payment aggregation platform integration",
|
||||
"Configure xAI Grok model settings": "Configure xAI Grok model settings",
|
||||
"Configure xAI Grok model specific settings": "Configure xAI Grok model specific settings",
|
||||
"Configure your account behavior preferences": "Configure your account behavior preferences",
|
||||
"Configure your account preferences and integrations": "Configure your account preferences and integrations",
|
||||
"Configured routes and latency checks": "Configured routes and latency checks",
|
||||
@@ -932,11 +907,7 @@
|
||||
"Continue with Telegram": "Continue with Telegram",
|
||||
"Continue with WeChat": "Continue with WeChat",
|
||||
"Contract review, compliance, summarisation": "Contract review, compliance, summarisation",
|
||||
"Control log retention and clean historical data.": "Control log retention and clean historical data.",
|
||||
"Control passthrough behavior and connection keep-alive settings": "Control passthrough behavior and connection keep-alive settings",
|
||||
"Control request frequency to prevent abuse and manage system load.": "Control request frequency to prevent abuse and manage system load.",
|
||||
"Control which models are exposed and which groups may use them.": "Control which models are exposed and which groups may use them.",
|
||||
"Control which sidebar areas and modules are available to all users.": "Control which sidebar areas and modules are available to all users.",
|
||||
"Controls how much the model thinks before answering": "Controls how much the model thinks before answering",
|
||||
"Controls whether user verification (biometrics/PIN) is required during Passkey flows.": "Controls whether user verification (biometrics/PIN) is required during Passkey flows.",
|
||||
"Conversion rate from USD to your custom currency": "Conversion rate from USD to your custom currency",
|
||||
@@ -1041,7 +1012,6 @@
|
||||
"Creem products must be a JSON array": "Creem products must be a JSON array",
|
||||
"Cross-group": "Cross-group",
|
||||
"Cross-group retry": "Cross-group retry",
|
||||
"Curate quick links to your different Domains": "Curate quick links to your different Domains",
|
||||
"Currency": "Currency",
|
||||
"Currency & Display": "Currency & Display",
|
||||
"Current Balance": "Current Balance",
|
||||
@@ -1395,7 +1365,6 @@
|
||||
"Enable OIDC": "Enable OIDC",
|
||||
"Enable or disable this channel": "Enable or disable this channel",
|
||||
"Enable or disable this model": "Enable or disable this model",
|
||||
"Enable or disable top navigation modules globally.": "Enable or disable top navigation modules globally.",
|
||||
"Enable Passkey": "Enable Passkey",
|
||||
"Enable Performance Monitoring": "Enable Performance Monitoring",
|
||||
"Enable rate limiting": "Enable rate limiting",
|
||||
@@ -1549,7 +1518,6 @@
|
||||
"Expired at": "Expired at",
|
||||
"Expired time cannot be earlier than current time": "Expired time cannot be earlier than current time",
|
||||
"Expires": "Expires",
|
||||
"Expose grouped Uptime Kuma status pages directly on the dashboard": "Expose grouped Uptime Kuma status pages directly on the dashboard",
|
||||
"Expose ratio API": "Expose ratio API",
|
||||
"Exposes the pricing/models catalog in the top navigation.": "Exposes the pricing/models catalog in the top navigation.",
|
||||
"Expression": "Expression",
|
||||
@@ -1760,7 +1728,6 @@
|
||||
"Final cost = base × multiplier when conditions match": "Final cost = base × multiplier when conditions match",
|
||||
"Final price multiplier (0.95 = 5% discount": "Final price multiplier (0.95 = 5% discount",
|
||||
"Finance": "Finance",
|
||||
"Fine-tune Midjourney integration and guardrails.": "Fine-tune Midjourney integration and guardrails.",
|
||||
"Finish Time": "Finish Time",
|
||||
"First API request": "First API request",
|
||||
"First/Last Frame to Video": "First/Last Frame to Video",
|
||||
@@ -2237,30 +2204,21 @@
|
||||
"Low balance": "Low balance",
|
||||
"Lowest median first-token latency": "Lowest median first-token latency",
|
||||
"m": "m",
|
||||
"Maintain a list of common questions for the dashboard help panel": "Maintain a list of common questions for the dashboard help panel",
|
||||
"Maintenance": "Maintenance",
|
||||
"Make it easier for teammates to pick the right group.": "Make it easier for teammates to pick the right group.",
|
||||
"Manage": "Manage",
|
||||
"Manage account bindings for this user": "Manage account bindings for this user",
|
||||
"Manage API channels and provider configurations": "Manage API channels and provider configurations",
|
||||
"Manage Bindings": "Manage Bindings",
|
||||
"Manage catalog visibility and pricing.": "Manage catalog visibility and pricing.",
|
||||
"Manage custom OAuth providers for user authentication": "Manage custom OAuth providers for user authentication",
|
||||
"Manage Keys": "Manage Keys",
|
||||
"Manage local models for:": "Manage local models for:",
|
||||
"Manage model deployments": "Manage model deployments",
|
||||
"Manage model metadata and configuration": "Manage model metadata and configuration",
|
||||
"Manage multi-key status and configuration for this channel": "Manage multi-key status and configuration for this channel",
|
||||
"Manage Ollama Models": "Manage Ollama Models",
|
||||
"Manage redemption codes for quota top-up": "Manage redemption codes for quota top-up",
|
||||
"Manage server log files. Log files accumulate over time; regular cleanup is recommended to free disk space.": "Manage server log files. Log files accumulate over time; regular cleanup is recommended to free disk space.",
|
||||
"Manage subscription plan creation, pricing and status": "Manage subscription plan creation, pricing and status",
|
||||
"Manage subscription plans and pricing.": "Manage subscription plans and pricing.",
|
||||
"Manage Subscriptions": "Manage Subscriptions",
|
||||
"Manage users and their permissions": "Manage users and their permissions",
|
||||
"Manage Vendors": "Manage Vendors",
|
||||
"Manage your API keys for accessing the service": "Manage your API keys for accessing the service",
|
||||
"Manage your balance and payment methods": "Manage your balance and payment methods",
|
||||
"Manage your security settings and account access": "Manage your security settings and account access",
|
||||
"Manual Disabled": "Manual Disabled",
|
||||
"Map fields from the user info response to local user attributes. Supports nested paths (e.g. ocs.data.id).": "Map fields from the user info response to local user attributes. Supports nested paths (e.g. ocs.data.id).",
|
||||
@@ -2793,7 +2751,6 @@
|
||||
"Overnight range": "Overnight range",
|
||||
"override": "override",
|
||||
"Override": "Override",
|
||||
"Override Anthropic headers, defaults, and thinking adapter behavior": "Override Anthropic headers, defaults, and thinking adapter behavior",
|
||||
"Override auto-discovered endpoint": "Override auto-discovered endpoint",
|
||||
"Override request headers": "Override request headers",
|
||||
"Override request headers (JSON format)": "Override request headers (JSON format)",
|
||||
@@ -3039,7 +2996,6 @@
|
||||
"Press Enter or comma to add tags": "Press Enter or comma to add tags",
|
||||
"Press Enter to use \"{{value}}\"": "Press Enter to use \"{{value}}\"",
|
||||
"Prevent server-side request forgery attacks": "Prevent server-side request forgery attacks",
|
||||
"Prevent server-side request forgery attacks by controlling outbound requests.": "Prevent server-side request forgery attacks by controlling outbound requests.",
|
||||
"Preview": "Preview",
|
||||
"Previous": "Previous",
|
||||
"Previous branch": "Previous branch",
|
||||
@@ -3102,7 +3058,6 @@
|
||||
"Prompt Details": "Prompt Details",
|
||||
"Prompt price ($/1M tokens)": "Prompt price ($/1M tokens)",
|
||||
"Proprietary": "Proprietary",
|
||||
"Protect login and registration with Cloudflare Turnstile": "Protect login and registration with Cloudflare Turnstile",
|
||||
"Provide a JSON object where each key maps to an endpoint definition.": "Provide a JSON object where each key maps to an endpoint definition.",
|
||||
"Provide a valid URL starting with http:// or https://": "Provide a valid URL starting with http:// or https://",
|
||||
"Provide Markdown, HTML, or an external URL for the privacy policy": "Provide Markdown, HTML, or an external URL for the privacy policy",
|
||||
@@ -3388,7 +3343,6 @@
|
||||
"Reveal key": "Reveal key",
|
||||
"Revenue": "Revenue",
|
||||
"Review & initialize": "Review & initialize",
|
||||
"Review current version and fetch release notes.": "Review current version and fetch release notes.",
|
||||
"Review model rates before scaling traffic": "Review model rates before scaling traffic",
|
||||
"Review your payment details": "Review your payment details",
|
||||
"Review your purchase details before proceeding.": "Review your purchase details before proceeding.",
|
||||
@@ -4354,16 +4308,11 @@
|
||||
"Vidu": "Vidu",
|
||||
"View": "View",
|
||||
"View all currently available models": "View all currently available models",
|
||||
"View and manage your API usage logs": "View and manage your API usage logs",
|
||||
"View and manage your drawing logs": "View and manage your drawing logs",
|
||||
"View and manage your task logs": "View and manage your task logs",
|
||||
"View dashboard overview and statistics": "View dashboard overview and statistics",
|
||||
"View detailed information about this user including balance, usage statistics, and invitation details.": "View detailed information about this user including balance, usage statistics, and invitation details.",
|
||||
"View details": "View details",
|
||||
"View document": "View document",
|
||||
"View logs": "View logs",
|
||||
"View mode": "View mode",
|
||||
"View model call count analytics and charts": "View model call count analytics and charts",
|
||||
"View model statistics and charts": "View model statistics and charts",
|
||||
"View Pricing": "View Pricing",
|
||||
"View the complete details for this": "View the complete details for this",
|
||||
@@ -4371,7 +4320,6 @@
|
||||
"View the complete error message and details": "View the complete error message and details",
|
||||
"View the complete prompt and its English translation": "View the complete prompt and its English translation",
|
||||
"View the generated image": "View the generated image",
|
||||
"View user consumption statistics and charts": "View user consumption statistics and charts",
|
||||
"View your topup transaction records and payment history": "View your topup transaction records and payment history",
|
||||
"Violation Code": "Violation Code",
|
||||
"Violation deduction amount": "Violation deduction amount",
|
||||
|
||||
Reference in New Issue
Block a user