mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
fixes
This commit is contained in:
@ -4275,7 +4275,7 @@
|
|||||||
<span class="fa-solid fa-circle-question note-link-span"></span>
|
<span class="fa-solid fa-circle-question note-link-span"></span>
|
||||||
</a>
|
</a>
|
||||||
</label>
|
</label>
|
||||||
<label class="checkbox_label" title="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.)" data-i18n="[title]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.)">
|
<label class="checkbox_label" title="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.)" data-i18n="[title]stscript_parser_flag_replace_getvar_label">
|
||||||
<input id="stscript_parser_flag_replace_getvar" type="checkbox" />
|
<input id="stscript_parser_flag_replace_getvar" type="checkbox" />
|
||||||
<span data-i18n="REPLACE_GETVAR"><small>REPLACE_GETVAR</small></span>
|
<span data-i18n="REPLACE_GETVAR"><small>REPLACE_GETVAR</small></span>
|
||||||
<a href="https://docs.sillytavern.app/usage/st-script/#replace-variable-macros" target="_blank" class="notes-link">
|
<a href="https://docs.sillytavern.app/usage/st-script/#replace-variable-macros" target="_blank" class="notes-link">
|
||||||
|
@ -777,7 +777,7 @@
|
|||||||
"Parser Flags": "解析器标志",
|
"Parser Flags": "解析器标志",
|
||||||
"Switch to stricter escaping, allowing all delimiting characters to be escaped with a backslash, and backslashes to be escaped as well.": "切换到更严格的转义,允许所有分隔字符用反斜杠转义,并且反斜杠也可以转义。",
|
"Switch to stricter escaping, allowing all delimiting characters to be escaped with a backslash, and backslashes to be escaped as well.": "切换到更严格的转义,允许所有分隔字符用反斜杠转义,并且反斜杠也可以转义。",
|
||||||
"STRICT_ESCAPING": "严格转义",
|
"STRICT_ESCAPING": "严格转义",
|
||||||
"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::}} 宏来实现的。)",
|
"stscript_parser_flag_replace_getvar_label": "防止 {{getvar::}} {{getglobalvar::}} 宏具有自动评估的文字宏类值。\n例如,“{{newline}}”保留为文字字符串“{{newline}}”\n\n(这是通过在内部用范围变量替换 {{getvar::}} {{getglobalvar::}} 宏来实现的。)",
|
||||||
"REPLACE_GETVAR": "替换GETVAR",
|
"REPLACE_GETVAR": "替换GETVAR",
|
||||||
"Change Background Image": "更改背景图片",
|
"Change Background Image": "更改背景图片",
|
||||||
"Filter": "搜索",
|
"Filter": "搜索",
|
||||||
@ -1283,8 +1283,6 @@
|
|||||||
"expression_label_pattern": "[表达式标签].[图像格式]",
|
"expression_label_pattern": "[表达式标签].[图像格式]",
|
||||||
"Sprite set:": "表情集:",
|
"Sprite set:": "表情集:",
|
||||||
"Show Gallery": "展示图库",
|
"Show Gallery": "展示图库",
|
||||||
"Shows the gallery.": "显示画廊。",
|
|
||||||
"List images in the gallery of the current char / group or a specified char / group.": "列出图库中当前角色/组或指定角色/组的图像。",
|
|
||||||
"ext_sum_title": "总结",
|
"ext_sum_title": "总结",
|
||||||
"ext_sum_with": "总结如下:",
|
"ext_sum_with": "总结如下:",
|
||||||
"ext_sum_main_api": "主要 API",
|
"ext_sum_main_api": "主要 API",
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
<!-- I18n data for tools used to auto generate translations -->
|
|
||||||
<div data-i18n="Show Gallery">Show Gallery</div>
|
|
||||||
<div data-i18n="Shows the gallery.">Shows the gallery.</div>
|
|
||||||
<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>
|
|
2
public/scripts/extensions/gallery/index.i18n.html
Normal file
2
public/scripts/extensions/gallery/index.i18n.html
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<!-- I18n data for tools used to auto generate translations -->
|
||||||
|
<div data-i18n="Show Gallery">Show Gallery</div>
|
@ -407,7 +407,7 @@ SlashCommandParser.addCommandObject(SlashCommand.fromProps({ name: 'show-gallery
|
|||||||
showCharGallery();
|
showCharGallery();
|
||||||
return '';
|
return '';
|
||||||
},
|
},
|
||||||
helpString: translate('Shows the gallery.'),
|
helpString: 'Shows the gallery.',
|
||||||
}));
|
}));
|
||||||
SlashCommandParser.addCommandObject(SlashCommand.fromProps({ name: 'list-gallery',
|
SlashCommandParser.addCommandObject(SlashCommand.fromProps({ name: 'list-gallery',
|
||||||
aliases: ['lg'],
|
aliases: ['lg'],
|
||||||
@ -427,7 +427,7 @@ SlashCommandParser.addCommandObject(SlashCommand.fromProps({ name: 'list-gallery
|
|||||||
enumProvider: commonEnumProviders.characters('group'),
|
enumProvider: commonEnumProviders.characters('group'),
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
helpString: translate('List images in the gallery of the current char / group or a specified char / group.'),
|
helpString: 'List images in the gallery of the current char / group or a specified char / group.',
|
||||||
}));
|
}));
|
||||||
|
|
||||||
async function listGalleryCommand(args) {
|
async function listGalleryCommand(args) {
|
||||||
|
Reference in New Issue
Block a user