fixes

3e5f98223d0c45ea1a94f793bcc075c84ef470cd

steve02081504 <steve02081504@EDEN.fukwold>

5 files changed, +4 -8Ignore whitespace
public/index.html+1 -1
@@ -4275,7 +4275,7 @@
4275 <span class="fa-solid fa-circle-question note-link-span"></span>4275 <span class="fa-solid fa-circle-question note-link-span"></span>
4276 </a>4276 </a>
4277 </label>4277 </label>
4278 <label class="checkbox_label" title="Prevents {{getvar::}} {{getglobalvar::}} macros from having literal macro-like values auto-evaluated.&NewLine;e.g. &quot;{{newline}}&quot; remains as literal string &quot;{{newline}}&quot;&NewLine;&NewLine;(This is done by internally replacing {{getvar::}} {{getglobalvar::}} macros with scoped variables.)" data-i18n="[title]Prevents {{getvar::}} {{getglobalvar::}} macros from having literal macro-like values auto-evaluated. e.g. &quot;{{newline}}&quot; remains as literal string &quot;{{newline}}&quot; (This is done by internally replacing {{getvar::}} {{getglobalvar::}} macros with scoped variables.)">4278 <label class="checkbox_label" title="Prevents {{getvar::}} {{getglobalvar::}} macros from having literal macro-like values auto-evaluated.&NewLine;e.g. &quot;{{newline}}&quot; remains as literal string &quot;{{newline}}&quot;&NewLine;&NewLine;(This is done by internally replacing {{getvar::}} {{getglobalvar::}} macros with scoped variables.)" data-i18n="[title]stscript_parser_flag_replace_getvar_label">
4279 <input id="stscript_parser_flag_replace_getvar" type="checkbox" />4279 <input id="stscript_parser_flag_replace_getvar" type="checkbox" />
4280 <span data-i18n="REPLACE_GETVAR"><small>REPLACE_GETVAR</small></span>4280 <span data-i18n="REPLACE_GETVAR"><small>REPLACE_GETVAR</small></span>
4281 <a href="https://docs.sillytavern.app/usage/st-script/#replace-variable-macros" target="_blank" class="notes-link">4281 <a href="https://docs.sillytavern.app/usage/st-script/#replace-variable-macros" target="_blank" class="notes-link">
public/locales/zh-cn.json+1 -3
@@ -777,7 +777,7 @@
777 "Parser Flags": "解析器标志",777 "Parser Flags": "解析器标志",
778 "Switch to stricter escaping, allowing all delimiting characters to be escaped with a backslash, and backslashes to be escaped as well.": "切换到更严格的转义,允许所有分隔字符用反斜杠转义,并且反斜杠也可以转义。",778 "Switch to stricter escaping, allowing all delimiting characters to be escaped with a backslash, and backslashes to be escaped as well.": "切换到更严格的转义,允许所有分隔字符用反斜杠转义,并且反斜杠也可以转义。",
779 "STRICT_ESCAPING": "严格转义",779 "STRICT_ESCAPING": "严格转义",
780 "Prevents {{getvar::}} {{getglobalvar::}} macros from having literal macro-like values auto-evaluated. e.g. \"{{newline}}\" remains as literal string \"{{newline}}\" (This is done by internally replacing {{getvar::}} {{getglobalvar::}} macros with scoped variables.)": "防止 {{getvar::}} {{getglobalvar::}} 宏具有自动评估的文字宏类值。\n例如,“{{newline}}”保留为文字字符串“{{newline}}”\n\n(这是通过在内部用范围变量替换 {{getvar::}} {{getglobalvar::}} 宏来实现的。)",780 "stscript_parser_flag_replace_getvar_label": "防止 {{getvar::}} {{getglobalvar::}} 宏具有自动评估的文字宏类值。\n例如,“{{newline}}”保留为文字字符串“{{newline}}”\n\n(这是通过在内部用范围变量替换 {{getvar::}} {{getglobalvar::}} 宏来实现的。)",
781 "REPLACE_GETVAR": "替换GETVAR",781 "REPLACE_GETVAR": "替换GETVAR",
782 "Change Background Image": "更改背景图片",782 "Change Background Image": "更改背景图片",
783 "Filter": "搜索",783 "Filter": "搜索",
@@ -1283,8 +1283,6 @@
1283 "expression_label_pattern": "[表达式标签].[图像格式]",1283 "expression_label_pattern": "[表达式标签].[图像格式]",
1284 "Sprite set:": "表情集:",1284 "Sprite set:": "表情集:",
1285 "Show Gallery": "展示图库",1285 "Show Gallery": "展示图库",
1286 "Shows the gallery.": "显示画廊。",
1287 "List images in the gallery of the current char / group or a specified char / group.": "列出图库中当前角色/组或指定角色/组的图像。",
1288 "ext_sum_title": "总结",1286 "ext_sum_title": "总结",
1289 "ext_sum_with": "总结如下:",1287 "ext_sum_with": "总结如下:",
1290 "ext_sum_main_api": "主要 API",1288 "ext_sum_main_api": "主要 API",
public/scripts/extensions/gallery/GalleryI18nData.html → public/scripts/extensions/gallery/index.i18n.html+0 -2
@@ -1,4 +1,2 @@
1<!-- I18n data for tools used to auto generate translations -->1<!-- I18n data for tools used to auto generate translations -->
2<div data-i18n="Show Gallery">Show Gallery</div>2<div data-i18n="Show Gallery">Show Gallery</div>
3<div data-i18n="Shows the gallery.">Shows the gallery.</div>
4<div data-i18n="List images in the gallery of the current char / group or a specified char / group.">List images in the gallery of the current char / group or a specified char / group.</div>
public/scripts/extensions/gallery/index.js+2 -2
@@ -407,7 +407,7 @@ SlashCommandParser.addCommandObject(SlashCommand.fromProps({ name: 'show-gallery
407 showCharGallery();407 showCharGallery();
408 return '';408 return '';
409 },409 },
410 helpString: translate('Shows the gallery.'),410 helpString: 'Shows the gallery.',
411}));411}));
412SlashCommandParser.addCommandObject(SlashCommand.fromProps({ name: 'list-gallery',412SlashCommandParser.addCommandObject(SlashCommand.fromProps({ name: 'list-gallery',
413 aliases: ['lg'],413 aliases: ['lg'],
@@ -427,7 +427,7 @@ SlashCommandParser.addCommandObject(SlashCommand.fromProps({ name: 'list-gallery
427 enumProvider: commonEnumProviders.characters('group'),427 enumProvider: commonEnumProviders.characters('group'),
428 }),428 }),
429 ],429 ],
430 helpString: translate('List images in the gallery of the current char / group or a specified char / group.'),430 helpString: 'List images in the gallery of the current char / group or a specified char / group.',
431}));431}));
432432
433async function listGalleryCommand(args) {433async function listGalleryCommand(args) {
public/scripts/templates/charTagImportI18nData.html → public/scripts/templates/charTagImport.i18n.html+0 -0