Merge pull request #3198 from ceruleandeep/i18n/generateImage

Fix i18n tags for Generate Image/Stop Image Generation, add translations
This commit is contained in:
Cohee
2024-12-17 07:55:08 +02:00
committed by GitHub
5 changed files with 122 additions and 107 deletions

View File

@ -393,7 +393,7 @@ jQuery(async function () {
const sendButton = $(`
<div id="send_picture" class="list-group-item flex-container flexGap5">
<div class="fa-solid fa-image extensionsMenuExtensionButton"></div>
Generate Caption
<span data-i18n="Generate Caption">Generate Caption</span>
</div>`);
$('#caption_wand_container').append(sendButton);

View File

@ -1,8 +1,8 @@
<div id="sd_gen" class="list-group-item flex-container flexGap5">
<div class="fa-solid fa-paintbrush extensionsMenuExtensionButton" title="Trigger Stable Diffusion" data-i18n="[title]Trigger Stable Diffusion"></div>
<span>Generate Image</span>
<span data-i18n="Generate Image">Generate Image</span>
</div>
<div id="sd_stop_gen" class="list-group-item flex-container flexGap5">
<div class="fa-solid fa-circle-stop extensionsMenuExtensionButton" title="Abort current image generation task" data-i18n="[title]Abort current image generation task"></div>
<span>Stop Image Generation</span>
<span data-i18n="Stop Image Generation">Stop Image Generation</span>
</div>