feat: Update server configuration translations for multiple languages

- Added new keys for server configuration actions and descriptions in Russian, Thai, Turkish, Ukrainian, Vietnamese, Chinese (Simplified and Traditional).
- Removed outdated configuration structure and replaced it with a more organized server_config object.
- Enhanced the dynamic Inputs component to support textarea input type for better user experience.
This commit is contained in:
web
2025-09-24 06:05:24 -07:00
parent bb6671c14f
commit fc43de16f0
31 changed files with 2130 additions and 734 deletions
+52 -24
View File
@@ -1,35 +1,18 @@
{
"actions": {
"cancel": "Cancel",
"save": "Save"
},
"address": "Address",
"address_placeholder": "Server address",
"bandwidth_placeholder": "Enter bandwidth, leave empty for BBR",
"basic": "Basic Configuration",
"cancel": "Cancel",
"cert_dns_env": "DNS Environment Variables",
"cert_dns_provider": "DNS Provider",
"cert_mode": "Certificate Mode",
"cipher": "Encryption Algorithm",
"city": "City",
"config": {
"title": "Node configuration",
"description": "Manage node communication keys, pull/push intervals.",
"saveSuccess": "Saved successfully",
"communicationKey": "Communication key",
"inputPlaceholder": "Please enter",
"communicationKeyDescription": "Used for node authentication.",
"nodePullInterval": "Node pull interval",
"nodePullIntervalDescription": "How often the node pulls configuration (seconds).",
"nodePushInterval": "Node push interval",
"nodePushIntervalDescription": "How often the node pushes stats (seconds).",
"dynamicMultiplier": "Dynamic multiplier",
"dynamicMultiplierDescription": "Define time slots and multipliers to adjust traffic accounting.",
"startTime": "Start time",
"endTime": "End time",
"multiplier": "Multiplier",
"reset": "Reset",
"save": "Save",
"timeSlot": "Time slot",
"actions": {
"cancel": "Cancel",
"save": "Save"
}
},
"confirm": "Confirm",
"confirmDeleteDesc": "This action cannot be undone.",
"confirmDeleteTitle": "Delete this server?",
@@ -114,6 +97,51 @@
"security_short_id_placeholder": "Hex string (up to 16 chars)",
"security_sni": "SNI",
"select_encryption_method": "Select encryption method",
"server_config": {
"title": "Node configuration",
"description": "Manage node communication keys, pull/push intervals.",
"saveSuccess": "Saved successfully",
"dynamic_multiplier": "Dynamic multiplier",
"dynamic_multiplier_desc": "Define time slots and multipliers to adjust traffic accounting.",
"tabs": {
"basic": "Basic Configuration",
"dns": "DNS Configuration",
"outbound": "Outbound Rules",
"block": "Block Rules"
},
"fields": {
"communication_key": "Communication key",
"communication_key_placeholder": "Please enter",
"communication_key_desc": "Used for node authentication.",
"node_pull_interval": "Node pull interval",
"node_pull_interval_desc": "How often the node pulls configuration (seconds).",
"node_push_interval": "Node push interval",
"node_push_interval_desc": "How often the node pushes stats (seconds).",
"start_time": "Start time",
"end_time": "End time",
"multiplier": "Multiplier",
"reset": "Reset",
"save": "Save",
"time_slot": "Time slot",
"traffic_report_threshold": "Traffic Report Threshold",
"traffic_report_threshold_desc": "Set the minimum threshold for traffic reporting. Traffic will only be reported when it exceeds this value. Set to 0 or leave empty to report all traffic.",
"ip_strategy": "IP Strategy",
"ip_strategy_desc": "Choose IP version preference for network connections",
"ip_strategy_placeholder": "Select IP strategy",
"ip_strategy_ipv4": "Prefer IPv4",
"ip_strategy_ipv6": "Prefer IPv6",
"dns_config": "DNS Configuration",
"dns_proto_placeholder": "Select type",
"dns_domains_placeholder": "One domain rule per line, supports:\nkeyword:google (keyword matching)\nsuffix:google.com (suffix matching)\nregex:.*\\.example\\.com$ (regex matching)\nexample.com (exact matching)",
"outbound_protocol_placeholder": "Select protocol",
"outbound_name_placeholder": "Configuration name",
"outbound_address_placeholder": "Server address",
"outbound_port_placeholder": "Port number",
"outbound_password_placeholder": "Password (optional)",
"outbound_rules_placeholder": "One rule per line, supports:\nkeyword:google (keyword matching)\nsuffix:google.com (suffix matching)\nregex:.*\\.example\\.com$ (regex matching)\nexample.com (exact matching)\nLeave empty for default routing",
"block_rules_placeholder": "One domain rule per line, supports:\nkeyword:google (keyword matching)\nsuffix:google.com (suffix matching)\nregex:.*\\.example\\.com$ (regex matching)\nexample.com (exact matching)"
}
},
"server_key": "Server key",
"service_name": "Service name",
"sorted_success": "Sorted successfully",