diff --git a/README.zh.md b/README.zh.md
index fc7bf460f..fd7f7691f 100644
--- a/README.zh.md
+++ b/README.zh.md
@@ -57,7 +57,7 @@ certbot certonly --standalone --agree-tos --register-unsafely-without-email -d y
certbot renew --dry-run
```
-***Tip:*** *管理脚本具有Certbot。使用 `x-ui` 命令, 选择 `SSL Certificate Management`.*
+***Tip:*** *管理脚本具有 Certbot 。使用 `x-ui` 命令, 选择 `SSL Certificate Management`.*
@@ -243,7 +243,7 @@ systemctl restart x-ui
### 信息
- **端口:** 2053
-- **用户名 & 密码:** It will be generated randomly if you skip modifying.
+- **用户名 & 密码:** 当您跳过设置时,此项会随机生成。
- **数据库路径:**
- /etc/x-ui/x-ui.db
- **Xray 配置路径:**
@@ -392,7 +392,7 @@ Web 面板通过 Telegram Bot 支持每日流量、面板登录、数据库备
#### 使用
-- `/login` with `POST` user data: `{username: '', password: ''}` for login
+- `/login` 使用 `POST` 用户名称 & 密码: `{username: '', password: ''}` 登录
- `/panel/api/inbounds` 以下操作的基础:
| 方法 | 路径 | 操作 |
diff --git a/web/html/xui/inbound_info_modal.html b/web/html/xui/inbound_info_modal.html
index e679bbd07..f85fc7d3c 100644
--- a/web/html/xui/inbound_info_modal.html
+++ b/web/html/xui/inbound_info_modal.html
@@ -143,7 +143,7 @@
- [[ sizeFormat(infoModal.clientSettings.totalGB - infoModal.clientStats.up - infoModal.clientStats.down) ]]
+ [[ getRemStats() ]]
|
@@ -423,7 +423,11 @@
},
statsColor(stats) {
return usageColor(stats.up + stats.down, app.trafficDiff, stats.total);
- }
+ },
+ getRemStats() {
+ remained = this.infoModal.clientStats.total - this.infoModal.clientStats.up - this.infoModal.clientStats.down;
+ return remained>0 ? sizeFormat(remained) : '-';
+ },
},
});
diff --git a/web/translation/translate.zh_Hans.toml b/web/translation/translate.zh_Hans.toml
index 979deb0e1..2e33025db 100644
--- a/web/translation/translate.zh_Hans.toml
+++ b/web/translation/translate.zh_Hans.toml
@@ -30,8 +30,8 @@
"sure" = "确定"
"encryption" = "加密"
"transmission" = "传输"
-"host" = "Host"
-"path" = "Path"
+"host" = "主机"
+"path" = "路径"
"camouflage" = "伪装"
"status" = "状态"
"enabled" = "开启"
@@ -321,7 +321,7 @@
"generalConfigs" = "常规配置"
"generalConfigsDesc" = "这些选项将决定常规配置"
"logConfigs" = "日志"
-"logConfigsDesc" = "日志可能会影响服务器的效率,建议仅在需要时启用"
+"logConfigsDesc" = "日志可能会影响服务器的性能,建议仅在需要时启用"
"blockConfigs" = "防护屏蔽"
"blockConfigsDesc" = "这些选项将阻止用户连接到特定协议和网站"
"blockCountryConfigs" = "屏蔽国家/地区"
@@ -423,7 +423,7 @@
"up" = "向上"
"down" = "向下"
"source" = "来源"
-"dest" = "目的地"
+"dest" = "目的地址"
"inbound" = "入站"
"outbound" = "出站"
"balancer" = "负载均衡"
|