clarify Regex editor "only" toggles.

ffb374b8f3b298f52583b1b11c58eea82d976e3c

RossAscends <124905043+RossAscends@users.noreply.github.com>

1 files changed, +15 -22Ignore whitespace
public/scripts/extensions/regex/editor.html+15 -22
@@ -54,12 +54,7 @@
54 <small data-i18n="Replace With">Replace With</small>54 <small data-i18n="Replace With">Replace With</small>
55 </label>55 </label>
56 <div>56 <div>
57 <textarea57 <textarea class="regex_replace_string text_pole wide100p textarea_compact" data-i18n="[placeholder]ext_regex_replace_string_placeholder" placeholder="Use {{match}} to include the matched text from the Find Regex or $1, $2, etc. for capture groups." rows="2"></textarea>
58 class="regex_replace_string text_pole wide100p textarea_compact"
59 data-i18n="[placeholder]ext_regex_replace_string_placeholder"
60 placeholder="Use {{match}} to include the matched text from the Find Regex or $1, $2, etc. for capture groups."
61 rows="2"
62 ></textarea>
63 </div>58 </div>
64 </div>59 </div>
65 <div class="flex1">60 <div class="flex1">
@@ -67,11 +62,7 @@
67 <small data-i18n="Trim Out">Trim Out</small>62 <small data-i18n="Trim Out">Trim Out</small>
68 </label>63 </label>
69 <div>64 <div>
70 <textarea65 <textarea class="regex_trim_strings text_pole wide100p textarea_compact" data-i18n="[placeholder]ext_regex_trim_placeholder" placeholder="Globally trims any unwanted parts from a regex match before replacement. Separate each element by an enter." rows="3"></textarea>
71 class="regex_trim_strings text_pole wide100p textarea_compact" data-i18n="[placeholder]ext_regex_trim_placeholder"
72 placeholder="Globally trims any unwanted parts from a regex match before replacement. Separate each element by an enter."
73 rows="3"
74 ></textarea>
75 </div>66 </div>
76 </div>67 </div>
77 </div>68 </div>
@@ -126,17 +117,6 @@
126 <input type="checkbox" name="disabled" />117 <input type="checkbox" name="disabled" />
127 <span data-i18n="Disabled">Disabled</span>118 <span data-i18n="Disabled">Disabled</span>
128 </label>119 </label>
129 <label class="checkbox flex-container" title="Chat history won't change, only the message rendered in the UI.">
130 <input type="checkbox" name="only_format_display" />
131 <span data-i18n="Only Format Display">Only Format Display</span>
132 </label>
133 <label class="checkbox flex-container" data-i18n="[title]ext_regex_only_format_prompt_desc" title="Chat history won't change, only the prompt as the request is sent (on generation).">
134 <input type="checkbox" name="only_format_prompt"/>
135 <span>
136 <span data-i18n="Only Format Prompt (?)">Only Format Prompt</span>
137 <span class="fa-solid fa-circle-question note-link-span"></span>
138 </span>
139 </label>
140 <label class="checkbox flex-container">120 <label class="checkbox flex-container">
141 <input type="checkbox" name="run_on_edit" />121 <input type="checkbox" name="run_on_edit" />
142 <span data-i18n="Run On Edit">Run On Edit</span>122 <span data-i18n="Run On Edit">Run On Edit</span>
@@ -148,6 +128,19 @@
148 <span class="fa-solid fa-circle-question note-link-span"></span>128 <span class="fa-solid fa-circle-question note-link-span"></span>
149 </span>129 </span>
150 </label>130 </label>
131 <span>
132 <small data-i18n="ext_regex_other_options" data-i18n="Ephemerality">Ephemerality</small>
133 <span class="fa-solid fa-circle-question note-link-span" title="By default, regex scripts alter the chat file directly and irreversibly.&#13;Enabling either (or both) of the options below will prevent chat file alteration, while still altering the specified item(s)."></span>
134 </span>
135 <label class="checkbox flex-container" title="Chat history won't change, only the message rendered in the UI.">
136 <input type="checkbox" name="only_format_display" />
137 <span data-i18n="Only Format Display">Alter Chat Display</span>
138 </label>
139 <label class="checkbox flex-container" data-i18n="[title]ext_regex_only_format_prompt_desc" title="Chat history won't change, only the prompt as the request is sent (on generation).">
140 <input type="checkbox" name="only_format_prompt" />
141 <span data-i18n="Only Format Prompt (?)">Alter Outgoing Prompt</span>
142 </label>
143
151 </div>144 </div>
152 </div>145 </div>
153 </div>146 </div>