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
2 changed files with 4 additions and 2 deletions

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 };
});