refactor(i18n): Remove server_i18n references from routes and update translations in zh-CN and zh-TW locales

This commit is contained in:
Will Miao
2025-08-30 19:02:37 +08:00
parent 7b374d747b
commit f6709a55c3
5 changed files with 11 additions and 17 deletions

View File

@@ -131,9 +131,7 @@ class BaseModelRoutes(ABC):
'settings': settings,
'request': request,
'folders': [],
# 添加服务端翻译函数
't': server_i18n.get_translation,
'server_i18n': server_i18n,
}
if not is_initializing: