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 ]]
host: [[ inbound.host ]]
- host: 无
+ {{ i18n "host" }}: {{ i18n "none" }}
path: [[ inbound.path ]]
- path: 无
+ {{ i18n "path" }}: {{ i18n "none" }}
- quic 加密: [[ inbound.quicSecurity ]]
- quic 密码: [[ inbound.quicKey ]]
- quic 伪装: [[ inbound.quicType ]]
+ quic {{ i18n "encryption" }}: [[ inbound.quicSecurity ]]
+ quic {{ i18n "password" }}: [[ inbound.quicKey ]]
+ quic {{ i18n "camouflage" }}: [[ inbound.quicType ]]
- kcp 加密: [[ inbound.kcpType ]]
- kcp 密码: [[ inbound.kcpSeed ]]
+ kcp {{ i18n "encryption" }}: [[ inbound.kcpType ]]
+ kcp {{ i18n "password" }}: [[ inbound.kcpSeed ]]
@@ -25,26 +25,26 @@
- tls: 开启
- xtls: 开启
+ tls: {{ i18n "turnOn" }}
+ xtls: {{ i18n "turnOn" }}
- tls: 关闭
+ tls: {{ i18n "closure" }}
- 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 ]]
uuid: [[ inbound.uuid ]]
@@ -57,22 +57,22 @@
- 密码: [[ inbound.password ]]
+ {{ i18n "password"}}: [[ inbound.password ]]
- 加密: [[ inbound.method ]]
- 密码: [[ inbound.password ]]
+ {{ i18n "encryption"}}: [[ inbound.method ]]
+ {{ i18n "password"}}: [[ inbound.password ]]
- 用户名: [[ inbound.username ]]
- 密码: [[ inbound.password ]]
+ {{ i18n "username"}}: [[ inbound.username ]]
+ {{ i18n "password"}}: [[ inbound.password ]]
- 用户名: [[ inbound.username ]]
- 密码: [[ inbound.password ]]
+ {{ i18n "username"}}: [[ inbound.username ]]
+ {{ i18n "password"}}: [[ inbound.password ]]
diff --git a/web/translation/translate.en_US.toml b/web/translation/translate.en_US.toml
index eb91e320..da8f6803 100644
--- a/web/translation/translate.en_US.toml
+++ b/web/translation/translate.en_US.toml
@@ -26,7 +26,14 @@
"reset" = "reset"
"copySuccess" = "Copy successfully"
"sure" = "Sure"
-
+"encryption" = "encryption"
+"transmission" = "transmission"
+"host" = "host"
+"path" = "path"
+"camouflage" = "camouflage"
+"turnOn" = "turn on"
+"closure" = "closure"
+"domainName" = "domain name"
[menu]
"dashboard" = "System Status"
@@ -91,6 +98,7 @@
"deleteInboundContent" = "Are you sure you want to delete inbound?"
"resetTrafficContent" = "Are you sure you want to reset traffic?"
"copyLink" = "Copy Link"
+"address" = "address"
[pages.setting]
"title" = "Setting"
diff --git a/web/translation/translate.zh_Hans.toml b/web/translation/translate.zh_Hans.toml
index 2b51d74d..bb88e6f9 100644
--- a/web/translation/translate.zh_Hans.toml
+++ b/web/translation/translate.zh_Hans.toml
@@ -26,6 +26,14 @@
"reset" = "重置"
"copySuccess" = "复制成功"
"sure" = "确定"
+"encryption" = "加密"
+"transmission" = "传输"
+"host" = "主持人"
+"path" = "小路"
+"camouflage" = "伪装"
+"turnOn" = "开启"
+"closure" = "关闭"
+"domainName" = "域名"
[menu]
"dashboard" = "系统状态"
@@ -89,6 +97,8 @@
"deleteInboundContent" = "确定要删除入站吗?"
"resetTrafficContent" = "确定要重置流量吗?"
"copyLink" = "复制链接"
+"address" = "地址"
+