From 41e7201381127515f00c6de359a8b5530048dae8 Mon Sep 17 00:00:00 2001 From: Mohammad Foroughi Date: Sun, 30 Oct 2022 22:02:05 +0330 Subject: [PATCH] update: translate inbound_info --- web/html/xui/component/inbound_info.html | 46 ++++++++++++------------ web/translation/translate.en_US.toml | 10 +++++- web/translation/translate.zh_Hans.toml | 10 ++++++ 3 files changed, 42 insertions(+), 24 deletions(-) diff --git a/web/html/xui/component/inbound_info.html b/web/html/xui/component/inbound_info.html index a844fba7..b3eca115 100644 --- a/web/html/xui/component/inbound_info.html +++ b/web/html/xui/component/inbound_info.html @@ -1,23 +1,23 @@ {{define "inboundInfoStream"}} -

传输: [[ inbound.network ]]

+

{{ i18n "transmission" }}: [[ inbound.network ]]

- tls域名: [[ inbound.serverName ? inbound.serverName : "无" ]] + tls {{ i18n "domainName" }}: [[ inbound.serverName ? inbound.serverName : '{{ i18n "none" }}' ]]

- xtls域名: [[ inbound.serverName ? inbound.serverName : "无" ]] + xtls {{ i18n "domainName" }}: [[ inbound.serverName ? inbound.serverName : '{{ i18n "none" }}' ]]

{{end}} {{define "component/inboundInfoComponent"}}
-

协议: [[ dbInbound.protocol ]]

-

地址: [[ dbInbound.address ]]

-

端口: [[ dbInbound.port ]]

+

{{ i18n "protocol"}}: [[ dbInbound.protocol ]]

+

{{ i18n "pages.inbounds.address"}}: [[ dbInbound.address ]]

+

{{ i18n "pages.inbounds.port"}}: [[ dbInbound.port ]]