mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-24 14:42:11 -03:00
Add Chinese (Simplified and Traditional) localization files and implement i18n tests
- Created zh-CN.json and zh-TW.json for Simplified and Traditional Chinese translations respectively. - Added comprehensive test suite in test_i18n.py to validate JSON structure, server-side i18n functionality, and translation completeness across multiple languages.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>{% block title %}LoRA Manager{% endblock %}</title>
|
||||
<title>{% block title %}{{ t('header.appTitle') }}{% endblock %}</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="/loras_static/css/style.css">
|
||||
{% block page_css %}{% endblock %}
|
||||
@@ -77,7 +77,7 @@
|
||||
{% block additional_components %}{% endblock %}
|
||||
|
||||
<!-- Add back-to-top button here -->
|
||||
<button id="backToTopBtn" class="back-to-top" title="Back to top">
|
||||
<button id="backToTopBtn" class="back-to-top" title="{{ t('common.actions.backToTop') }}">
|
||||
<i class="fas fa-chevron-up"></i>
|
||||
</button>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user