diff --git a/src/nhttpd/web/Y_Tools_Rcsim.yhtm b/src/nhttpd/web/Y_Tools_Rcsim.yhtm index 74631b585..5418f02c1 100644 --- a/src/nhttpd/web/Y_Tools_Rcsim.yhtm +++ b/src/nhttpd/web/Y_Tools_Rcsim.yhtm @@ -6,7 +6,7 @@ function rcsim(_key) { if(_key == "KEY_POWER") - if(confirm("wirklich ausschalten? Power down?") != true) + if(confirm("{=L:bc.control.shutdown.ask=}") != true) return; loadSyncURL("/control/rcem?"+_key); } diff --git a/src/nhttpd/web/Y_Tools_fbshot.yhtm b/src/nhttpd/web/Y_Tools_fbshot.yhtm index 7ec6cebc1..9b16935f4 100644 --- a/src/nhttpd/web/Y_Tools_fbshot.yhtm +++ b/src/nhttpd/web/Y_Tools_fbshot.yhtm @@ -10,7 +10,7 @@ function do_snapshot(){ function do_snapshot2(){ var _shot = document.getElementById("shot"); var filename = id("file").value; - dbox_exec_tools("fbshot fb -q /tmp/"+filename+".png"); + dbox_exec_tools("fbshot fb /tmp/"+filename+".png"); show_waitbox(false); show_obj("shot", true); _shot.src = "/tmp/"+filename+".png?"+Math.random(); @@ -22,9 +22,9 @@ function do_dboxshot(){ function do_dboxshot2(){ var _shot = document.getElementById("shot"); var filename = id("file").value; - var res = dbox_exec_tools("fbshot -r -o /tmp/"+filename+".bmp"); + var res = dbox_exec_tools("fbshot fb /tmp/"+filename+".png"); if(res != "") - dbox_exec_tools("fbshot -o /tmp/"+filename+".bmp"); + dbox_exec_tools("fbshot -o /tmp/"+filename+".png"); show_waitbox(false); show_obj("shot", true); _shot.src = "/tmp/"+filename+".bmp?"+Math.random(); @@ -39,17 +39,14 @@ function do_clearshot2(){
-{=var-set:wait_text=Schnappschuss wird erstellt (take snapshot)=}{=include-block:Y_Blocks.txt;snip_wait=} +{=var-set:wait_text={=L:bc.osd.shap_wait_text=}=}{=include-block:Y_Blocks.txt;snip_wait=}