网页优化
This commit is contained in:
1 parent
ab32146e8d
commit
753e3b1e21
47 files changed
+187
-56
No files matched your search
@@ -55,8 +55,8 @@ for (const code of localeCodes.slice(1)) {
|
||||
if (JSON.stringify(messages).includes('ZXQV') || /\uE000|\uE001|\uE002/.test(JSON.stringify(messages))) {
|
||||
throw new Error(`${code} contains unresolved translation tokens`)
|
||||
}
|
||||
if (!String(messages.app?.title || '').includes('Yeomai')) {
|
||||
throw new Error(`${code} title must keep the Yeomai brand`)
|
||||
if (String(messages.app?.title || '').trim() !== String(messages.welcome?.documentTitle || '').trim()) {
|
||||
throw new Error(`${code} welcome and editor document titles must match`)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user