caddydash/frontend/locales/en.json
2025-07-01 09:12:31 +08:00

167 lines
No EOL
7.6 KiB
JSON

{
"nav": {
"configs": "Site Configs",
"global": "Global Config",
"settings": "Panel Settings",
"logout": "Logout"
},
"status": {
"checking": "Checking...",
"running": "Running",
"stopped": "Stopped",
"unknown": "Unknown"
},
"caddy": {
"start_btn": "Start Caddy",
"stop_btn": "Stop Caddy",
"reload_btn": "Reload Config"
},
"common": {
"save": "Save",
"cancel": "Cancel",
"append": "Append",
"replace": "Replace",
"back_to_list": "Back to list",
"error_prefix": "Error",
"loading": "Loading...",
"logout": "Logout"
},
"pages": {
"configs": {
"page_title": "Site Configs - CaddyDash",
"title": "Site Configuration",
"add_new_btn": "New Config",
"form_title_create": "Create New Config",
"form_title_edit": "Edit Config",
"listtitle": "Site Configs",
"rendered_caddyfile_title": "Rendered Caddyfile"
},
"global": {
"page_title": "Global Config - CaddyDash",
"title": "Global Caddyfile Configuration",
"description": "Changes here will overwrite your main Caddyfile and trigger a Caddy reload.",
"save_btn": "Save and Reload"
},
"settings": {
"page_title": "Panel Settings - CaddyDash",
"title": "Panel Settings",
"account_security_title": "Account Security",
"language_label": "Language",
"current_password_label": "Current Password",
"new_password_label": "New Password (min. 8 characters)",
"confirm_new_password_label": "Confirm New Password",
"reset_password_btn": "Reset Password",
"resetting_password_btn": "Resetting...",
"interface_settings_title": "Interface Settings"
},
"login": {
"page_title": "Login - CaddyDash",
"welcome": "Welcome to CaddyDash",
"prompt": "Please enter your credentials to continue",
"username_label": "Username",
"password_label": "Password",
"login_btn": "Login",
"logging_in_btn": "Logging in..."
},
"init": {
"page_title": "Initial Setup - CaddyDash",
"title": "Welcome to CaddyDash",
"prompt": "Please create your administrator account to complete setup",
"admin_user_label": "Admin Username",
"password_label": "Password (min. 8 characters)",
"confirm_password_label": "Confirm Password",
"setup_btn": "Complete Setup",
"setting_up_btn": "Setting up..."
}
},
"form": {
"legend_basic": "Basic Config",
"domain_label": "Primary Domain (used as filename)",
"legend_service_mode": "Service Mode",
"mode_none": "None",
"mode_rp": "Reverse Proxy",
"mode_fs": "File Server",
"legend_rp": "Reverse Proxy Config",
"upstream_addr_label": "Upstream Address",
"upstream_addr_placeholder": "e.g., 127.0.0.1:8080",
"enable_multi_upstream": "Enable Multi-Upstream Load Balancing",
"upstream_servers_label": "Upstream Server List",
"add_upstream_server_btn": "Add Upstream Server",
"upstream_server_placeholder": "e.g., 127.0.0.1:8081",
"upstream_headers_label": "Upstream Headers",
"fill_from_preset": "Fill from Preset",
"add_header_btn": "Add Header",
"legend_fs": "File Server Config",
"fs_root_label": "Root Directory Path",
"fs_root_placeholder": "e.g., /srv/www",
"enable_fs_browser": "Enable File Browser",
"legend_global_headers": "Global Headers",
"legend_features": "Additional Features",
"feature_log": "Enable Logging",
"feature_error_page": "Enable Custom Error Pages",
"feature_encode": "Enable Compression",
"legend_general_options": "General Options",
"admin_api_port_label": "Admin API Port (Read-only)",
"http_port_label": "HTTP Port",
"https_port_label": "HTTPS Port",
"enable_debug_mode": "Enable Debug Mode",
"enable_prometheus_metrics": "Enable Prometheus Metrics",
"legend_main_log_config": "Main Log Configuration",
"log_level_label": "Log Level",
"log_rotate_size_label": "Rotate Size",
"log_rotate_size_placeholder": "e.g., 10MB",
"log_rotate_keep_label": "Retain Files",
"log_rotate_keep_placeholder": "e.g., 10",
"log_rotate_keep_for_time_label": "Retain Time",
"log_rotate_keep_for_time_placeholder": "e.g., 24h",
"legend_global_tls_config": "Global TLS Configuration (ACME)",
"enable_global_dns_challenge": "Enable Global DNS Challenge",
"dns_provider_label": "DNS Provider",
"acme_email_label": "ACME Email",
"acme_email_placeholder": "For certificate application and renewal notifications",
"api_token_label": "API Token (or equivalent credentials)",
"legend_ech_config": "Encrypted Client Hello (ECH)",
"enable_ech_experimental": "Enable ECH (Experimental)",
"ech_outer_sni_label": "ECH Outer SNI",
"ech_outer_sni_placeholder": "e.g., ech.example.com"
},
"dialogs": {
"unsaved_changes_title": "Unsaved Changes",
"unsaved_changes_msg": "You have unsaved changes. Are you sure you want to discard them?",
"delete_config_title": "Confirm Deletion",
"delete_config_msg": "Are you sure you want to delete \"{filename}\"?",
"stop_caddy_msg": "Are you sure you want to stop the Caddy instance?",
"reload_caddy_msg": "Are you sure you want to reload Caddy config?",
"logout_msg": "Are you sure you want to log out?",
"preset_fill_title": "Fill Method",
"preset_fill_msg": "How would you like to apply the preset?",
"confirm_btn": "Confirm",
"cancel_btn": "Cancel"
},
"toasts": {
"save_success": "Configuration saved successfully.",
"save_error": "Failed to save configuration: {error}",
"reload_sent": "Reload command has been sent.",
"delete_success": "Configuration deleted successfully.",
"delete_error": "Failed to delete configuration: {error}",
"load_configs_error": "Failed to load site configs: {error}",
"load_config_detail_error": "Failed to load config details: {error}",
"error_domain_empty": "Domain name cannot be empty.",
"loading_preset": "Loading preset...",
"preset_no_data": "This preset contains no data.",
"load_preset_error": "Failed to load preset: {error}",
"preset_fill_success": "Preset \"{presetName}\" filled successfully.",
"no_presets_available": "No applicable presets available for this section.",
"logout_processing": "Logging out...",
"error_username_empty": "Username cannot be empty.",
"error_password_empty": "Password cannot be empty.",
"login_success": "Login successful! Redirecting...",
"login_error_generic": "Login failed. Please check your credentials.",
"init_error_mismatch": "Passwords do not match.",
"init_error_short": "Password must be at least {minLength} characters long.",
"init_success": "Setup complete! Redirecting to login...",
"init_error_generic": "Initialization failed. Please try again.",
"error_all_fields_required": "All fields are required.",
"pwd_reset_success": "Password reset successfully. Please log in with your new password."
}
}