From 5845fdb897145f9d6c3ce1e910a32c713c8da9f2 Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Fri, 25 Feb 2022 17:59:52 +0800 Subject: [PATCH] fix issue --- options/locale/locale_en-US.ini | 5 +++-- options/locale/locale_zh-CN.ini | 5 +++-- templates/user/settings/profile.tmpl | 4 ++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index fd439c4d1..7478a5ac1 100755 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -493,11 +493,12 @@ account_link = Linked Accounts organization = Organizations uid = Uid u2f = Security Keys -bind_weChat = Bind WeChat +bind_weChat = Bind weChat +weChat_bind = WeChat Binding bind_account_information = Bind account information bind_time = Bind Time wechat = Wechat -Unbind = Unbind +unbind_wc = Unbind unbind_wechat = Are you sure you want to unbind WeChat? unbind_computing = After unbundling, the qizhi computing power environment will not be available diff --git a/options/locale/locale_zh-CN.ini b/options/locale/locale_zh-CN.ini index 0f94f1d1d..6d1d8c7b2 100755 --- a/options/locale/locale_zh-CN.ini +++ b/options/locale/locale_zh-CN.ini @@ -496,11 +496,12 @@ account_link=已绑定帐户 organization=组织 uid=用户 ID u2f=安全密钥 -bind_weChat = 微信绑定 +weChat_bind = 微信绑定 +bind_wechat = 绑定微信 bind_account_information = 绑定账号信息 bind_time = 绑定时间 wechat = 微信 -unbind = 解除绑定 +unbind_wc = 解除绑定 unbind_wechat = 确定要解绑微信? unbind_computing = 解绑后将无法使用启智算力环境 diff --git a/templates/user/settings/profile.tmpl b/templates/user/settings/profile.tmpl index f253bf3b2..302f56886 100644 --- a/templates/user/settings/profile.tmpl +++ b/templates/user/settings/profile.tmpl @@ -104,7 +104,7 @@

- {{$.i18n.Tr "settings.bind_weChat"}} + {{$.i18n.Tr "settings.weChat_bind"}}

{{if not .SignedUser.IsBindWechat}}
@@ -132,7 +132,7 @@ {{TimeSinceUnix1 .SignedUser.WechatBindUnix}}
- {{$.i18n.Tr "settings.unbind"}} + {{$.i18n.Tr "settings.unbind_wc"}}