NEW - ybug 468: Tools: yInstaller multilanguage

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@447 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 49ce389f5b
Author: yjogol <yjogol2@online.de>
Date: 2010-03-02 (Tue, 02 Mar 2010)



------------------
This commit was generated by Migit
This commit is contained in:
yjogol
2010-03-02 05:47:39 +00:00
parent 8c614a5428
commit 361bd3c9c0
3 changed files with 31 additions and 9 deletions

View File

@@ -16,7 +16,7 @@ function do_submit()
document.f.su.disabled=false; document.f.su.disabled=false;
} }
else else
alert("No file given!"); alert("{=L:tools.yinstaller.no_file_given=}");
} }
function init(){ function init(){
var res=dbox_exec_tools("var_space"); var res=dbox_exec_tools("var_space");
@@ -27,9 +27,9 @@ function init(){
var avaiable = RegExp.$4; var avaiable = RegExp.$4;
var percentage = RegExp.$5; var percentage = RegExp.$5;
if(total != "") if(total != "")
str="Platz in /var Gesamt: "+total+"k Benutzt: "+used+"k Frei: "+avaiable+"k Anteil benutzt: "+percentage; str="{=L:tools.yinstaller.space.var=}: "+total+"{=L:tools.yinstaller.space.used=}: "+used+"{=L:tools.yinstaller.space.free=}: "+avaiable+"{=L:tools.yinstaller.space.percentage=}: "+percentage;
else else
str="Kann freien Speicherplatz nicht ermitteln /var ist keine Partition! JFFS2 oder YADD?"; str="{=L:tools.yinstaller.not_determine=}";
id("free").innerHTML=str; id("free").innerHTML=str;
} }
//]]>div //]]>div
@@ -38,16 +38,16 @@ function init(){
<body onload="init()"> <body onload="init()">
<div class="work_box"> <div class="work_box">
<div class="work_box_head"><div class="work_box_head_h2"> <div class="work_box_head"><div class="work_box_head_h2">
{=var-set:help_url=Help-Tools-yInstaller=}{=var-set:menu=yInstaller=}{=include-block:Y_Blocks.txt;work_menu=}</div></div> {=var-set:help_url=Help-Tools-yInstaller=}{=var-set:menu={=L:tools.yinstaller.head=}=}{=include-block:Y_Blocks.txt;work_menu=}</div></div>
<div class="work_box_body"> <div class="work_box_body">
<form name="f" method="post" enctype="multipart/form-data" action="/control/exec?Y_Tools&amp;installer" target="out"> <form name="f" method="post" enctype="multipart/form-data" action="/control/exec?Y_Tools&amp;installer" target="out">
tar-File:&nbsp;<input type="file" name="filename" size="70"/>&nbsp;<br/> {=L:tools.yinstaller.tar_file=}:&nbsp;<input type="file" name="filename" size="70"/>&nbsp;<br/>
<input type="button" name="su" value="installieren" title="upload and install" onclick="do_submit()"/> <input type="button" name="su" value="{=L:tools.yinstaller.upload_install=}" onclick="do_submit()"/>
<br/><br/> <br/><br/>
</form> </form>
<div id="free"></div> <div id="free"></div>
<div style="height:290px;width:740px;"> <div style="height:290px;width:740px;">
<iframe height="250" width="750" scrolling="auto" align="left" frameborder="0" name="out" id="out">Your Browser does not support IFrames.</iframe> <iframe height="250" width="750" scrolling="auto" align="left" frameborder="0" name="out" id="out">{=L:global.no_iframes=}</iframe>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -230,6 +230,16 @@ tools.info.partitions=Partitions
tools.info.mtd=mtd tools.info.mtd=mtd
tools.info.stat=Statistik tools.info.stat=Statistik
tools.info.version=Version tools.info.version=Version
============ Tools yInstaller
tools.yinstaller.no_file_given=Keine Datei angegeben!
tools.yinstaller.space.var=Platz in /var Gesamt
tools.yinstaller.space.used=k Benutzt
tools.yinstaller.space.free=k Frei
tools.yinstaller.space.percentage=k Anteil benutzt
tools.yinstaller.not_determine=Kann freien Speicherplatz nicht ermitteln /var ist keine Partition! JFFS2 oder YADD?
tools.yinstaller.head=yInstaller
tools.yinstaller.tar_file=tar-Datei
tools.yinstaller.upload_install=hochladen und installieren
============ Tools ============ Tools
tools.automount_desc=Automounts organisieren tools.automount_desc=Automounts organisieren
tools.automount=AutoMounts tools.automount=AutoMounts
@@ -306,7 +316,8 @@ live.timer_edit.standby=Standby
live.timer_edit.plugin=Plugin live.timer_edit.plugin=Plugin
live.timer_edit.rec_dir=Aufnahmeverzeichnis live.timer_edit.rec_dir=Aufnahmeverzeichnis
live.timer_edit.description=Beschreibung live.timer_edit.description=Beschreibung
=========== GENERAL =========== GENERAL / GLOBAL
global.no_iframes=Dein Browser unterstützt keine IFrames.
clear=löschen clear=löschen
submit=Ausführen submit=Ausführen
action=Aktion action=Aktion

View File

@@ -232,6 +232,16 @@ tools.info.partitions=Partitions
tools.info.mtd=mtd tools.info.mtd=mtd
tools.info.stat=Statistics tools.info.stat=Statistics
tools.info.version=Version tools.info.version=Version
============ Tools yInstaller
tools.yinstaller.no_file_given=No file given!
tools.yinstaller.space.var=Space in /var total
tools.yinstaller.space.used=k used
tools.yinstaller.space.free=k free
tools.yinstaller.space.percentage=k percentage used
tools.yinstaller.not_determine=Can not determine free space. /var is no partition! JFFS2, YADD or USB?
tools.yinstaller.head=yInstaller
tools.yinstaller.tar_file=tar-File
tools.yinstaller.upload_install=upload and install
============ Tools ============ Tools
tools.automount_desc=organize file automounts tools.automount_desc=organize file automounts
tools.automount=AutoMounts tools.automount=AutoMounts
@@ -308,7 +318,8 @@ live.timer_edit.standby=Standby
live.timer_edit.plugin=Plugin live.timer_edit.plugin=Plugin
live.timer_edit.rec_dir=Recordind directory live.timer_edit.rec_dir=Recordind directory
live.timer_edit.description=Description live.timer_edit.description=Description
=========== GENERAL =========== GENERAL / GLOBAL
global.no_iframes=Your Browser does not support IFrames.
clear=clear clear=clear
submit=Submit submit=Submit
action=Action action=Action