From f3d394a0613cf88730fadf612c6b366be12e87ff Mon Sep 17 00:00:00 2001 From: Mohammad Foroughi Date: Sun, 30 Oct 2022 06:04:56 +0330 Subject: [PATCH] update: translate xray configuration in setting page --- web/html/xui/setting.html | 2 +- web/translation/translate.en_US.toml | 10 ++++++---- web/translation/translate.zh_Hans.toml | 4 +++- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/web/html/xui/setting.html b/web/html/xui/setting.html index 9f2569f0..c7c40fb8 100644 --- a/web/html/xui/setting.html +++ b/web/html/xui/setting.html @@ -94,7 +94,7 @@ - + diff --git a/web/translation/translate.en_US.toml b/web/translation/translate.en_US.toml index 798ffe5c..4c4e2123 100644 --- a/web/translation/translate.en_US.toml +++ b/web/translation/translate.en_US.toml @@ -54,7 +54,9 @@ "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 +"oldUsername" = "Current Username" +"currentPassword" = "Current Password" +"newUsername" = "New Username" +"newPassword" = "New Password" +"xrayConfigTemplate" = "xray Configuration Template" #xray 配置模版 +"xrayConfigTemplateDesc" = "Generate the final xray configuration file based on this template, restart the panel to take effect" #以该模版为基础生成最终的 xray 配置文件,重启面板生效 \ No newline at end of file diff --git a/web/translation/translate.zh_Hans.toml b/web/translation/translate.zh_Hans.toml index f4edb572..b10e00fd 100644 --- a/web/translation/translate.zh_Hans.toml +++ b/web/translation/translate.zh_Hans.toml @@ -56,4 +56,6 @@ "oldUsername" = "原用户名" "currentPassword" = "原密码" "newUsername" = "新用户名" -"newPassword" = "新密码" \ No newline at end of file +"newPassword" = "新密码" +"xrayConfigTemplate" = "xray 配置模版" +"xrayConfigTemplateDesc" = "以该模版为基础生成最终的 xray 配置文件,重启面板生效" \ No newline at end of file