mirror of
https://github.com/dtzp555-max/ocm.git
synced 2026-07-21 21:15:08 +00:00
ui: make CLI completion messages English (#7)
Co-authored-by: Tao <dtzp555@gmail.com>
This commit is contained in:
+2
-2
@@ -3908,8 +3908,8 @@ function runCli(){
|
|||||||
es.addEventListener('done',e=>{
|
es.addEventListener('done',e=>{
|
||||||
try{
|
try{
|
||||||
const d=JSON.parse(e.data);
|
const d=JSON.parse(e.data);
|
||||||
if(d.code===0) cliAppend('\\n✅ 完成 (exit 0)\\n','cli-done-ok');
|
if(d.code===0) cliAppend('\\n✅ Done (exit 0)\\n','cli-done-ok');
|
||||||
else cliAppend('\\n❌ 退出码 '+d.code+'\\n','cli-done-err');
|
else cliAppend('\\n❌ Exit code '+d.code+'\\n','cli-done-err');
|
||||||
}catch(_){}
|
}catch(_){}
|
||||||
es.close(); cliEvt=null; setCliRunning(false);
|
es.close(); cliEvt=null; setCliRunning(false);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user