perf: 切换zh hant

pull/12981/head
feng 8 months ago committed by Bryan
parent a8112c86e3
commit 6502adb772

@ -119,6 +119,10 @@ class UserLoginContextMixin:
'title': '中文(简体)',
'code': 'zh-hans'
},
{
'title': '中文(繁體)',
'code': 'zh-hant'
},
{
'title': 'English',
'code': 'en'

@ -48,6 +48,12 @@
<span> 中文</span>
</a>
</li>
<li>
<a id="switch_hant" href="{% url 'i18n-switch' lang='zh-hant' %}">
<i class="fa fa-flag"></i>
<span> 中文(繁體)</span>
</a>
</li>
<li>
<a id="switch_en" href="{% url 'i18n-switch' lang='en' %}">
<i class="fa fa-flag-checkered"></i>

Loading…
Cancel
Save