Initial commit: NetMesh smart ops platform with 3D topology, inspection reports, RCA and AI ops assistant
Some checks failed
AI automation / Route event (push) Has been cancelled
AI automation / Hand reopened issue to maintainers (push) Has been cancelled
AI automation / Clean source issue state (push) Has been cancelled
AI automation / Reconcile handoffs (push) Has been cancelled
AI automation / Classify issue (push) Has been cancelled
AI automation / Claude Code smoke (push) Has been cancelled
AI automation / Review issue follow-up (push) Has been cancelled
AI automation / Publish issue follow-up (push) Has been cancelled
AI automation / Implement with Claude Code (push) Has been cancelled
AI automation / Publish implement PR (push) Has been cancelled
AI automation / Continue queued issue comments (push) Has been cancelled
AI automation / Codex review loop (push) Has been cancelled
AI automation / Publish Codex fix (push) Has been cancelled
AI automation / Clear Codex dispatch marker (push) Has been cancelled
AI automation / Own PR re-request Codex (push) Has been cancelled
AI automation / External PR re-request Codex (push) Has been cancelled
AI automation / Poll Codex reaction / retry (push) Has been cancelled
Some checks failed
AI automation / Route event (push) Has been cancelled
AI automation / Hand reopened issue to maintainers (push) Has been cancelled
AI automation / Clean source issue state (push) Has been cancelled
AI automation / Reconcile handoffs (push) Has been cancelled
AI automation / Classify issue (push) Has been cancelled
AI automation / Claude Code smoke (push) Has been cancelled
AI automation / Review issue follow-up (push) Has been cancelled
AI automation / Publish issue follow-up (push) Has been cancelled
AI automation / Implement with Claude Code (push) Has been cancelled
AI automation / Publish implement PR (push) Has been cancelled
AI automation / Continue queued issue comments (push) Has been cancelled
AI automation / Codex review loop (push) Has been cancelled
AI automation / Publish Codex fix (push) Has been cancelled
AI automation / Clear Codex dispatch marker (push) Has been cancelled
AI automation / Own PR re-request Codex (push) Has been cancelled
AI automation / External PR re-request Codex (push) Has been cancelled
AI automation / Poll Codex reaction / retry (push) Has been cancelled
This commit is contained in:
49
application/i18n/locales/cloudSyncConvergentLocales.test.ts
Normal file
49
application/i18n/locales/cloudSyncConvergentLocales.test.ts
Normal file
@@ -0,0 +1,49 @@
|
||||
import test from 'node:test';
|
||||
import assert from 'node:assert/strict';
|
||||
|
||||
import en from '../locales/en.ts';
|
||||
import ru from '../locales/ru.ts';
|
||||
import es from '../locales/es.ts';
|
||||
import zhCN from '../locales/zh-CN.ts';
|
||||
import zhTW from '../locales/zh-TW.ts';
|
||||
|
||||
const keys = [
|
||||
'cloudSync.convergent.title',
|
||||
'cloudSync.convergent.experimental',
|
||||
'cloudSync.convergent.desc',
|
||||
'cloudSync.convergent.active',
|
||||
'cloudSync.convergent.paused',
|
||||
'cloudSync.convergent.enabled',
|
||||
'cloudSync.convergent.preview.title',
|
||||
'cloudSync.convergent.preview.entities',
|
||||
'cloudSync.convergent.preview.providers',
|
||||
'cloudSync.convergent.preview.conflicts',
|
||||
'cloudSync.convergent.preview.compatibility',
|
||||
'cloudSync.convergent.preview.confirm',
|
||||
'cloudSync.convergent.preview.status.ready',
|
||||
'cloudSync.convergent.preview.status.empty',
|
||||
'cloudSync.convergent.preview.status.unavailable',
|
||||
'cloudSync.convergent.preview.status.blocked',
|
||||
'cloudSync.convergent.preview.schema',
|
||||
'cloudSync.convergent.field.presence',
|
||||
'cloudSync.convergent.field.position',
|
||||
'cloudSync.convergent.conflicts.title',
|
||||
'cloudSync.convergent.conflict.empty',
|
||||
'cloudSync.convergent.conflict.secretSet',
|
||||
'cloudSync.convergent.conflict.current',
|
||||
'cloudSync.convergent.conflict.choose',
|
||||
'cloudSync.convergent.conflict.resolved',
|
||||
'cloudSync.convergent.downgrade.desc',
|
||||
'cloudSync.convergent.downgrade.button',
|
||||
'cloudSync.convergent.downgrade.confirm',
|
||||
'cloudSync.convergent.downgrade.done',
|
||||
] as const;
|
||||
|
||||
test('convergent sync copy exists in every bundled locale', () => {
|
||||
for (const [locale, messages] of Object.entries({ en, ru, es, zhCN, zhTW })) {
|
||||
for (const key of keys) {
|
||||
assert.equal(typeof messages[key], 'string', `${locale} is missing ${key}`);
|
||||
assert.notEqual(messages[key], '', `${locale} has empty ${key}`);
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user