From 294a3f46a00f45659bf1442251900ab8e35db889 Mon Sep 17 00:00:00 2001 From: Shahin <115543613+shahin-io@users.noreply.github.com> Date: Tue, 13 Feb 2024 17:38:06 +0000 Subject: [PATCH] Overall text enhancement (#892) * Update translate.zh_Hans.toml * Update translate.vi_VN.toml * Update translate.ru_RU.toml * Update translate.fa_IR.toml * Update translate.en_US.toml * Update client_bulk_modal.html * Update client.html * Update inbound.html * Update index.html * Update warp_modal.html * Update common_sider.html * Update inbounds.html * Update client_bulk_modal.html * Update inbound.html * Update client.html * Update translate.en_US.toml * Update translate.en_US.toml * Update translate.en_US.toml * Update translate.en_US.toml * Update translate.fa_IR.toml * Update translate.en_US.toml * Update translate.en_US.toml * Update translate.fa_IR.toml * Update translate.vi_VN.toml * Update translate.en_US.toml * Update translate.fa_IR.toml * Update translate.ru_RU.toml * Update translate.zh_Hans.toml * Update translate.vi_VN.toml * Update translate.ru_RU.toml * Update index.html * Update index.html * Update translate.en_US.toml * Update translate.fa_IR.toml * Update inbounds.html * Update settings.html * Update xray.html * Update translate.en_US.toml * Update translate.fa_IR.toml * Update index.html * Update index.html * Update index.html * Update index.html * Update server.go --------- Co-authored-by: Alireza Ahmadi --- web/html/xui/client_bulk_modal.html | 6 +- web/html/xui/common_sider.html | 10 +- web/html/xui/form/client.html | 6 +- web/html/xui/form/inbound.html | 6 +- web/html/xui/inbounds.html | 12 +- web/html/xui/index.html | 127 ++++++++++--------- web/html/xui/settings.html | 3 +- web/html/xui/warp_modal.html | 25 ++-- web/html/xui/xray.html | 1 + web/service/server.go | 6 +- web/translation/translate.en_US.toml | 157 ++++++++++++----------- web/translation/translate.fa_IR.toml | 165 +++++++++++++------------ web/translation/translate.ru_RU.toml | 19 ++- web/translation/translate.vi_VN.toml | 19 ++- web/translation/translate.zh_Hans.toml | 13 +- 15 files changed, 305 insertions(+), 270 deletions(-) diff --git a/web/html/xui/client_bulk_modal.html b/web/html/xui/client_bulk_modal.html index 4070d114..0bbe1ac5 100644 --- a/web/html/xui/client_bulk_modal.html +++ b/web/html/xui/client_bulk_modal.html @@ -61,13 +61,13 @@ - + GB diff --git a/web/html/xui/common_sider.html b/web/html/xui/common_sider.html index 45aa2a35..4921c54d 100644 --- a/web/html/xui/common_sider.html +++ b/web/html/xui/common_sider.html @@ -1,23 +1,23 @@ {{define "menuItems"}} - {{ i18n "menu.dashboard"}} + {{ i18n "menu.dashboard"}} - {{ i18n "menu.inbounds"}} + {{ i18n "menu.inbounds"}} - {{ i18n "menu.settings"}} + {{ i18n "menu.settings"}} - {{ i18n "menu.xray"}} + {{ i18n "menu.xray"}} - {{ i18n "menu.logout"}} + {{ i18n "menu.logout"}} {{end}} diff --git a/web/html/xui/form/client.html b/web/html/xui/form/client.html index 27a75165..7f3741c0 100644 --- a/web/html/xui/form/client.html +++ b/web/html/xui/form/client.html @@ -73,13 +73,13 @@ - + GB diff --git a/web/html/xui/form/inbound.html b/web/html/xui/form/inbound.html index 0127a4a5..7b44e80f 100644 --- a/web/html/xui/form/inbound.html +++ b/web/html/xui/form/inbound.html @@ -35,13 +35,13 @@ - + GB diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html index c9f89488..5a79db30 100644 --- a/web/html/xui/inbounds.html +++ b/web/html/xui/inbounds.html @@ -68,15 +68,15 @@ - {{ i18n "pages.inbounds.totalDownUp" }}: + {{ i18n "pages.inbounds.totalDownUp" }}: [[ sizeFormat(total.up) ]] / [[ sizeFormat(total.down) ]] - {{ i18n "pages.inbounds.totalUsage" }}: + {{ i18n "pages.inbounds.totalUsage" }}: [[ sizeFormat(total.up + total.down) ]] - {{ i18n "pages.inbounds.inboundCount" }}: + {{ i18n "pages.inbounds.inboundCount" }}: [[ dbInbounds.length ]] @@ -84,7 +84,7 @@
- {{ i18n "clients" }}: + {{ i18n "clients" }}: [[ total.clients ]]