mirror of
https://github.com/lWolvesl/antigravity-usage-monitor.git
synced 2026-11-27 01:19:25 +08:00
feat(panel): add Antigravity host UI localization and language packs
- Add standalone host-i18n language pack manager with GitHub/jsDelivr download, SHA-256 integrity checks, offline light/deep tier switching, and lossless DOM translation over the CDP window bridge - Add Settings -> General host interface language controls, untranslated UI string collector, and loopback-only /api/host-i18n endpoints - Include zh-CN layered language pack assets and source/audit/build scripts under host-i18n/ while keeping the Release ZIP runtime whitelist isolated
This commit is contained in:
@@ -382,7 +382,7 @@ export function computeRuntimeCodeVersion(options = {}) {
|
||||
join(HERE, 'trajectory-metrics.mjs'),
|
||||
LOCAL_CATALOG_FILE,
|
||||
];
|
||||
for (const subDir of ['shared', 'backend']) {
|
||||
for (const subDir of ['shared', 'backend', join('backend', 'host-i18n')]) {
|
||||
const absDir = join(HERE, subDir);
|
||||
try {
|
||||
if (existsSync(absDir)) {
|
||||
|
||||
Reference in New Issue
Block a user