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": "取消",
"save": "保存"
},
"address": "地址",
"address_placeholder": "服务器地址",
"bandwidth_placeholder": "请输入带宽,留空则使用BBR",
"basic": "基础配置",
"cancel": "取消",
"cert_dns_env": "DNS 环境变量",
"cert_dns_provider": "DNS 提供商",
"cert_mode": "证书模式",
"cipher": "加密算法",
"city": "城市",
"config": {
"actions": {
"cancel": "取消",
"save": "保存"
},
"communicationKey": "通信密钥",
"communicationKeyDescription": "用于节点鉴权。",
"description": "管理节点通信密钥、拉取/推送间隔。",
"dynamicMultiplier": "动态倍率",
"dynamicMultiplierDescription": "按时间段设置倍率,用于调节流量或计费。",
"endTime": "结束时间",
"inputPlaceholder": "请输入",
"multiplier": "倍率",
"nodePullInterval": "节点拉取间隔",
"nodePullIntervalDescription": "节点拉取配置的频率(秒)。",
"nodePushInterval": "节点推送间隔",
"nodePushIntervalDescription": "节点上报状态的频率(秒)。",
"reset": "重置",
"save": "保存",
"saveSuccess": "保存成功",
"startTime": "开始时间",
"timeSlot": "时间段",
"title": "节点配置"
},
"confirm": "确认",
"confirmDeleteDesc": "该操作不可撤销。",
"confirmDeleteTitle": "确认删除该服务器?",
@@ -114,6 +97,51 @@
"security_short_id_placeholder": "16 位内十六进制",
"security_sni": "SNI",
"select_encryption_method": "选择加密方式",
"server_config": {
"description": "管理节点通信密钥、拉取/推送间隔。",
"dynamic_multiplier": "动态倍率",
"dynamic_multiplier_desc": "按时间段设置倍率,用于调节流量或计费。",
"fields": {
"block_rules_placeholder": "每行一个域名规则,支持:\nkeyword:google (关键字匹配)\nsuffix:google.com (后缀匹配)\nregex:.*\\.example\\.com$ (正则匹配)\nexample.com (完全匹配)",
"communication_key": "通信密钥",
"communication_key_desc": "用于节点鉴权。",
"communication_key_placeholder": "请输入",
"dns_config": "DNS 配置",
"dns_domains_placeholder": "每行一个域名规则,支持:\nkeyword:google (关键字匹配)\nsuffix:google.com (后缀匹配)\nregex:.*\\.example\\.com$ (正则匹配)\nexample.com (完全匹配)",
"dns_proto_placeholder": "选择类型",
"end_time": "结束时间",
"ip_strategy": "IP 策略",
"ip_strategy_desc": "选择网络连接时的 IP 版本偏好",
"ip_strategy_ipv4": "优先 IPv4",
"ip_strategy_ipv6": "优先 IPv6",
"ip_strategy_placeholder": "选择 IP 策略",
"multiplier": "倍率",
"node_pull_interval": "节点拉取间隔",
"node_pull_interval_desc": "节点拉取配置的频率(秒)。",
"node_push_interval": "节点推送间隔",
"node_push_interval_desc": "节点上报状态的频率(秒)。",
"outbound_address_placeholder": "服务器地址",
"outbound_name_placeholder": "配置名称",
"outbound_password_placeholder": "密码 (可选)",
"outbound_port_placeholder": "端口号",
"outbound_protocol_placeholder": "选择协议",
"outbound_rules_placeholder": "每行一个规则,支持:\nkeyword:google (关键字匹配)\nsuffix:google.com (后缀匹配)\nregex:.*\\.example\\.com$ (正则匹配)\nexample.com (完全匹配)\n留空表示默认路由",
"reset": "重置",
"save": "保存",
"start_time": "开始时间",
"time_slot": "时间段",
"traffic_report_threshold": "流量上报阈值",
"traffic_report_threshold_desc": "设置流量上报的最小阈值,只有当流量超过此值时才会上报。设置为 0 或留空表示上报所有流量。"
},
"saveSuccess": "保存成功",
"tabs": {
"basic": "基础配置",
"block": "禁止规则",
"dns": "DNS 配置",
"outbound": "出站规则"
},
"title": "节点配置"
},
"server_key": "服务器密钥",
"service_name": "服务名",
"sorted_success": "排序成功",