Skip to content

Commit

Permalink
fix: 修复footer显示样式/国际化
Browse files Browse the repository at this point in the history
  • Loading branch information
v_yutyi authored and EmilyMei committed Mar 25, 2022
1 parent 312d233 commit af47a83
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/login/bklogin/templates/account/login_ce.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@
<a href="https://wpa1.qq.com/KziXGWJs?_type=wpa&qidian=true" >{% trans '技术支持' %}</a>
| <a href="https://bk.tencent.com/s-mart/community/" target="_blank" hotrep="hp.footer.feedback" class="link">{% trans '社区论坛' %}</a>
| <a href="http://bk.tencent.com/" target="_blank" hotrep="hp.footer.feedback" class="link">{% trans '产品官网' %}</a>
| <a href="" target="_blank" hotrep="hp.footer.feedback" class="link">
| <a href="" target="_blank" hotrep="hp.footer.feedback" class="link follow-us">
{% trans '关注我们' %}
<span class="qr-box"><img class="qr" src="../../../static/img/logo_ce/qr.png" alt=""></span>
<span class="qr-box"><img class="qr" src="{{STATIC_URL}}img/logo_ce/qr.png" alt=""></span>
</a>
</p>
<p>Copyright © 2012-{{NOW.year}} Tencent BlueKing. All Rights Reserved. V7.0</p>
Expand Down
4 changes: 4 additions & 0 deletions src/login/locale/en/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,10 @@ msgstr "img/logo_ce/logo_en.png"
msgid "请修改密码"
msgstr "Change Password"

#: bklogin/templates/account/login_ce.html:104
msgid "技术支持"
msgstr "Technical support"

#: bklogin/templates/account/login_ce.html:104
msgid "QQ群支持"
msgstr "QQ group"
Expand Down
4 changes: 2 additions & 2 deletions src/login/static/css_ce/login.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/login/static/css_ce/login.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/pages/src/components/catalog/operation/SetField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@
</div>
<div class="content catalog-setting-step" v-show="expandUser">
<div class="user-directory">
<p>蓝鲸用户管理字段</p>
<p>对应{{catalogType}}目录字段</p>
<p>{{$t('蓝鲸用户管理字段')}}</p>
<p>{{$t('对应')}} {{catalogType}} {{$t('目录字段')}}</p>
</div>
<div class="user-content">
<div class="user-item">
Expand Down Expand Up @@ -138,7 +138,7 @@
<div class="content catalog-setting-step" v-show="expandCustom">
<div class="user-directory">
<p>{{$t('蓝鲸用户管理字段')}}</p>
<p>{{$t('对应')}}{{catalogType}}{{$t('目录字段')}}</p>
<p>{{$t('对应')}} {{catalogType}} {{$t('目录字段')}}</p>
</div>
<addCustomField :type="type" :custom-field="customField" @upAddFieldList="getAddFieldList" />
<setCustomField
Expand Down
6 changes: 5 additions & 1 deletion src/pages/src/language/lang/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ export default {
对应字段1: 'Map ',
对应字段2: ' field',
用户组对象类: 'User group object class',
用户组配置描述: 'If you do not need user groups, leave the following fields blank',
用户组关联字段描述: 'Some LDAP services, such as OpenDJ, need to be specified as isMemberOf',
用户组对象过滤: 'User group object filter',
用户组名字段: 'User group name filed',
用户组描述字段: 'User group description field',
Expand Down Expand Up @@ -386,7 +388,6 @@ export default {
三个月: 'three months',
'审计日志为空, 无法导出': 'the audit log is empty and cannot be exported',
请输入数字: 'Please enter a number',
蓝鲸用户管理字段: 'Blue Whale User management field',
对应: 'The corresponding',
目录字段: 'Category field',
密码不允许连续: 'Passwords cannot be consecutive',
Expand All @@ -398,4 +399,7 @@ export default {
连续数字序: 'Continuous numeric sequence',
连续特殊符号序: 'Continuous special sign order',
'重复字母、数字、特殊符号': 'Repeat letters, numbers, special symbols',
恢复: 'restore',
修改密码时不能重复前: 'Do not repeat the preceding part when changing the password',
用过的密码: 'Used password',
};
4 changes: 3 additions & 1 deletion src/pages/src/language/lang/zh.js
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,6 @@ export default {
三个月: '三个月',
'审计日志为空, 无法导出': '审计日志为空, 无法导出',
请输入数字: '请输入数字',
蓝鲸用户管理字段: '蓝鲸用户管理字段',
对应: '对应',
目录字段: '目录字段',
密码不允许连续: '密码不允许连续',
Expand All @@ -399,4 +398,7 @@ export default {
连续数字序: '连续数字序',
连续特殊符号序: '连续特殊符号序',
'重复字母、数字、特殊符号': '重复字母、数字、特殊符号',
恢复: '恢复',
修改密码时不能重复前: '修改密码时不能重复前',
用过的密码: '用过的密码',
};

0 comments on commit af47a83

Please sign in to comment.