From 7c72aac19b7f2c3a034ad2f4528b932f2889a0b8 Mon Sep 17 00:00:00 2001 From: Mohammad Foroughi Date: Sun, 30 Oct 2022 05:58:16 +0330 Subject: [PATCH] translate user --- web/html/xui/setting.html | 11 ++++++----- web/translation/translate.en_US.toml | 4 ++++ web/translation/translate.zh_Hans.toml | 4 ++++ 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/web/html/xui/setting.html b/web/html/xui/setting.html index e544abdd..9f2569f0 100644 --- a/web/html/xui/setting.html +++ b/web/html/xui/setting.html @@ -72,22 +72,23 @@ - + - + - + - + - 修改 + + {{ i18n "confirm" }} diff --git a/web/translation/translate.en_US.toml b/web/translation/translate.en_US.toml index 2cd9520c..798ffe5c 100644 --- a/web/translation/translate.en_US.toml +++ b/web/translation/translate.en_US.toml @@ -54,3 +54,7 @@ "privateKeyPathDesc" = "Fill in an absolute path starting with '/', restart the panel to take effect" "panelUrlPath" = "panel url root path" "panelUrlPathDesc" = "Must start with '/' and end with '/', restart the panel to take effect" +"oldUsername" = "Current Username" #原用户名 +"currentPassword" = "Current Password" #原密码 +"newUsername" = "New Username" #新用户名 +"newPassword" = "New Password" #新密码 \ No newline at end of file diff --git a/web/translation/translate.zh_Hans.toml b/web/translation/translate.zh_Hans.toml index 75c685d2..f4edb572 100644 --- a/web/translation/translate.zh_Hans.toml +++ b/web/translation/translate.zh_Hans.toml @@ -53,3 +53,7 @@ "privateKeyPathDesc" = "填写一个 '/' 开头的绝对路径,重启面板生效" "panelUrlPath" = "面板 url 根路径" "panelUrlPathDesc" = "必须以 '/' 开头,以 '/' 结尾,重启面板生效" +"oldUsername" = "原用户名" +"currentPassword" = "原密码" +"newUsername" = "新用户名" +"newPassword" = "新密码" \ No newline at end of file