Update 'zh-cn' translation (#2583) * Update world-info.js - make the rename button is also available in case of WIbook corruption. - make the WI engine doesn't crash when certain entrys with `content === null`. * Update zh-cn.json * Part revert "Update world-info.js" This part reverts commit 0693c9c400145dce0f9fed5480e71160d3544eca.

ba9b16191f1ce9574b588a6ad41004b174ba82a1

steve green <steve_green@qq.com>

Signed
2 files changed, +4 -2Ignore whitespace
public/locales/zh-cn.json+3 -1
@@ -443,7 +443,9 @@
443443 "Example Separator": "示例分隔符",
444444 "Chat Start": "聊天开始",
445445 "Add Chat Start and Example Separator to a list of stopping strings.": "将聊天开始和示例分隔符添加到停止字符串列表中。",
446446 "UseSeparators as Stop Strings": "用作停止字符串分隔符作为终止字符串",
447+ "Add Character and User names to a list of stopping strings.": "将角色和用户名添加到停止字符串列表中。",
448+ "Names as Stop Strings": "名称作为终止字符串",
447449 "context_allow_post_history_instructions": "如果在角色卡中定义并且启用了“首选角色卡说明”,则在提示末尾包含后历史说明。\n不建议在文本补全模型中使用此功能,否则会导致输出错误。",
448450 "Allow Post-History Instructions": "允许后历史说明",
449451 "Context Order": "上下文顺序",
public/scripts/world-info.js+1 -1
@@ -3584,7 +3584,7 @@ export async function getSortedEntries() {
35843584
35853585 // Parse decorators
35863586 entries = entries.map((entry) => {
35873587 const [decorators, content] = parseDecorators(entry.content || '');
35883588 return { ...entry, decorators, content };
35893589 });
35903590