feat: Add server form component with protocol configuration and localization support

This commit is contained in:
web
2025-08-23 09:10:05 -07:00
parent 26176a7afa
commit 217ddce60c
26 changed files with 3399 additions and 146 deletions
+23 -9
View File
@@ -1,27 +1,41 @@
{
"ADS Config": "ADS Config",
"Announcement Management": "Announcement Management",
"Application Management": "Application Management",
"Auth Control": "Auth Control",
"Balance": "Balance",
"Commerce": "Commerce",
"Commission": "Commission",
"Coupon Management": "Coupon Management",
"Dashboard": "Dashboard",
"Document Management": "Document Management",
"Finance": "Finance",
"Email": "Email",
"Gift": "Gift",
"Login": "Login",
"Logs & Analytics": "Logs & Analytics",
"Maintenance": "Maintenance",
"Marketing Management": "Marketing Management",
"Node Management": "Node Management",
"Order Management": "Order Management",
"Payment Config": "Payment Config",
"Product Management": "Product Management",
"Protocol Management": "Protocol Management",
"Rule Management": "Rule Management",
"Server": "Server",
"Register": "Register",
"Reset Subscribe": "Reset Subscribe",
"SMS": "SMS",
"Server Management": "Server Management",
"Settings": "Settings",
"Server Traffic": "Server Traffic",
"Subscribe": "Subscribe",
"Subscribe Config": "Subscribe Config",
"Subscribe Traffic": "Subscribe Traffic",
"System": "System",
"System Config": "System Config",
"System Management": "System Management",
"System Tool": "System Tool",
"Ticket Management": "Ticket Management",
"User": "User",
"User Detail": "User Detail",
"User Management": "User Management"
"User Management": "User Management",
"Users & Support": "Users & Support"
}
+37
View File
@@ -0,0 +1,37 @@
{
"cancel": "Cancel",
"confirm": "Confirm",
"confirmDeleteDesc": "This action cannot be undone.",
"confirmDeleteTitle": "Delete this node?",
"copied": "Copied successfully",
"copy": "Copy",
"create": "Create",
"created": "Created successfully",
"delete": "Delete",
"deleted": "Deleted successfully",
"drawerCreateTitle": "Create Node",
"drawerEditTitle": "Edit Node",
"edit": "Edit",
"enabled": "Enabled",
"enabled_off": "Disabled",
"enabled_on": "Enabled",
"errors": {
"nameRequired": "Name is required",
"serverRequired": "Please select a server",
"serverAddrRequired": "Entry address is required",
"protocolRequired": "Please select a protocol",
"portRange": "Port must be 165535"
},
"name": "Name",
"pageTitle": "Nodes",
"port": "Port",
"protocol": "Protocol",
"select_protocol": "Search protocol…",
"select_server": "Search server…",
"server": "Server",
"server_addr": "Entry address",
"server_addr_port": "Address:Port",
"tags": "Tags",
"tags_placeholder": "Type and press Enter",
"updated": "Updated successfully"
}
+102
View File
@@ -0,0 +1,102 @@
{
"cancel": "Cancel",
"city": "City",
"config": {
"title": "Node configuration",
"description": "Manage node communication keys, pull/push intervals, and dynamic multipliers.",
"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?",
"congestion_controller": "Congestion controller",
"copied": "Copied",
"copy": "Copy",
"country": "Country",
"cpu": "CPU",
"create": "Create",
"created": "Created successfully",
"delete": "Delete",
"deleted": "Deleted successfully",
"disable_sni": "Disable SNI",
"disk": "Disk",
"drawerCreateTitle": "Create Server",
"drawerEditTitle": "Edit Server",
"edit": "Edit",
"enabled": "Enabled",
"encryption_method": "Encryption method",
"expireTime": "Expire time",
"expired": "Expired",
"flow": "Flow",
"hop_interval": "Hop interval",
"hop_ports": "Hop ports",
"hop_ports_placeholder": "e.g. 443,8443,10443",
"host": "Host",
"id": "ID",
"ipAddresses": "IP addresses",
"memory": "Memory",
"name": "Name",
"noData": "No data",
"notAvailable": "N/A",
"obfs_password": "Obfuscation password",
"obfs_password_placeholder": "Enter obfuscation password",
"offline": "Offline",
"online": "Online",
"onlineUsers": "Online users",
"pageTitle": "Servers",
"path": "Path",
"please_select": "Please select",
"port": "Port",
"port_placeholder": "Enter port",
"protocols": "Protocols",
"reduce_rtt": "Reduce RTT",
"security_allow_insecure": "Allow insecure",
"security_fingerprint": "Fingerprint",
"security_private_key": "Reality private key",
"security_private_key_placeholder": "Enter private key",
"security_public_key": "Reality public key",
"security_public_key_placeholder": "Enter public key",
"security_server_address": "Reality server address",
"security_server_address_placeholder": "e.g. 1.2.3.4 or domain",
"security_server_port": "Reality server port",
"security_server_port_placeholder": "Enter port",
"security_short_id": "Reality short ID",
"security_short_id_placeholder": "Hex string (up to 16 chars)",
"security_sni": "SNI",
"security_title": "Security",
"select_encryption_method": "Select encryption method",
"serverAddress": "Server",
"server_addr": "Server address",
"server_key": "Server key",
"service_name": "Service name",
"status": "Status",
"subscribeId": "Subscription ID",
"subscription": "Subscription",
"traffic": "Traffic",
"transport_title": "Transport",
"udp_relay_mode": "UDP relay mode",
"unitSecondsShort": "s",
"unlimited": "Unlimited",
"updated": "Updated successfully",
"user": "User",
"validation_failed": "Validation failed. Please check the form."
}