mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-25 23:25:43 -03:00
refactor(i18n): Remove server_i18n references from routes and update translations in zh-CN and zh-TW locales
This commit is contained in:
@@ -151,7 +151,6 @@ class RecipeRoutes:
|
||||
request=request,
|
||||
# 添加服务端翻译函数
|
||||
t=server_i18n.get_translation,
|
||||
server_i18n=server_i18n,
|
||||
)
|
||||
except Exception as cache_error:
|
||||
logger.error(f"Error loading recipe cache data: {cache_error}")
|
||||
@@ -163,7 +162,6 @@ class RecipeRoutes:
|
||||
request=request,
|
||||
# 添加服务端翻译函数
|
||||
t=server_i18n.get_translation,
|
||||
server_i18n=server_i18n,
|
||||
)
|
||||
logger.info("Recipe cache error, returning initialization page")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user