Format code

This commit is contained in:
Cohee 2023-10-10 20:47:54 +03:00
parent 9d710801d8
commit 2c54627926
2 changed files with 3 additions and 3 deletions

View File

@ -3027,9 +3027,9 @@
<input id="relaxed_api_urls" type="checkbox" />
<span data-i18n="Relaxed API URLS">Relaxed API URLs</span>
</label>
<label data-newbie-hidden class="checkbox_label" for="world_import_dialog" title="Ask to import the World Info/Lorebook for every new character with one embedded. If unchecked, a brief message will be shown instead.">
<label data-newbie-hidden class="checkbox_label" for="world_import_dialog" title="Ask to import the World Info/Lorebook for every new character with embedded lorebook. If unchecked, a brief message will be shown instead.">
<input id="world_import_dialog" type="checkbox" />
<span data-i18n="World Import Dialog">World Import Dialog</span>
<span data-i18n="Lorebook Import Dialog">Lorebook Import Dialog</span>
</label>
<label data-newbie-hidden id="movingUIModeCheckBlock" for="movingUImode" class="checkbox_label">
<input id="movingUImode" type="checkbox" />

View File

@ -1714,7 +1714,7 @@ export function checkEmbeddedWorld(chid) {
if (!localStorage.getItem(checkKey) && (!worldName || !world_names.includes(worldName))) {
localStorage.setItem(checkKey, 1);
if(power_user.world_import_dialog) {
if (power_user.world_import_dialog) {
callPopup(`<h3>This character has an embedded World/Lorebook.</h3>
<h3>Would you like to import it now?</h3>
<div class="m-b-1">If you want to import it later, select "Import Card Lore" in the "More..." dropdown menu on the character panel.</div>`,