mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
yweb: remote & osd multilanguage (ybug 473, 474)
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@459 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
@@ -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(){
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
{=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=}
|
||||
<div class="work_box">
|
||||
<div class="work_box_head"><div class="work_box_head_h2">
|
||||
{=var-set:help_url=Help-BoxControl-OSD_Screenshot=}{=var-set:menu=OSD Screenshot=}{=include-block:Y_Blocks.txt;work_menu=}</div></div>
|
||||
{=var-set:help_url=Help-BoxControl-OSD_Screenshot=}{=var-set:menu={=L:bc.menue.osd_screenshot=}=}{=include-block:Y_Blocks.txt;work_menu=}</div></div>
|
||||
<div class="work_box_body">
|
||||
<button name="snapshot" ytype="shot" onclick="do_snapshot()">Snapshot</button>
|
||||
<button name="snapshot" ytype="shot" onclick="do_snapshot()">{=L:bc.osd.shot=}</button>
|
||||
{=var-set:dboxshot={=if-file-exists:/bin/dboxshot~true~{=if-file-exists:/var/bin/dboxshot~true~false=}=}=}
|
||||
{=if-equal:{=var-get:dboxshot=}~true~
|
||||
<button name="dboxshot" ytype="shot" onclick="do_dboxshot()">dboxshot</button>
|
||||
=}
|
||||
<button name="clearshot" ytype="clearshot" onclick="do_clearshot()">Delete Screenshots</button>
|
||||
<button name="clearshot" ytype="clearshot" onclick="do_clearshot()">{=L:bc.osd.delete_shots=}</button>
|
||||
Filename:<input type="text" value="a" id="file" size="16"/>
|
||||
<br/>
|
||||
<img id="shot" src="" style="visibility:hidden;"/>
|
||||
|
@@ -28,11 +28,11 @@ function do_clearshot2(){
|
||||
<body onload="do_dboxshot()">
|
||||
<div class="work_box">
|
||||
<div class="work_box_head"><div class="work_box_head_h2">
|
||||
{=var-set:help_url=Help-BoxControl-Remote_OSD=}{=var-set:menu=Remote & OSD=}{=include-block:Y_Blocks.txt;work_menu=}</div></div>
|
||||
{=var-set:help_url=Help-BoxControl-Remote_OSD=}{=var-set:menu={=L:bc.menue.remote_osd=}=}{=include-block:Y_Blocks.txt;work_menu=}</div></div>
|
||||
<div class="work_box_body">
|
||||
<div style="height:30x;">
|
||||
<span id="buttons" style="display:none"><button name="dboxshot" ytype="shot" onclick="do_dboxshot()">Shot</button>
|
||||
<button name="clearshot" ytype="clearshot" onclick="do_clearshot()">Delete shots</button></span>
|
||||
<span id="buttons" style="display:none"><button name="dboxshot" ytype="shot" onclick="do_dboxshot()">{=L:bc.osd.shot=}</button>
|
||||
<button name="clearshot" ytype="clearshot" onclick="do_clearshot()">{=L:bc.osd.delete_shots=}</button></span>
|
||||
<span id="statusline"><img border="0" src="/images/wait.gif" width="20" height="20" alt="wait"/></span>
|
||||
</div>
|
||||
<table cellpadding="0">
|
||||
|
@@ -93,7 +93,7 @@ bc.menue.switch_to_radio=Zum Radio umschalten
|
||||
bc.menue.webinf_slavebox=Webinterface der SlaveBox
|
||||
bc.menue.volumen_display=Lautstärke Anzeige
|
||||
|
||||
========= BOX Control
|
||||
========= Boxcontrol
|
||||
bc.control.freemem=FreeMem
|
||||
bc.control.lock=sperren
|
||||
bc.control.unlock=freigeben
|
||||
@@ -113,12 +113,17 @@ bc.control.reboot=Neustart
|
||||
bc.control.shutdown.ask=dbox wirklich ausschalten?
|
||||
bc.control.shutdown=Ausschalten
|
||||
|
||||
========= BOX Control - Message
|
||||
========= Boxcontrol - Message
|
||||
bc.msg.message_to_screen_desc=Nachricht eingeben
|
||||
bc.msg.message_to_screen=Meldung auf Bildschirm
|
||||
bc.msg.popup_to_screen=Popup auf Bildschirm
|
||||
bc.msg.send_message=Nachricht senden
|
||||
|
||||
======== Boxcontrol - Remote & OSD
|
||||
bc.osd.shot=Schnappschuss
|
||||
bc.osd.delete_shots=Schnappschuss löschen
|
||||
bc.osd.shap_wait_text=Schnappschuss wird erstellt
|
||||
|
||||
====== EXtension
|
||||
ext.installer_updater=Installation
|
||||
ext.uninstaller=Deinstallation Erweiterungen
|
||||
|
@@ -95,7 +95,7 @@ bc.menue.switch_to_radio=switch to Radio
|
||||
bc.menue.webinf_slavebox=Webinterface der SlaveBox
|
||||
bc.menue.volumen_display=volumen display
|
||||
|
||||
========= BOX Control
|
||||
========= Boxcontrol
|
||||
bc.control.freemem=FreeMem
|
||||
bc.control.lock=lock
|
||||
bc.control.unlock=unlock
|
||||
@@ -117,12 +117,17 @@ bc.control.shutdown=shutdown
|
||||
bc.control.status=Status
|
||||
bc.control.restart=restart
|
||||
|
||||
========= BOX Control - Message
|
||||
========= Boxcontrol - Message
|
||||
bc.msg.message_to_screen_desc=enter message to send to TV screen
|
||||
bc.msg.message_to_screen=Message on screen
|
||||
bc.msg.popup_to_screen=Message as popup
|
||||
bc.msg.send_message=send message
|
||||
|
||||
======== Boxcontrol - Remote & OSD
|
||||
bc.osd.shot=Shot
|
||||
bc.osd.delete_shots=Delete shots
|
||||
bc.osd.shap_wait_text=Take Snapshot
|
||||
|
||||
====== EXtension
|
||||
ext.installer_updater=Installer/Updater
|
||||
ext.uninstaller=Extensions Uninstaller
|
||||
|
Reference in New Issue
Block a user