Skip to content

Commit a6f5a42

Browse files
committed
feat(localization): add outbound configuration and validation strings
1 parent 5ec161e commit a6f5a42

4 files changed

Lines changed: 237 additions & 1 deletion

File tree

dashboard/public/statics/locales/en.json

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2031,6 +2031,25 @@
20312031
"decryption": "Decryption",
20322032
"flow": "Flow",
20332033
"sendThrough": "Send through",
2034+
"sendThroughLabel": "Send Through (local IP)",
2035+
"serverAddress": "Address",
2036+
"uuid": "UUID",
2037+
"encryption": "Encryption",
2038+
"alterId": "Alter ID",
2039+
"method": "Method",
2040+
"password": "Password",
2041+
"serverName": "Server Name (SNI)",
2042+
"fingerprint": "TLS Fingerprint",
2043+
"alpn": "ALPN Protocols",
2044+
"allowInsecure": "Allow Insecure",
2045+
"allowInsecureHint": "Skip certificate verification (not recommended)",
2046+
"publicKey": "Server Public Key",
2047+
"shortId": "Short ID",
2048+
"spiderX": "SpiderX Path",
2049+
"network": "Transport Protocol",
2050+
"path": "Path",
2051+
"host": "Host Header",
2052+
"serviceName": "Service Name",
20342053
"streamSettingsJson": "Stream settings (JSON)",
20352054
"curvePreferencesPlaceholder": "Select TLS curves (ECDHE)",
20362055
"curvePreferencesHint": "Only documented Xray curve names can be added. Unsupported values from JSON are shown above and can be removed.",
@@ -2419,7 +2438,38 @@
24192438
"forceQueryDefault": "Default"
24202439
},
24212440
"realityUnavailableTransport": "Reality (not available for this transport)",
2422-
"tlsSettings": "TLS Settings"
2441+
"tlsSettings": "TLS Settings",
2442+
"realitySettings": "Reality Settings",
2443+
"endpointSection": "Remote server",
2444+
"streamSection": "Stream & Security",
2445+
"wsSettings": "WebSocket Settings",
2446+
"grpcSettings": "gRPC Settings",
2447+
"xhttpSettings": "XHTTP Settings",
2448+
"muxSection": "Multiplexing (Mux)",
2449+
"mux": {
2450+
"enabled": "Enable Mux",
2451+
"enabledHint": "Multiplex multiple streams over one connection",
2452+
"concurrency": "Concurrency",
2453+
"xudpConcurrency": "XUDP Concurrency",
2454+
"xudpProxyUDP443": "UDP Port 443 Handling"
2455+
},
2456+
"proxySection": "Chain Proxy",
2457+
"proxy": {
2458+
"tag": "Route Through Outbound Tag",
2459+
"transportLayer": "Transport Layer Proxy",
2460+
"transportLayerHint": "Also proxy the transport layer stream"
2461+
},
2462+
"validation": {
2463+
"tagRequired": "Enter a tag for this outbound.",
2464+
"addressRequired": "Server address is required.",
2465+
"portInvalid": "Enter a valid port (1–65535).",
2466+
"uuidRequired": "UUID is required.",
2467+
"passwordRequired": "Password is required.",
2468+
"methodRequired": "Cipher method is required.",
2469+
"wireguardSecretRequired": "WireGuard secret key is required.",
2470+
"inboundTagRequired": "Inbound tag is required for loopback.",
2471+
"requiredFieldsTitle": "Required fields missing"
2472+
}
24232473
},
24242474
"routing": {
24252475
"outbound": "Outbound",

dashboard/public/statics/locales/fa.json

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1945,6 +1945,25 @@
19451945
"decryption": "رمزگشایی",
19461946
"flow": "جریان (Flow)",
19471947
"sendThrough": "ارسال از طریق",
1948+
"sendThroughLabel": "ارسال از طریق (IP محلی)",
1949+
"serverAddress": "آدرس",
1950+
"uuid": "UUID",
1951+
"encryption": "رمزنگاری",
1952+
"alterId": "شناسهٔ جایگزین (Alter ID)",
1953+
"method": "روش رمزنگاری",
1954+
"password": "رمز عبور",
1955+
"serverName": "نام سرور (SNI)",
1956+
"fingerprint": "اثر انگشت TLS",
1957+
"alpn": "پروتکل‌های ALPN",
1958+
"allowInsecure": "مجاز کردن ناامن",
1959+
"allowInsecureHint": "رد تأیید گواهی (توصیه نمی‌شود)",
1960+
"publicKey": "کلید عمومی سرور",
1961+
"shortId": "شناسهٔ کوتاه",
1962+
"spiderX": "مسیر SpiderX",
1963+
"network": "پروتکل حمل",
1964+
"path": "مسیر",
1965+
"host": "هدر Host",
1966+
"serviceName": "نام سرویس",
19481967
"streamSettingsJson": "تنظیمات استریم (JSON)",
19491968
"curvePreferencesPlaceholder": "انتخاب منحنی‌های TLS (ECDHE)",
19501969
"curvePreferencesHint": "فقط نام‌های منحنی مستندشدهٔ Xray قابل افزودن‌اند. مقادیر نامعتبر از JSON بالا نشان داده می‌شوند و می‌توان حذفشان کرد.",
@@ -2319,6 +2338,49 @@
23192338
"domainPlaceholder": "geosite:cn\ndomain:example.com",
23202339
"addRule": "افزودن قانون",
23212340
"removeRule": "حذف قانون"
2341+
},
2342+
"ech": {
2343+
"sectionTitle": "ECH (Client Hello رمزنگاری‌شده)",
2344+
"sectionHint": "کلیدها و رفتار ECH کلاینت را پیکربندی کنید.",
2345+
"configList": "فهرست پیکربندی ECH",
2346+
"forceQuery": "پرسش اجباری ECH",
2347+
"forceQueryDefault": "پیش‌فرض"
2348+
},
2349+
"realityUnavailableTransport": "Reality (برای این حمل در دسترس نیست)",
2350+
"tlsSettings": "تنظیمات TLS",
2351+
"realitySettings": "تنظیمات Reality",
2352+
"keepAtLeastOne": "حداقل یک خروجی الزامی است.",
2353+
"endpointSection": "سرور راه‌دور",
2354+
"streamSection": "استریم و امنیت",
2355+
"wsSettings": "تنظیمات WebSocket",
2356+
"grpcSettings": "تنظیمات gRPC",
2357+
"xhttpSettings": "تنظیمات XHTTP",
2358+
"uriImportFailed": "تجزیهٔ لینک اشتراک‌گذاری ناموفق بود.",
2359+
"jsonInvalid": "قبل از ترک تب JSON، خطاها را برطرف کنید.",
2360+
"muxSection": "چندگانه‌سازی (Mux)",
2361+
"mux": {
2362+
"enabled": "فعال‌سازی Mux",
2363+
"enabledHint": "چند جریان را روی یک اتصال ادغام کنید",
2364+
"concurrency": "هم‌زمانی",
2365+
"xudpConcurrency": "هم‌زمانی XUDP",
2366+
"xudpProxyUDP443": "مدیریت پورت UDP 443"
2367+
},
2368+
"proxySection": "پروکسی زنجیره‌ای",
2369+
"proxy": {
2370+
"tag": "مسیریابی از طریق برچسب خروجی",
2371+
"transportLayer": "پروکسی لایهٔ حمل",
2372+
"transportLayerHint": "لایهٔ حمل استریم را نیز پروکسی کنید"
2373+
},
2374+
"validation": {
2375+
"tagRequired": "یک برچسب برای این خروجی وارد کنید.",
2376+
"addressRequired": "آدرس سرور الزامی است.",
2377+
"portInvalid": "یک پورت معتبر وارد کنید (۱–۶۵۵۳۵).",
2378+
"uuidRequired": "UUID الزامی است.",
2379+
"passwordRequired": "رمز عبور الزامی است.",
2380+
"methodRequired": "روش رمزنگاری الزامی است.",
2381+
"wireguardSecretRequired": "کلید خصوصی وایرگارد الزامی است.",
2382+
"inboundTagRequired": "برچسب ورودی برای loopback الزامی است.",
2383+
"requiredFieldsTitle": "فیلدهای الزامی خالی هستند"
23222384
}
23232385
},
23242386
"routing": {

dashboard/public/statics/locales/ru.json

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1919,6 +1919,25 @@
19191919
"decryption": "Расшифрование",
19201920
"flow": "Поток (Flow)",
19211921
"sendThrough": "Отправлять через",
1922+
"sendThroughLabel": "Отправлять через (локальный IP)",
1923+
"serverAddress": "Адрес",
1924+
"uuid": "UUID",
1925+
"encryption": "Шифрование",
1926+
"alterId": "Alter ID",
1927+
"method": "Метод шифрования",
1928+
"password": "Пароль",
1929+
"serverName": "Имя сервера (SNI)",
1930+
"fingerprint": "TLS-отпечаток",
1931+
"alpn": "Протоколы ALPN",
1932+
"allowInsecure": "Разрешить небезопасное",
1933+
"allowInsecureHint": "Пропустить проверку сертификата (не рекомендуется)",
1934+
"publicKey": "Открытый ключ сервера",
1935+
"shortId": "Short ID",
1936+
"spiderX": "Путь SpiderX",
1937+
"network": "Транспортный протокол",
1938+
"path": "Путь",
1939+
"host": "Заголовок Host",
1940+
"serviceName": "Имя сервиса",
19221941
"streamSettingsJson": "Поток (JSON)",
19231942
"curvePreferencesPlaceholder": "Выберите кривые TLS (ECDHE)",
19241943
"curvePreferencesHint": "Можно добавлять только документированные имена кривых Xray. Неподдерживаемые значения из JSON показаны выше — их можно удалить.",
@@ -2293,6 +2312,49 @@
22932312
"domainPlaceholder": "geosite:cn\ndomain:example.com",
22942313
"addRule": "Добавить правило",
22952314
"removeRule": "Удалить правило"
2315+
},
2316+
"ech": {
2317+
"sectionTitle": "ECH (Encrypted Client Hello)",
2318+
"sectionHint": "Настройте клиентские ключи и поведение ECH.",
2319+
"configList": "Список конфигурации ECH",
2320+
"forceQuery": "Принудительный запрос ECH",
2321+
"forceQueryDefault": "По умолчанию"
2322+
},
2323+
"realityUnavailableTransport": "Reality (недоступно для этого транспорта)",
2324+
"tlsSettings": "Настройки TLS",
2325+
"realitySettings": "Настройки Reality",
2326+
"keepAtLeastOne": "Необходим хотя бы один исходящий.",
2327+
"endpointSection": "Удалённый сервер",
2328+
"streamSection": "Поток и безопасность",
2329+
"wsSettings": "Настройки WebSocket",
2330+
"grpcSettings": "Настройки gRPC",
2331+
"xhttpSettings": "Настройки XHTTP",
2332+
"uriImportFailed": "Не удалось разобрать ссылку.",
2333+
"jsonInvalid": "Исправьте ошибки JSON перед выходом из вкладки JSON.",
2334+
"muxSection": "Мультиплексирование (Mux)",
2335+
"mux": {
2336+
"enabled": "Включить Mux",
2337+
"enabledHint": "Объединить несколько потоков в одно соединение",
2338+
"concurrency": "Параллелизм",
2339+
"xudpConcurrency": "Параллелизм XUDP",
2340+
"xudpProxyUDP443": "Обработка UDP-порта 443"
2341+
},
2342+
"proxySection": "Цепочка прокси",
2343+
"proxy": {
2344+
"tag": "Маршрутизировать через тег исходящего",
2345+
"transportLayer": "Прокси транспортного уровня",
2346+
"transportLayerHint": "Также проксировать поток транспортного уровня"
2347+
},
2348+
"validation": {
2349+
"tagRequired": "Введите тег для этого исходящего.",
2350+
"addressRequired": "Адрес сервера обязателен.",
2351+
"portInvalid": "Введите допустимый порт (1–65535).",
2352+
"uuidRequired": "UUID обязателен.",
2353+
"passwordRequired": "Пароль обязателен.",
2354+
"methodRequired": "Метод шифрования обязателен.",
2355+
"wireguardSecretRequired": "Секретный ключ WireGuard обязателен.",
2356+
"inboundTagRequired": "Тег входящего обязателен для loopback.",
2357+
"requiredFieldsTitle": "Не заполнены обязательные поля"
22962358
}
22972359
},
22982360
"routing": {

dashboard/public/statics/locales/zh.json

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1992,6 +1992,25 @@
19921992
"decryption": "解密",
19931993
"flow": "流 (Flow)",
19941994
"sendThrough": "发送经过",
1995+
"sendThroughLabel": "发送经过(本地 IP)",
1996+
"serverAddress": "地址",
1997+
"uuid": "UUID",
1998+
"encryption": "加密",
1999+
"alterId": "Alter ID",
2000+
"method": "加密方式",
2001+
"password": "密码",
2002+
"serverName": "服务器名称 (SNI)",
2003+
"fingerprint": "TLS 指纹",
2004+
"alpn": "ALPN 协议",
2005+
"allowInsecure": "允许不安全",
2006+
"allowInsecureHint": "跳过证书验证(不推荐)",
2007+
"publicKey": "服务器公钥",
2008+
"shortId": "Short ID",
2009+
"spiderX": "SpiderX 路径",
2010+
"network": "传输协议",
2011+
"path": "路径",
2012+
"host": "Host 头",
2013+
"serviceName": "服务名称",
19952014
"streamSettingsJson": "流设置(JSON)",
19962015
"curvePreferencesPlaceholder": "选择 TLS 曲线(ECDHE)",
19972016
"curvePreferencesHint": "只能添加 Xray 文档中的曲线名称。来自 JSON 的不受支持值会显示在上方,可移除。",
@@ -2366,6 +2385,49 @@
23662385
"domainPlaceholder": "geosite:cn\ndomain:example.com",
23672386
"addRule": "添加规则",
23682387
"removeRule": "删除规则"
2388+
},
2389+
"ech": {
2390+
"sectionTitle": "ECH(加密客户端问候)",
2391+
"sectionHint": "配置 ECH 客户端密钥和行为。",
2392+
"configList": "ECH 配置列表",
2393+
"forceQuery": "ECH 强制查询",
2394+
"forceQueryDefault": "默认"
2395+
},
2396+
"realityUnavailableTransport": "Reality(此传输不可用)",
2397+
"tlsSettings": "TLS 设置",
2398+
"realitySettings": "Reality 设置",
2399+
"keepAtLeastOne": "至少需要一个出站。",
2400+
"endpointSection": "远程服务器",
2401+
"streamSection": "流与安全",
2402+
"wsSettings": "WebSocket 设置",
2403+
"grpcSettings": "gRPC 设置",
2404+
"xhttpSettings": "XHTTP 设置",
2405+
"uriImportFailed": "无法解析该分享链接。",
2406+
"jsonInvalid": "离开 JSON 标签页前请修复错误。",
2407+
"muxSection": "多路复用 (Mux)",
2408+
"mux": {
2409+
"enabled": "启用 Mux",
2410+
"enabledHint": "将多个流复用到一个连接上",
2411+
"concurrency": "并发数",
2412+
"xudpConcurrency": "XUDP 并发数",
2413+
"xudpProxyUDP443": "UDP 端口 443 处理"
2414+
},
2415+
"proxySection": "链式代理",
2416+
"proxy": {
2417+
"tag": "通过出站标签路由",
2418+
"transportLayer": "传输层代理",
2419+
"transportLayerHint": "同时代理传输层流"
2420+
},
2421+
"validation": {
2422+
"tagRequired": "请为此出站输入标签。",
2423+
"addressRequired": "服务器地址为必填项。",
2424+
"portInvalid": "请输入有效端口(1–65535)。",
2425+
"uuidRequired": "UUID 为必填项。",
2426+
"passwordRequired": "密码为必填项。",
2427+
"methodRequired": "加密方式为必填项。",
2428+
"wireguardSecretRequired": "WireGuard 私钥为必填项。",
2429+
"inboundTagRequired": "Loopback 需要入站标签。",
2430+
"requiredFieldsTitle": "缺少必填字段"
23692431
}
23702432
},
23712433
"routing": {

0 commit comments

Comments
 (0)