UI: translate settings editor; add tools/check-i18n.mjs; mock accepts event listeners

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
ДмитрийandClaude Sonnet 5.5 committed 2026-09-30 11:58:43 +05:00
1 parent fc7277e250
commit 68050882b8
8 files changed
+346 -46

No files matched your search

+2
View File
@@ -22,6 +22,8 @@ export {};
if(cmd==="start_server"){await new Promise((r: any)=>setTimeout(r,1500));running=true;return {ok:true,exit_code:0,code:null,human:null,output:""};}
if(cmd==="stop_server"){await new Promise((r: any)=>setTimeout(r,1500));running=false;return {ok:true,exit_code:0,code:null,human:null,output:""};}
if(cmd.startsWith("plugin:dialog")) return "C:\games\CoA-Repack";
if(cmd==="plugin:event|listen") return 1;
if(cmd==="plugin:event|unlisten") return null;
throw new Error("unmocked "+cmd);
}
};