From 5166f4ce3872a9db6c13a4100581abb89465608e Mon Sep 17 00:00:00 2001 From: Nima Shayanfar Date: Sun, 20 Nov 2022 00:05:06 +0330 Subject: [PATCH] added translations for streams [WIP] (#62) --- web/html/xui/form/stream/stream_http.html | 2 +- web/html/xui/form/stream/stream_kcp.html | 4 ++-- web/html/xui/form/stream/stream_quic.html | 6 +++--- web/html/xui/form/stream/stream_tcp.html | 24 +++++++++++------------ web/html/xui/form/stream/stream_ws.html | 8 ++++---- web/translation/translate.en_US.toml | 17 ++++++++++++++++ web/translation/translate.zh_Hans.toml | 16 +++++++++++++++ web/translation/translate.zh_Hant.toml | 17 ++++++++++++++++ 8 files changed, 72 insertions(+), 22 deletions(-) diff --git a/web/html/xui/form/stream/stream_http.html b/web/html/xui/form/stream/stream_http.html index d2a4bf95..ad30c45a 100644 --- a/web/html/xui/form/stream/stream_http.html +++ b/web/html/xui/form/stream/stream_http.html @@ -1,6 +1,6 @@ {{define "form/streamHTTP"}} - + diff --git a/web/html/xui/form/stream/stream_kcp.html b/web/html/xui/form/stream/stream_kcp.html index 18f89435..ff14d5b7 100644 --- a/web/html/xui/form/stream/stream_kcp.html +++ b/web/html/xui/form/stream/stream_kcp.html @@ -1,6 +1,6 @@ {{define "form/streamKCP"}} - + none(not camouflage) srtp(camouflage video call) @@ -10,7 +10,7 @@ wireguard(camouflage wireguard packages) - + diff --git a/web/html/xui/form/stream/stream_quic.html b/web/html/xui/form/stream/stream_quic.html index 8d57d662..942461ad 100644 --- a/web/html/xui/form/stream/stream_quic.html +++ b/web/html/xui/form/stream/stream_quic.html @@ -1,16 +1,16 @@ {{define "form/streamQUIC"}} - + none aes-128-gcm chacha20-poly1305 - + - + none(not camouflage) srtp(camouflage video call) diff --git a/web/html/xui/form/stream/stream_tcp.html b/web/html/xui/form/stream/stream_tcp.html index 30931fb0..a473ff58 100644 --- a/web/html/xui/form/stream/stream_tcp.html +++ b/web/html/xui/form/stream/stream_tcp.html @@ -15,18 +15,18 @@ - + - + - + - + @@ -35,9 +35,9 @@ + addon-before='{{ i18n "pages.inbounds.stream.general.name" }}'> + addon-before='{{ i18n "pages.inbounds.stream.general.value" }}'>