Change matchCreatorNotes name

349d46d74a03732dbe03fc88936c900da4bba37f

Crow <bismuthglass@protonmail.com>

2 files changed, +8 -8Showing whitespace changes
public/index.html+5 -5
@@ -4180,9 +4180,9 @@
4180 </small>4180 </small>
4181 </label>4181 </label>
4182 <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">4182 <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">
4183 <input id="world_info_match_creators_notes" type="checkbox" />4183 <input id="world_info_match_creator_notes" type="checkbox" />
4184 <small data-i18n="Match Creator's Notes" class="whitespacenowrap flex1">4184 <small data-i18n="Match Creator Notes" class="whitespacenowrap flex1">
4185 Match Creator's Notes4185 Match Creator Notes
4186 </small>4186 </small>
4187 </label>4187 </label>
4188 </div>4188 </div>
@@ -6282,8 +6282,8 @@
6282 </select>6282 </select>
6283 </div>6283 </div>
6284 <div class="checkbox flex-container alignItemsCenter flexNoGap">6284 <div class="checkbox flex-container alignItemsCenter flexNoGap">
6285 <small class="flex1" data-i18n="Match Creator's Notes">Match Creator's Notes</small>6285 <small class="flex1" data-i18n="Match Creator Notes">Match Creator Notes</small>
6286 <select name="matchCreatorsNotes" class="text_pole widthNatural margin0 flex1">6286 <select name="matchCreatorNotes" class="text_pole widthNatural margin0 flex1">
6287 <option value="null" data-i18n="Use global">Use global</option>6287 <option value="null" data-i18n="Use global">Use global</option>
6288 <option value="true" data-i18n="Yes">Yes</option>6288 <option value="true" data-i18n="Yes">Yes</option>
6289 <option value="false" data-i18n="No">No</option>6289 <option value="false" data-i18n="No">No</option>
public/scripts/world-info.js+3 -3
@@ -108,7 +108,7 @@ const KNOWN_DECORATORS = ['@@activate', '@@dont_activate'];
108 * @property {boolean} [matchCharacterPersonality] If the scan should match against the character108 * @property {boolean} [matchCharacterPersonality] If the scan should match against the character
109 * @property {boolean} [matchCharacterNote] If the scan should match against the character note109 * @property {boolean} [matchCharacterNote] If the scan should match against the character note
110 * @property {boolean} [matchScenario] If the scan should match against the character scenario110 * @property {boolean} [matchScenario] If the scan should match against the character scenario
111 * @property {boolean} [matchCreatorsNotes] If the scan should match against the character metadata111 * @property {boolean} [matchCreatorNotes] If the scan should match against the character metadata
112 * @property {number} [uid] The UID of the entry that triggered the scan112 * @property {number} [uid] The UID of the entry that triggered the scan
113 * @property {string} [world] The world info book of origin of the entry113 * @property {string} [world] The world info book of origin of the entry
114 * @property {string[]} [key] The primary keys to scan for114 * @property {string[]} [key] The primary keys to scan for
@@ -2202,7 +2202,7 @@ export const originalWIDataKeyMap = {
2202 'matchCharacterPersonality': 'extensions.match_character_personality',2202 'matchCharacterPersonality': 'extensions.match_character_personality',
2203 'matchCharacterNote': 'extensions.match_character_note',2203 'matchCharacterNote': 'extensions.match_character_note',
2204 'matchScenario': 'extensions.match_scenario',2204 'matchScenario': 'extensions.match_scenario',
2205 'matchCreatorsNotes': 'extensions.match_creators_notes',2205 'matchCreatorNotes': 'extensions.match_creator_notes',
2206 'scanDepth': 'extensions.scan_depth',2206 'scanDepth': 'extensions.scan_depth',
2207 'automationId': 'extensions.automation_id',2207 'automationId': 'extensions.automation_id',
2208 'vectorized': 'extensions.vectorized',2208 'vectorized': 'extensions.vectorized',
@@ -3340,7 +3340,7 @@ export async function getWorldEntry(name, data, entry) {
3340 handleOptionalSelect("matchCharacterPersonality");3340 handleOptionalSelect("matchCharacterPersonality");
3341 handleOptionalSelect("matchCharacterNote");3341 handleOptionalSelect("matchCharacterNote");
3342 handleOptionalSelect("matchScenario");3342 handleOptionalSelect("matchScenario");
3343 handleOptionalSelect("matchCreatorsNotes");3343 handleOptionalSelect("matchCreatorNotes");
33443344
3345 // automation id3345 // automation id
3346 const automationIdInput = template.find('input[name="automationId"]');3346 const automationIdInput = template.find('input[name="automationId"]');