finish i18n for now

This commit is contained in:
wjqserver 2025-07-01 09:12:31 +08:00
parent 79e3db6078
commit d4e7f83131
5 changed files with 75 additions and 21 deletions

View file

@ -51,7 +51,8 @@
"new_password_label": "New Password (min. 8 characters)",
"confirm_new_password_label": "Confirm New Password",
"reset_password_btn": "Reset Password",
"resetting_password_btn": "Resetting..."
"resetting_password_btn": "Resetting...",
"interface_settings_title": "Interface Settings"
},
"login": {
"page_title": "Login - CaddyDash",
@ -98,7 +99,31 @@
"legend_features": "Additional Features",
"feature_log": "Enable Logging",
"feature_error_page": "Enable Custom Error Pages",
"feature_encode": "Enable Compression"
"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",
@ -135,6 +160,8 @@
"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."
"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."
}
}