mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
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:
@@ -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 };
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user