mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-22 05:32:12 -03:00
- 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.
33 lines
1.9 KiB
HTML
33 lines
1.9 KiB
HTML
<!-- Re-link to Civitai Modal -->
|
|
<div id="relinkCivitaiModal" class="modal">
|
|
<div class="modal-content">
|
|
<button class="close" onclick="modalManager.closeModal('relinkCivitaiModal')">×</button>
|
|
<h2>{{ t('modals.relinkCivitai.title') }}</h2>
|
|
<div class="warning-box">
|
|
<i class="fas fa-exclamation-triangle"></i>
|
|
<p><strong>{{ t('modals.relinkCivitai.warning') }}</strong> {{ t('modals.relinkCivitai.warningText') }}</p>
|
|
<ul>
|
|
<li>{{ t('modals.relinkCivitai.warningList.overrideMetadata') }}</li>
|
|
<li>{{ t('modals.relinkCivitai.warningList.modifyHash') }}</li>
|
|
<li>{{ t('modals.relinkCivitai.warningList.unintendedConsequences') }}</li>
|
|
</ul>
|
|
<p>{{ t('modals.relinkCivitai.proceedText') }}</p>
|
|
</div>
|
|
<div class="input-group">
|
|
<label for="civitaiModelUrl">{{ t('modals.relinkCivitai.urlLabel') }}</label>
|
|
<input type="text" id="civitaiModelUrl" placeholder="{{ t('modals.relinkCivitai.urlPlaceholder') }}" />
|
|
<div class="input-error" id="civitaiModelUrlError"></div>
|
|
<div class="input-help">
|
|
{{ t('modals.relinkCivitai.helpText.title') }}<br>
|
|
• {{ t('modals.relinkCivitai.helpText.format1') }}<br>
|
|
• {{ t('modals.relinkCivitai.helpText.format2') }}<br>
|
|
• {{ t('modals.relinkCivitai.helpText.format3') }}<br>
|
|
<em>{{ t('modals.relinkCivitai.helpText.note') }}</em>
|
|
</div>
|
|
</div>
|
|
<div class="modal-actions">
|
|
<button class="cancel-btn" onclick="modalManager.closeModal('relinkCivitaiModal')">{{ t('common.actions.cancel') }}</button>
|
|
<button class="confirm-btn" id="confirmRelinkBtn">{{ t('modals.relinkCivitai.confirmAction') }}</button>
|
|
</div>
|
|
</div>
|
|
</div> |