Merge pull request #2687 from SillyTavern/improve-wi-char-filter-description

Improve WI Character Filter description
This commit is contained in:
Cohee 2024-08-20 01:17:18 +03:00 committed by GitHub
commit c70266984f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 4 deletions

View File

@ -5592,13 +5592,16 @@
<div class="flex-container wide100p flexGap10">
<div class="flex4 flex-container flexFlowColumn flexNoGap">
<div class="flex-container justifySpaceBetween">
<small for="characterFilter" data-i18n="Filter to Character(s)">
Filter to Character(s)
<small for="characterFilter" data-i18n="Filter to Characters or Tags">
Filter to Characters or Tags
</small>
<label class="checkbox_label flexNoGap margin-r5" for="character_exclusion">
<input type="checkbox" name="character_exclusion" />
<span>
<small data-i18n="Character Exclusion">Character Exclusion</small>
<small title="Switch the Character/Tags filter around to exclude the listed characters and tags from matching for this entry" data-i18n="[title]Switch the Character/Tags filter around to exclude the listed characters and tags from matching for this entry">
<span data-i18n="Exclude">Exclude</span>
<div class="fa-solid fa-circle-info opacity50p"></div>
</small>
</span>
</label>
</div>

View File

@ -2459,7 +2459,7 @@ async function getWorldEntry(name, data, entry) {
if (!isMobile()) {
$(characterFilter).select2({
width: '100%',
placeholder: 'All characters will pull from this entry.',
placeholder: 'Tie this entry to specific characters or characters with specific tags',
allowClear: true,
closeOnSelect: false,
});