From 6502adb7720d0c8e746e8fe485c93502b2930b34 Mon Sep 17 00:00:00 2001 From: feng <1304903146@qq.com> Date: Wed, 10 Apr 2024 11:33:05 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=88=87=E6=8D=A2zh=20hant?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/authentication/views/login.py | 4 ++++ apps/templates/_header_bar.html | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/apps/authentication/views/login.py b/apps/authentication/views/login.py index 182c4b908..2f48c21e2 100644 --- a/apps/authentication/views/login.py +++ b/apps/authentication/views/login.py @@ -119,6 +119,10 @@ class UserLoginContextMixin: 'title': '中文(简体)', 'code': 'zh-hans' }, + { + 'title': '中文(繁體)', + 'code': 'zh-hant' + }, { 'title': 'English', 'code': 'en' diff --git a/apps/templates/_header_bar.html b/apps/templates/_header_bar.html index 72fb77201..230d1acde 100644 --- a/apps/templates/_header_bar.html +++ b/apps/templates/_header_bar.html @@ -48,6 +48,12 @@ 中文 +
  • + + + 中文(繁體) + +