中英文切换
This commit is contained in:
9
tmp_inspect.cjs
Normal file
9
tmp_inspect.cjs
Normal 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] + ']'); }
|
||||
}
|
||||
Reference in New Issue
Block a user