mirror of https://github.com/jumpserver/jumpserver
perf: 切换zh hant
parent
a8112c86e3
commit
6502adb772
|
@ -119,6 +119,10 @@ class UserLoginContextMixin:
|
||||||
'title': '中文(简体)',
|
'title': '中文(简体)',
|
||||||
'code': 'zh-hans'
|
'code': 'zh-hans'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'title': '中文(繁體)',
|
||||||
|
'code': 'zh-hant'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
'title': 'English',
|
'title': 'English',
|
||||||
'code': 'en'
|
'code': 'en'
|
||||||
|
|
|
@ -48,6 +48,12 @@
|
||||||
<span> 中文</span>
|
<span> 中文</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<a id="switch_hant" href="{% url 'i18n-switch' lang='zh-hant' %}">
|
||||||
|
<i class="fa fa-flag"></i>
|
||||||
|
<span> 中文(繁體)</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a id="switch_en" href="{% url 'i18n-switch' lang='en' %}">
|
<a id="switch_en" href="{% url 'i18n-switch' lang='en' %}">
|
||||||
<i class="fa fa-flag-checkered"></i>
|
<i class="fa fa-flag-checkered"></i>
|
||||||
|
|
Loading…
Reference in New Issue