Browse Source

fix issue

pull/1589/head
zhoupzh 3 years ago
parent
commit
5845fdb897
3 changed files with 8 additions and 6 deletions
  1. +3
    -2
      options/locale/locale_en-US.ini
  2. +3
    -2
      options/locale/locale_zh-CN.ini
  3. +2
    -2
      templates/user/settings/profile.tmpl

+ 3
- 2
options/locale/locale_en-US.ini View File

@@ -493,11 +493,12 @@ account_link = Linked Accounts
organization = Organizations organization = Organizations
uid = Uid uid = Uid
u2f = Security Keys u2f = Security Keys
bind_weChat = Bind WeChat
bind_weChat = Bind weChat
weChat_bind = WeChat Binding
bind_account_information = Bind account information bind_account_information = Bind account information
bind_time = Bind Time bind_time = Bind Time
wechat = Wechat wechat = Wechat
Unbind = Unbind
unbind_wc = Unbind
unbind_wechat = Are you sure you want to unbind WeChat? unbind_wechat = Are you sure you want to unbind WeChat?
unbind_computing = After unbundling, the qizhi computing power environment will not be available unbind_computing = After unbundling, the qizhi computing power environment will not be available




+ 3
- 2
options/locale/locale_zh-CN.ini View File

@@ -496,11 +496,12 @@ account_link=已绑定帐户
organization=组织 organization=组织
uid=用户 ID uid=用户 ID
u2f=安全密钥 u2f=安全密钥
bind_weChat = 微信绑定
weChat_bind = 微信绑定
bind_wechat = 绑定微信
bind_account_information = 绑定账号信息 bind_account_information = 绑定账号信息
bind_time = 绑定时间 bind_time = 绑定时间
wechat = 微信 wechat = 微信
unbind = 解除绑定
unbind_wc = 解除绑定
unbind_wechat = 确定要解绑微信? unbind_wechat = 确定要解绑微信?
unbind_computing = 解绑后将无法使用启智算力环境 unbind_computing = 解绑后将无法使用启智算力环境




+ 2
- 2
templates/user/settings/profile.tmpl View File

@@ -104,7 +104,7 @@
</form> </form>
</div> </div>
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{$.i18n.Tr "settings.bind_weChat"}}
{{$.i18n.Tr "settings.weChat_bind"}}
</h4> </h4>
{{if not .SignedUser.IsBindWechat}} {{if not .SignedUser.IsBindWechat}}
<div class="ui attached segment"> <div class="ui attached segment">
@@ -132,7 +132,7 @@
{{TimeSinceUnix1 .SignedUser.WechatBindUnix}} {{TimeSinceUnix1 .SignedUser.WechatBindUnix}}
<td class="center aligned"> <td class="center aligned">
<div> <div>
<a class="ui inverted orange button " onclick="showcreate(this)" href="javascript: void(0)">{{$.i18n.Tr "settings.unbind"}}</a>
<a class="ui inverted orange button " onclick="showcreate(this)" href="javascript: void(0)">{{$.i18n.Tr "settings.unbind_wc"}}</a>
</div> </div>
</td> </td>
</tbody> </tbody>


Loading…
Cancel
Save