中英文切换

This commit is contained in:
mmc
2026-08-14 09:02:52 +08:00
parent a8af55a856
commit 62b03bba03
94 changed files with 19723 additions and 2766 deletions

9
tmp_inspect.cjs Normal file
View File

@@ -0,0 +1,9 @@
const a = require('./tmp_missing.json');
const z = a.zhAdd, e = a.enAdd;
const ns = ['devices','alerts','aiAnalysis','clean','workOrder','systemSetting','home'];
for (const n of ns) {
const zk = z[n] || {}, ek = e[n] || {};
const keys = Object.keys(zk).slice(0, 14);
console.log('=== ' + n + ' (' + Object.keys(zk).length + ') ===');
for (const k of keys) { console.log(' ' + k + ' => ZH[' + zk[k] + '] EN[' + ek[k] + ']'); }
}