mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-20 19:25:56 +00:00
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:
1 parent
fc7277e250
commit
68050882b8
8 files changed
+346
-46
No files matched your search
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user