update: translate xray configuration in setting page

This commit is contained in:
Mohammad Foroughi
2022-10-30 06:04:56 +03:30
parent 7c72aac19b
commit f3d394a061
3 changed files with 10 additions and 6 deletions

View File

@@ -94,7 +94,7 @@
</a-tab-pane>
<a-tab-pane key="3" tab='{{ i18n "pages.setting.xrayConfiguration"}}'>
<a-list item-layout="horizontal" style="background: white">
<setting-list-item type="textarea" title="xray 配置模版" desc="以该模版为基础生成最终的 xray 配置文件,重启面板生效" v-model="allSetting.xrayTemplateConfig"></setting-list-item>
<setting-list-item type="textarea" title='{{ i18n "pages.setting.xrayConfigTemplate"}}' desc='{{ i18n "pages.setting.xrayConfigTemplateDesc"}}' v-model="allSetting.xrayTemplateConfig"></setting-list-item>
</a-list>
</a-tab-pane>
<a-tab-pane key="4" tab='{{ i18n "pages.setting.TGReminder"}}'>

View File

@@ -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" #新密码
"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 配置文件,重启面板生效

View File

@@ -56,4 +56,6 @@
"oldUsername" = "原用户名"
"currentPassword" = "原密码"
"newUsername" = "新用户名"
"newPassword" = "新密码"
"newPassword" = "新密码"
"xrayConfigTemplate" = "xray 配置模版"
"xrayConfigTemplateDesc" = "以该模版为基础生成最终的 xray 配置文件,重启面板生效"