Change matchCreatorNotes name

This commit is contained in:
Crow
2025-04-16 14:49:58 +01:00
parent 8deaefc3a6
commit 349d46d74a
2 changed files with 8 additions and 8 deletions

View File

@@ -4180,9 +4180,9 @@
</small> </small>
</label> </label>
<label title="If the entry key consists of only one word, it would not be matched as part of other words" data-i18n="[title]If the entry key consists of only one word, it would not be matched as part of other words" class="checkbox_label flex1"> <label title="If the entry key consists of only one word, it would not be matched as part of other words" data-i18n="[title]If the entry key consists of only one word, it would not be matched as part of other words" class="checkbox_label flex1">
<input id="world_info_match_creators_notes" type="checkbox" /> <input id="world_info_match_creator_notes" type="checkbox" />
<small data-i18n="Match Creator's Notes" class="whitespacenowrap flex1"> <small data-i18n="Match Creator Notes" class="whitespacenowrap flex1">
Match Creator's Notes Match Creator Notes
</small> </small>
</label> </label>
</div> </div>
@@ -6282,8 +6282,8 @@
</select> </select>
</div> </div>
<div class="checkbox flex-container alignItemsCenter flexNoGap"> <div class="checkbox flex-container alignItemsCenter flexNoGap">
<small class="flex1" data-i18n="Match Creator's Notes">Match Creator's Notes</small> <small class="flex1" data-i18n="Match Creator Notes">Match Creator Notes</small>
<select name="matchCreatorsNotes" class="text_pole widthNatural margin0 flex1"> <select name="matchCreatorNotes" class="text_pole widthNatural margin0 flex1">
<option value="null" data-i18n="Use global">Use global</option> <option value="null" data-i18n="Use global">Use global</option>
<option value="true" data-i18n="Yes">Yes</option> <option value="true" data-i18n="Yes">Yes</option>
<option value="false" data-i18n="No">No</option> <option value="false" data-i18n="No">No</option>

View File

@@ -108,7 +108,7 @@ const KNOWN_DECORATORS = ['@@activate', '@@dont_activate'];
* @property {boolean} [matchCharacterPersonality] If the scan should match against the character * @property {boolean} [matchCharacterPersonality] If the scan should match against the character
* @property {boolean} [matchCharacterNote] If the scan should match against the character note * @property {boolean} [matchCharacterNote] If the scan should match against the character note
* @property {boolean} [matchScenario] If the scan should match against the character scenario * @property {boolean} [matchScenario] If the scan should match against the character scenario
* @property {boolean} [matchCreatorsNotes] If the scan should match against the character metadata * @property {boolean} [matchCreatorNotes] If the scan should match against the character metadata
* @property {number} [uid] The UID of the entry that triggered the scan * @property {number} [uid] The UID of the entry that triggered the scan
* @property {string} [world] The world info book of origin of the entry * @property {string} [world] The world info book of origin of the entry
* @property {string[]} [key] The primary keys to scan for * @property {string[]} [key] The primary keys to scan for
@@ -2202,7 +2202,7 @@ export const originalWIDataKeyMap = {
'matchCharacterPersonality': 'extensions.match_character_personality', 'matchCharacterPersonality': 'extensions.match_character_personality',
'matchCharacterNote': 'extensions.match_character_note', 'matchCharacterNote': 'extensions.match_character_note',
'matchScenario': 'extensions.match_scenario', 'matchScenario': 'extensions.match_scenario',
'matchCreatorsNotes': 'extensions.match_creators_notes', 'matchCreatorNotes': 'extensions.match_creator_notes',
'scanDepth': 'extensions.scan_depth', 'scanDepth': 'extensions.scan_depth',
'automationId': 'extensions.automation_id', 'automationId': 'extensions.automation_id',
'vectorized': 'extensions.vectorized', 'vectorized': 'extensions.vectorized',
@@ -3340,7 +3340,7 @@ export async function getWorldEntry(name, data, entry) {
handleOptionalSelect("matchCharacterPersonality"); handleOptionalSelect("matchCharacterPersonality");
handleOptionalSelect("matchCharacterNote"); handleOptionalSelect("matchCharacterNote");
handleOptionalSelect("matchScenario"); handleOptionalSelect("matchScenario");
handleOptionalSelect("matchCreatorsNotes"); handleOptionalSelect("matchCreatorNotes");
// automation id // automation id
const automationIdInput = template.find('input[name="automationId"]'); const automationIdInput = template.find('input[name="automationId"]');