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 0693c9c400.
This commit is contained in:
steve green 2024-07-30 22:20:10 +08:00 committed by GitHub
parent f48de733fa
commit ba9b16191f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -443,7 +443,9 @@
"Example Separator": "示例分隔符",
"Chat Start": "聊天开始",
"Add Chat Start and Example Separator to a list of stopping strings.": "将聊天开始和示例分隔符添加到停止字符串列表中。",
"Use as Stop Strings": "用作停止字符串",
"Separators as Stop Strings": "分隔符作为终止字符串",
"Add Character and User names to a list of stopping strings.": "将角色和用户名添加到停止字符串列表中。",
"Names as Stop Strings": "名称作为终止字符串",
"context_allow_post_history_instructions": "如果在角色卡中定义并且启用了“首选角色卡说明”,则在提示末尾包含后历史说明。\n不建议在文本补全模型中使用此功能否则会导致输出错误。",
"Allow Post-History Instructions": "允许后历史说明",
"Context Order": "上下文顺序",

View File

@ -3584,7 +3584,7 @@ export async function getSortedEntries() {
// Parse decorators
entries = entries.map((entry) => {
const [decorators, content] = parseDecorators(entry.content);
const [decorators, content] = parseDecorators(entry.content || '');
return { ...entry, decorators, content };
});