mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-24 06:32:12 -03:00
Enhance localization and UI for model management features
- Added new localization keys for usage statistics, collection analysis, storage efficiency, and insights in English and Chinese. - Updated modal templates to utilize localization for delete, exclude, and bulk delete confirmations. - Improved download modal with localized labels and placeholders. - Enhanced example access modal with localized titles and descriptions. - Updated help modal to include localized content for update vlogs and documentation sections. - Refactored move modal to use localization for labels and buttons. - Implemented localization in relink Civitai modal for warnings and help text. - Updated update modal to reflect localized text for actions and progress messages. - Enhanced statistics template with localized titles for charts and lists.
This commit is contained in:
@@ -2,26 +2,26 @@
|
||||
<div id="exampleAccessModal" class="modal">
|
||||
<div class="modal-content example-access-modal">
|
||||
<button class="close" onclick="modalManager.closeModal('exampleAccessModal')">×</button>
|
||||
<h2>Local Example Images</h2>
|
||||
<p>No local example images found for this model. View options:</p>
|
||||
<h2>{{ t('modals.exampleAccess.title') }}</h2>
|
||||
<p>{{ t('modals.exampleAccess.message') }}</p>
|
||||
|
||||
<div class="example-access-options">
|
||||
<button id="downloadExamplesBtn" class="example-option-btn">
|
||||
<i class="fas fa-cloud-download-alt"></i>
|
||||
<span class="option-title">Download from Civitai</span>
|
||||
<span class="option-desc">Save remote examples locally for offline use and faster loading</span>
|
||||
<span class="option-title">{{ t('modals.exampleAccess.downloadOption.title') }}</span>
|
||||
<span class="option-desc">{{ t('modals.exampleAccess.downloadOption.description') }}</span>
|
||||
</button>
|
||||
|
||||
<button id="importExamplesBtn" class="example-option-btn">
|
||||
<i class="fas fa-file-import"></i>
|
||||
<span class="option-title">Import Your Own</span>
|
||||
<span class="option-desc">Add your own custom examples for this model</span>
|
||||
<span class="option-title">{{ t('modals.exampleAccess.importOption.title') }}</span>
|
||||
<span class="option-desc">{{ t('modals.exampleAccess.importOption.description') }}</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="modal-footer-note">
|
||||
<i class="fas fa-info-circle"></i>
|
||||
<span>Remote examples are still viewable in the model details even without local copies</span>
|
||||
<span>{{ t('modals.exampleAccess.footerNote') }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user