diff options
author | raul | 2014-06-30 16:49:23 +0200 |
---|---|---|
committer | Michael Pereira Neves | 2014-07-11 15:05:00 +0200 |
commit | 99516d4baa747ec06afeda47fb7630d0eaf485b0 (patch) | |
tree | 733a4da918e6446beced4249b3909f69d6b83861 | |
parent | [i18n]creation of the lang folder (diff) | |
download | slx-admin-99516d4baa747ec06afeda47fb7630d0eaf485b0.tar.gz slx-admin-99516d4baa747ec06afeda47fb7630d0eaf485b0.tar.xz slx-admin-99516d4baa747ec06afeda47fb7630d0eaf485b0.zip |
[i18n]added mustache tags to the templates
32 files changed, 229 insertions, 285 deletions
diff --git a/templates/dialog-generic.html b/templates/dialog-generic.html index e970c9a6..e2325ee9 100644 --- a/templates/dialog-generic.html +++ b/templates/dialog-generic.html @@ -8,7 +8,7 @@ {{{body}}} </div> <div class="modal-footer"> - {{#next}}<a class="btn btn-primary" href="{{next}}">{{nextD}} »</a>{{/next}} + {{#next}}<a class="btn btn-primary" href="{{next}}">{{lang_next}} »</a>{{/next}} </div> </div> </div> diff --git a/templates/main-menu-login.html b/templates/main-menu-login.html index 1fbb3143..55766622 100644 --- a/templates/main-menu-login.html +++ b/templates/main-menu-login.html @@ -11,25 +11,28 @@ </div> <div class="navbar-collapse collapse"> <ul class="nav navbar-nav"> - <li><a href="?do=SysLog">Client Logs</a></li> + <li><a href="?do=SysLog">{{lang_clientLog}}</a></li> <li class="dropdown"> - <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{settings}}<b class="caret"></b></a> + <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{lang_settings}}<b class="caret"></b></a> <ul class="dropdown-menu"> - <li class="dropdown-header">Client</li> - <li><a href="?do=SysConfig">{{localization}}</a></li> + <li class="dropdown-header">{{lang_client}}</li> + <li><a href="?do=SysConfig">{{lang_localization}}</a></li> <li><a href="?do=MiniLinux">bwLehrpool Mini-Linux</a></li> - <li><a href="?do=BaseConfig">{{configurationVariables}}</a></li> + <li><a href="?do=BaseConfig">{{lang_configurationVariables}}</a></li> <li class="divider"></li> - <li class="dropdown-header">Server</li> - <li><a href="?do=ServerSetup">{{configurationBasic}}</a></li> - <li><a href="?do=VmStore"></a>{{vmLocation}}</li> + <li class="dropdown-header">{{lang_server}}</li> + <li><a href="?do=ServerSetup">{{lang_configurationBasic}}</a></li> + <li><a href="?do=VmStore">{{lang_vmLocation}}</a></li> </ul> </li> - <li><a href="?do=News">{{news}}</a></li> + <li><a href="?do=News">{{lang_news}}</a></li> <li><a href="?do=SystemStatus">Status</a></li> </ul> <ul class="nav navbar-nav navbar-right"> - <li><a href="?do=Session&action=login">{{login}}</a></li> + <li><a href="lang/lang.php?lang=english"><img src="lang/english.png"></a></li> + <li><a href="lang/lang.php?lang=german"><img src="lang/german.png"></a></li> + <li><a href="lang/lang.php?lang=portuguese"><img src="lang/portuguese.png"></a></li> + <li><a href="?do=Session&action=login">{{lang_login}}</a></li> </ul> </div> </div> diff --git a/templates/main-menu-logout.html b/templates/main-menu-logout.html index 76560a91..6bee802d 100644 --- a/templates/main-menu-logout.html +++ b/templates/main-menu-logout.html @@ -11,25 +11,28 @@ </div> <div class="navbar-collapse collapse"> <ul class="nav navbar-nav"> - <li><a href="?do=SysLog">Client Logs</a></li> + <li><a href="?do=SysLog">{{lang_clientLog}}</a></li> <li class="dropdown"> - <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{settings}}<b class="caret"></b></a> + <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{lang_settings}}<b class="caret"></b></a> <ul class="dropdown-menu"> - <li class="dropdown-header">Client</li> - <li><a href="?do=SysConfig">{{localization}}</a></li> + <li class="dropdown-header">{{lang_client}}</li> + <li><a href="?do=SysConfig">{{lang_localization}}</a></li> <li><a href="?do=MiniLinux">bwLehrpool Mini-Linux</a></li> - <li><a href="?do=BaseConfig">{{configurationVariables}}</a></li> + <li><a href="?do=BaseConfig">{{lang_configurationVariables}}</a></li> <li class="divider"></li> - <li class="dropdown-header">Server</li> - <li><a href="?do=ServerSetup">{{configurationBasic}}</a></li> - <li><a href="?do=VmStore"></a>{{vmLocation}}</li> + <li class="dropdown-header">{{lang_server}}</li> + <li><a href="?do=ServerSetup">{{lang_configurationBasic}}</a></li> + <li><a href="?do=VmStore">{{lang_vmLocation}}</a></li> </ul> </li> - <li><a href="?do=News">{{news}}</a></li> + <li><a href="?do=News">{{lang_news}}</a></li> <li><a href="?do=SystemStatus">Status</a></li> </ul> <ul class="nav navbar-nav navbar-right"> - <li><a href="?do=Session&action=logout&token={{{token}}}"><b>{{user}}</b> ({{logout}})</a></li> + <li><a href="lang/lang.php?lang=english"><img src="lang/english.png"></a></li> + <li><a href="lang/lang.php?lang=german"><img src="lang/german.png"></a></li> + <li><a href="lang/lang.php?lang=portuguese"><img src="lang/portuguese.png"></a></li> + <li><a href="?do=Session&action=logout&token={{{token}}}"><b>{{user}}</b> ({{lang_logout}})</a></li> </ul> </div> </div> diff --git a/templates/main-menu.html b/templates/main-menu.html deleted file mode 100644 index f7056bc5..00000000 --- a/templates/main-menu.html +++ /dev/null @@ -1,37 +0,0 @@ -<!-- Fixed navbar --> -<div class="navbar navbar-default navbar-fixed-top"> - <div class="container"> - <div class="navbar-header"> - <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - </button> - <a class="navbar-brand" href="?do=Main">OpenSLX Admin</a> - </div> - <div class="navbar-collapse collapse"> - <ul class="nav navbar-nav"> - <li><a href="?do=SysLog">Client Logs</a></li> - <li class="dropdown"> - <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{settings}}<b class="caret"></b></a> - <ul class="dropdown-menu"> - <li class="dropdown-header">Client</li> - <li><a href="?do=SysConfig">{{localization}}</a></li> - <li><a href="?do=MiniLinux">bwLehrpool Mini-Linux</a></li> - <li><a href="?do=BaseConfig">{{configurationVariables}}</a></li> - <li class="divider"></li> - <li class="dropdown-header">Server</li> - <li><a href="?do=ServerSetup">{{configurationBasic}}</a></li> - <li><a href="?do=VmStore"></a>{{vmLocation}}</li> - </ul> - </li> - <li><a href="?do=News">{{news}}</a></li> - <li><a href="?do=SystemStatus">Status</a></li> - </ul> - <ul class="nav navbar-nav navbar-right"> - {{{loginPanel}}} - </ul> - </div> - </div> -</div> - diff --git a/templates/menu-login.html b/templates/menu-login.html deleted file mode 100644 index 42f76b31..00000000 --- a/templates/menu-login.html +++ /dev/null @@ -1 +0,0 @@ -<li><a href="?do=Session&action=login">{{login}}</a></li> diff --git a/templates/menu-logout.html b/templates/menu-logout.html deleted file mode 100644 index ff13b555..00000000 --- a/templates/menu-logout.html +++ /dev/null @@ -1 +0,0 @@ -<li><a href="?do=Session&action=logout&token={{{token}}}"><b>{{user}}</b> ({{logout}})</a></li> diff --git a/templates/minilinux/filelist.html b/templates/minilinux/filelist.html index 6c9871b8..a46b6a99 100644 --- a/templates/minilinux/filelist.html +++ b/templates/minilinux/filelist.html @@ -6,13 +6,12 @@ <div class="panel-body" id="download-{{id}}"> {{#systemChanged}} <p> - Mindestens eine Komponente von <b>{{title}}</b> kann aktualisiert werden. Für einen reibungslosen Betrieb - wird empfohlen, alle Komponenten auf dem aktuellen Stand zu halten. + {{lang_canUpdate1}} <b>{{title}}</b> {{lang_canUpdate2}} </p> - <p><span class="btn btn-primary" onclick="slxUpdateAll(this, 'download-{{id}}')">Aktualisieren</span></p> + <p><span class="btn btn-primary" onclick="slxUpdateAll(this, 'download-{{id}}')">{{lang_update}}</span></p> {{/systemChanged}} {{^systemChanged}} - <p>Das System ist auf dem aktuellen Stand.</p> + <p>{{lang_systemUpdated}}</p> {{/systemChanged}} <ul class="list-group"> {{#files}} @@ -20,11 +19,11 @@ <div class="row"> <div class="col-sm-2">{{name}}</div> <div class="col-xs-2"> - {{^fileChanged}}<span class="glyphicon glyphicon-ok"></span> <b>Aktuell</b>{{/fileChanged}} - {{#fileChanged}}<span class="glyphicon glyphicon-exclamation-sign"></span> <b>Veraltet</b>{{/fileChanged}} + {{^fileChanged}}<span class="glyphicon glyphicon-ok"></span> <b>{{lang_actual}}</b>{{/fileChanged}} + {{#fileChanged}}<span class="glyphicon glyphicon-exclamation-sign"></span> <b>{{lang_outdated}}</b>{{/fileChanged}} </div> <div class="col-xs-2"> - {{#fileChanged}}<span class="btn btn-primary btn-xs update-button" onclick="slxUpdate('{{uid}}', '{{id}}', '{{name}}')">Aktualisieren</span>{{/fileChanged}} + {{#fileChanged}}<span class="btn btn-primary btn-xs update-button" onclick="slxUpdate('{{uid}}', '{{id}}', '{{name}}')">{{lang_update}}</span>{{/fileChanged}} </div> </div> {{{download}}} @@ -35,7 +34,7 @@ </div> {{/systems}} {{^systems}} - <div class="row well well-sm">Keine Konfigurationspakete gefunden!</div> + <div class="row well well-sm">{{lang_configurationPackageNotFound}}</div> {{/systems}} <script type="text/javascript"> diff --git a/templates/page-adduser.html b/templates/page-adduser.html index 6cf7d0f1..015dac06 100644 --- a/templates/page-adduser.html +++ b/templates/page-adduser.html @@ -1,28 +1,28 @@ <div class="container"> <form class="form-adduser" action="?do=AddUser" method="post"> - <h2 class="form-signin-heading">{{createUser}}</h2> + <h2 class="form-signin-heading">{{lang_createUser}}</h2> <div class="row"> - <div class="col-md-4">{{username}}</div> - <div class="col-md-4"><input type="text" name="user" value="{{user}}" class="form-control" placeholder="{{username}}" autofocus></div> + <div class="col-md-4">{{lang_username}}</div> + <div class="col-md-4"><input type="text" name="user" value="{{user}}" class="form-control" placeholder="{{lang_username}}" autofocus></div> </div> <div class="row"> - <div class="col-md-4">{{password}}</div> - <div class="col-md-4"><input type="password" name="pass1" class="form-control" placeholder="{{password}}"></div> - <div class="col-md-4"><input type="password" name="pass2" class="form-control" placeholder="{{confirmation}}"></div> + <div class="col-md-4">{{lang_password}}</div> + <div class="col-md-4"><input type="password" name="pass1" class="form-control" placeholder="{{lang_password}}"></div> + <div class="col-md-4"><input type="password" name="pass2" class="form-control" placeholder="{{lang_confirmation}}"></div> </div> <div class="row"> - <div class="col-md-4">{{fullName}}</div> - <div class="col-md-4"><input type="text" name="fullname" value="{{fullname}}" class="form-control" placeholder="{{fullName}}"></div> + <div class="col-md-4">{{lang_fullName}}</div> + <div class="col-md-4"><input type="text" name="fullname" value="{{fullname}}" class="form-control" placeholder="{{lang_fullName}}"></div> </div> <div class="row"> - <div class="col-md-4">{{telephone}}</div> - <div class="col-md-4"><input type="text" name="phone" value="{{phone}}" class="form-control" placeholder="{{telephone}}"></div> + <div class="col-md-4">{{lang_telephone}}</div> + <div class="col-md-4"><input type="text" name="phone" value="{{phone}}" class="form-control" placeholder="{{lang_telephone}}"></div> </div> <div class="row"> <div class="col-md-4">E-Mail</div> - <div class="col-md-4"><input type="text" name="email" value="{{email}}" class="form-control" placeholder="Email"></div> + <div class="col-md-4"><input type="text" name="email" value="{{email}}" class="form-control" placeholder="E-Mail"></div> </div> - <button class="btn btn-lg btn-primary btn-block" type="submit">{{createUser}}</button> + <button class="btn btn-lg btn-primary btn-block" type="submit">{{lang_createUser}}</button> <input type="hidden" name="action" value="adduser"> </form> </div> diff --git a/templates/page-baseconfig.html b/templates/page-baseconfig.html index 9439229b..ad51fd2f 100644 --- a/templates/page-baseconfig.html +++ b/templates/page-baseconfig.html @@ -1,5 +1,5 @@ <div class="container"> - <h1>Basiskonfiguration</h1> + <h1>{{lang_basicConfiguration}}</h1> <form action="?do=BaseConfig" method="post"> {{#categories}} <div class="panel panel-default"> @@ -21,7 +21,7 @@ {{/big}} </div> <div class="col-md-2"> - <a class="btn btn-default" data-toggle="modal" data-target="#help-{{setting}}">Hilfe</a> + <a class="btn btn-default" data-toggle="modal" data-target="#help-{{setting}}">{{lang_help}}</a> </div> </div> </div> @@ -30,7 +30,7 @@ <div class="modal-content"> <div class="modal-header">{{setting}}</div> <div class="modal-body">{{{description}}}</div> - <div class="modal-footer"><a class="btn btn-primary" data-dismiss="modal">{{close}}</a></div> + <div class="modal-footer"><a class="btn btn-primary" data-dismiss="modal">{{lang_close}}</a></div> </div> </div> </div> @@ -39,8 +39,8 @@ </div> {{/categories}} <input type="hidden" name="token" value="{{token}}"> - <button class="btn btn-lg btn-primary" type="submit">{{save}}</button> - <button class="btn btn-lg btn-primary" type="reset">{{reset}}</button> + <button class="btn btn-lg btn-primary" type="submit">{{lang_save}}</button> + <button class="btn btn-lg btn-primary" type="reset">{{lang_reset}}</button> <a class="btn btn-lg btn-primary" href="api.php?do=getconfig">Download</a> </form> </div> diff --git a/templates/page-login.html b/templates/page-login.html index eea122d2..7b9f5df7 100644 --- a/templates/page-login.html +++ b/templates/page-login.html @@ -1,13 +1,13 @@ <div class="container"> <form class="form-signin" action="?do=Session" method="post"> - <h2 class="form-signin-heading">{{enter}}</h2> - <input type="text" name="user" class="form-control" placeholder="{{username}}" autofocus> - <input type="password" name="pass" class="form-control" placeholder="{{password}}"> + <h2 class="form-signin-heading">{{lang_enter}}</h2> + <input type="text" name="user" class="form-control" placeholder="{{lang_username}}" autofocus> + <input type="password" name="pass" class="form-control" placeholder="{{lang_password}}"> <label class="checkbox"> - <input type="checkbox" name="remember" value="remember-me"> {{rememberID}} + <input type="checkbox" name="remember" value="remember-me"> {{lang_rememberID}} </label> - <button class="btn btn-lg btn-primary btn-block" type="submit">{{login}}</button> - <a class="btn btn-lg btn-primary btn-block" href="?do=AddUser">{{register}}</a> + <button class="btn btn-lg btn-primary btn-block" type="submit">{{lang_login}}</button> + <a class="btn btn-lg btn-primary btn-block" href="?do=AddUser">{{lang_register}}</a> <input type="hidden" name="action" value="login"> </form> </div> diff --git a/templates/page-main-guest.html b/templates/page-main-guest.html index 6be224ee..09fc59b3 100644 --- a/templates/page-main-guest.html +++ b/templates/page-main-guest.html @@ -1,5 +1,5 @@ <div class="jumbotron"> - <h1>{{welcome}}</h1> - <p>Dies ist das Administrations-Interface der lokalen bwLehrpool-Installation. Bitte authentifizieren Sie sich, um Einstellungen vorzunehmen.</p> - <p><a href="?do=Session&action=login" class="btn btn-primary btn-lg">Anmelden »</a></p> + <h1>{{lang_welcome}}</h1> + <p>{{lang_introGuest}}</p> + <p><a href="?do=Session&action=login" class="btn btn-primary btn-lg">{{lang_login}} »</a></p> </div> diff --git a/templates/page-main.html b/templates/page-main.html index b8a7032a..40ea8176 100644 --- a/templates/page-main.html +++ b/templates/page-main.html @@ -1,30 +1,30 @@ <div class="jumbotron"> - <h1>Willkommen, {{user}}</h1> - <p>Dies ist die bwLehrpool Konfigurationsoberfläche.</p> + <h1>{{lang_welcome}}, {{user}}</h1> + <p>{{lang_intro}}</p> </div> <ul class="list-group"> {{#vmstore}} <li class="list-group-item list-group-item-info"> - Es ist noch kein Speicherort für die Virtuellen Maschinen festgelegt. - <a class="btn btn-sm btn-primary" href="?do=VmStore">Konfigurieren »</a> + {{lang_vmLocationNotSet}} + <a class="btn btn-sm btn-primary" href="?do=VmStore">{{lang_configure}} »</a> </li> {{/vmstore}} {{#ipxe}} <li class="list-group-item list-group-item-info"> - Das Bootmenü ist veraltet oder wurde noch nicht generiert. - <a class="btn btn-sm btn-primary" href="?do=ServerSetup">Konfigurieren »</a> + {{lang_bootMenuWarning}} + <a class="btn btn-sm btn-primary" href="?do=ServerSetup">{{lang_configure}} »</a> </li> {{/ipxe}} {{#minilinux}} <li class="list-group-item list-group-item-info"> - Wichtige Dateien der MiniLinux-Installation fehlen. + {{lang_minilinuxMissing}} <a class="btn btn-sm btn-primary" href="?do=MiniLinux">MiniLinux »</a> </li> {{/minilinux}} {{#sysconfig}} <li class="list-group-item list-group-item-info"> - Es wurde noch keine Systemkonfiguration ausgewählt. - <a class="btn btn-sm btn-primary" href="?do=SysConfig">Systemkonfiguration »</a> + {{lang_systemConfigurationNotChosen}} + <a class="btn btn-sm btn-primary" href="?do=SysConfig">{{lang_systemConfiguration}} »</a> </li> {{/sysconfig}} </ul> diff --git a/templates/page-minilinux.html b/templates/page-minilinux.html index c1a4ebd6..1cb9d9dd 100644 --- a/templates/page-minilinux.html +++ b/templates/page-minilinux.html @@ -1,15 +1,15 @@ <div class="container" id="systemlist"> - <div class="panel panel-default">Liste wird abgerufen...</div> + <div class="panel panel-default">{{lang_listObtained}}</div> <script type="text/javascript"> var slx_check = setInterval(function() { if (typeof $ === 'undefined') return; clearInterval(slx_check); $('#systemlist').load('{{{listurl}}}', function( response, status, xhr ) { if ( status === "error" ) { - var msg = "Fehler beim Abruf: "; + var msg = "{{lang_errorGetting}}"; $( "#systemlist" ).html( msg + xhr.status + " " + xhr.statusText ); } }) }, 100); </script> -</div>
\ No newline at end of file +</div> diff --git a/templates/page-news.html b/templates/page-news.html index 130ecf3d..78d1d85a 100644 --- a/templates/page-news.html +++ b/templates/page-news.html @@ -1,21 +1,21 @@ <div class="container"> - <p>Hier haben Sie die Möglichkeit, die von bwLehrpool-Clients angezeigten News zu editieren.</p> + <p>{{lang_newsIntro}}</p> <div class="panel panel-default"> <div class="panel-heading"> - {{activeNews}} + {{lang_activeNews}} </div> <div class="panel-body"> <form action="?do=News&action=save" method="post"> <div class="form-group"> - <label for="news-title-id">{{title}}</label> + <label for="news-title-id">{{lang_title}}</label> <input type="text" name="news-title" id ="news-title-id" class="form-control" placeholder="{{welcome}}" value="{{latestTitle}}"> </div> <div class="form-group"> - <label for="news-content-id">{{content}}</label> + <label for="news-content-id">{{lang_content}}</label> <textarea name="news-content" id ="news-content-id" class="form-control" rows="5" cols="30" placeholder="">{{latestContent}}</textarea> </div> - <p>{{latestUpdate}}: {{latestDate}}</p> - <button class="btn btn-primary btn-sm" type="submit">{{save}}</button> + <p>{{lang_latestUpdate}}: {{latestDate}}</p> + <button class="btn btn-primary btn-sm" type="submit">{{lang_save}}</button> <input type="hidden" name="token" value="{{token}}"> </form> </div> @@ -23,7 +23,7 @@ <div class="panel panel-default"> <div class="panel-heading"> - Alte News + {{lang_newsOld}} </div> <div class="panel-body"> <div class="table-responsive"> @@ -32,9 +32,9 @@ <table class="table table-stripped table-condensed"> <thead> <tr> - <th>Datum</th> - <th>Titel</th> - <th>Inhalt</th> + <th>{{lang_date}}</th> + <th>{{lang_title}}</th> + <th>{{lang_content}}</th> <th></th> </tr> </thead> @@ -45,8 +45,8 @@ <td class="slx-ellipsis">{{title}}</td> <td class="slx-ellipsis">{{content}}</td> <td> - <a class="btn btn-primary btn-xs" href="?do=news&newsid={{newsid}}&action=show"><span class="glyphicon glyphicon-share-alt"></span> Verwenden</a> - <button class="btn btn-danger btn-xs" type="submit" name="newsid" value="{{newsid}}"><span class="glyphicon glyphicon-remove"></span> Löschen</button> + <a class="btn btn-primary btn-xs" href="?do=news&newsid={{newsid}}&action=show"><span class="glyphicon glyphicon-share-alt"></span> {{lang_show}}</a> + <button class="btn btn-danger btn-xs" type="submit" name="newsid" value="{{newsid}}"><span class="glyphicon glyphicon-remove"></span> {{lang_delete}}</button> </td> </tr> {{/list}} diff --git a/templates/page-remote-tgz-list.html b/templates/page-remote-tgz-list.html index 8ea80673..fcf79463 100644 --- a/templates/page-remote-tgz-list.html +++ b/templates/page-remote-tgz-list.html @@ -1,7 +1,7 @@ <ol class="breadcrumb"> <li><a href="?do=Main">Start</a></li> - <li><a href="?do=SysConfig">SystemKonfiguration</a></li> - <li class="active">Zentral verfügbare Konfigurationen</li> + <li><a href="?do=SysConfig">{{lang_systemConfiguration}}</a></li> + <li class="active">{{lang_centralConfiguration}}</li> </ol> <div class="container"> {{#files}} @@ -11,6 +11,6 @@ </div> {{/files}} {{^files}} - <div class="row well well-sm">Keine Konfigurationspakete gefunden!</div> + <div class="row well well-sm">{{lang_configurationPackageNotFound}}</div> {{/files}} </div> diff --git a/templates/page-syslog.html b/templates/page-syslog.html index 90f301a4..b7064619 100644 --- a/templates/page-syslog.html +++ b/templates/page-syslog.html @@ -1,44 +1,42 @@ <div class="container"> - <h1>Client Log</h1> + <h1>{{lang_clientLog}}</h1> <form method="post" action="?do=SysLog"> <input type="hidden" name="token" value="{{token}}"> <div class="input-group"> - <span class="input-group-addon">Filter</span> - <input id="filterstring" type="text" placeholder="event-id" value="{{filter}}" name="filter" data-role="tagsinput" /> + <span class="input-group-addon">{{lang_filter}}</span> + <input id="filterstring" type="text" placeholder="id" value="{{filter}}" name="filter" data-role="tagsinput" /> <span class="input-group-addon"> - <input type="checkbox" name="not" {{#not}}checked="checked"{{/not}}> not + <input type="checkbox" name="not" {{#not}}checked="checked"{{/not}}> {{lang_not}} </span> <span class="input-group-btn"> - <button class="btn btn-default" type="submit">Los</button> + <button class="btn btn-default" type="submit">{{lang_go}}</button> </span> </div> </form> {{{pagenav}}} - <div class="table-responsive"> - <table class="table table-striped table-condensed"> - <thead> - <th></th> - <th>Wann</th> - <th>Client</th> - <th>Ereignis</th> - <th>Details</th> - </thead> - <tbody> - {{#list}} - <tr> - <td><span class="glyphicon glyphicon-off" title="{{logtypeid}}" onclick="$('#filterstring').tagsinput('add', '{{logtypeid}}')"></span></td> - <td class="text-right" nowrap="nowrap">{{date}}</td> - <td>{{clientip}}</td> - <td>{{description}}</td> - <td>{{#extra}}<a class="btn btn-default btn-xs pull-left" data-toggle="collapse" data-target="#extra{{logid}}">»</a>{{/extra}}</td> - </tr> - <tr class="collapse" id="extra{{logid}}"> - <td colspan="5"><pre>{{extra}}</pre></td> - </tr> - {{/list}} - </tbody> - </table> - </div> + <table class="table table-striped table-condensed"> + <thead> + <th></th> + <th>{{lang_when}}</th> + <th>{{lang_client}}</th> + <th>{{lang_event}}</th> + <th>{{lang_details}}</th> + </thead> + <tbody> + {{#list}} + <tr> + <td><span class="glyphicon glyphicon-off" title="{{logtypeid}}" onclick="$('#filterstring').tagsinput('add', '{{logtypeid}}')"></span></td> + <td class="text-right" nowrap="nowrap">{{date}}</td> + <td>{{clientip}}</td> + <td>{{description}}</td> + <td>{{#extra}}<a class="btn btn-default btn-xs pull-left" data-toggle="collapse" data-target="#extra{{logid}}">»</a>{{/extra}}</td> + </tr> + <tr class="collapse" id="extra{{logid}}"> + <td colspan="5"><pre>{{extra}}</pre></td> + </tr> + {{/list}} + </tbody> + </table> {{{pagenav}}} </div> diff --git a/templates/page-vmstore.html b/templates/page-vmstore.html index 1dde2734..3772c2b6 100644 --- a/templates/page-vmstore.html +++ b/templates/page-vmstore.html @@ -4,16 +4,16 @@ <input type="hidden" name="action" value="setstore"> <div class="panel panel-default"> <div class="panel-heading"> - VM Speicherort <a class="btn btn-default" data-toggle="modal" data-target="#help-store"><span class="glyphicon glyphicon-question-sign"></span></a> + {{lang_vmLocation}} <a class="btn btn-default" data-toggle="modal" data-target="#help-store"><span class="glyphicon glyphicon-question-sign"></span></a> </div> <div class="panel-body slx-md-width"> - <p>Bitte wählen Sie, wo die Images der Virtuellen Maschinen gespeichert werden sollen.</p> + <p>{{lang_vmLocationChoose}}</p> <div class="panel panel-default"> <div class="panel-heading"> - <input type="radio" name="storetype" value="internal" {{pre-internal}}> Intern + <input type="radio" name="storetype" value="internal" {{pre-internal}}> {{lang_intern}} </div> <div class="panel-body"> - Keine Weitere Konfiguration notwendig + {{lang_noAdditionalInformation}} </div> </div> <div class="panel panel-default"> @@ -33,32 +33,32 @@ <label for="cifsaddr">UNC-Pfad</label> <input type="text" class="form-control" name="cifsaddr" value="{{cifsaddr}}" placeholder="\\samba.server.example.com\bwlp" id="cifsaddr"> <br> - <label for="cifsuser">Lese/Schreib-Zugangsdaten</label> + <label for="cifsuser">{{lang_readWrite}}</label> <div class="input-group"> <span class="input-group-addon slx-ga"> - Benutzername + {{lang_username}} </span> - <input type="text" class="form-control" name="cifsuser" value="{{cifsuser}}" placeholder="Benutzername" id="cifsuser"> + <input type="text" class="form-control" name="cifsuser" value="{{cifsuser}}" placeholder="{{lang_username}}" id="cifsuser"> <span class="input-group-addon"> - Passwort + {{lang_password}} </span> - <input type="text" class="form-control" name="cifspasswd" value="{{cifspasswd}}" placeholder="Passwort"> + <input type="text" class="form-control" name="cifspasswd" value="{{cifspasswd}}" placeholder="{{lang_password}}"> </div> <br> - <label for="cifsuserro">Nur-Lese-Zugangsdaten</label> + <label for="cifsuserro">{{lang_readOnly}}</label> <div class="input-group"> <span class="input-group-addon slx-ga"> - Benutzername + {{lang_username}} </span> - <input type="text" class="form-control" name="cifsuserro" value="{{cifsuserro}}" placeholder="Benutzername" id="cifsuserro"> + <input type="text" class="form-control" name="cifsuserro" value="{{cifsuserro}}" placeholder="{{lang_username}}" id="cifsuserro"> <span class="input-group-addon"> - Passwort + {{lang_password}} </span> - <input type="text" class="form-control" name="cifspasswdro" value="{{cifspasswdro}}" placeholder="Passwort"> + <input type="text" class="form-control" name="cifspasswdro" value="{{cifspasswdro}}" placeholder="{{lang_password}}"> </div> </div> </div> - <button class="btn btn-primary" type="submit">Speichern</button> + <button class="btn btn-primary" type="submit">{{lang_save}}</button> </div> </div> </form> @@ -67,27 +67,19 @@ <div class="modal fade" id="help-store" tabindex="-1" role="dialog"> <div class="modal-dialog"> <div class="modal-content"> - <div class="modal-header">VM Speicherort</div> + <div class="modal-header">{{lang_vmLocation}}</div> <div class="modal-body"> <p> - Für Testzwecke können die VMs direkt auf dem Satellitenserver gespeichert werden. Sofern Sie - jedoch die ausgelieferte Satelliten-vmdk betreiben bedenken Sie bitte, dass Sie dann nur ca. 100GB - Speicher zur Verfügung haben. + {{lang_vmLocationHelp1}} </p> <p> - Im Produktivbetrieb bietet es sich an, hierfür einen performanten Netzwerkspeicher zu benutzen. - Dieser Netzwerkspeicher kann per NFS oder CIFS/SMB eingebunden werden. In jedem Fall muss sichergestellt - werden, dass der Satellitenserver zum Hinzufügen neuer Virtueller Maschinen Schreibzugriff auf - diesen Netzwerkspeicher hat. Bei der Nutzung von NFSv3 kann dies IP-Basiert eingerichtet werden, - für die Nutzung von CIFS/SMB können Sie Zugangsdaten angaben, die zum Schreiben berechtigen. + {{lang_vmLocationHelp2}} </p> <p> - Die bwLehrpool-Clients brauchen lediglich Lesezugriff auf den Netzwerkspeicher (und sollten aus - Sicherheitsgründen auch wirklich nur lesen können). Bei CIFS/SMB erreichen Sie dies am einfachsten, - indem Sie passwortlosen Gastzugriff mit Leserechten auf die Freigabe erlauben. + {{lang_vmLocationHelp3}} </p> </div> - <div class="modal-footer"><a class="btn btn-primary" data-dismiss="modal">Schließen</a></div> + <div class="modal-footer"><a class="btn btn-primary" data-dismiss="modal">{{lang_close}}</a></div> </div> </div> </div> diff --git a/templates/serversetup/ipaddress.html b/templates/serversetup/ipaddress.html index 013c6785..acfbb408 100644 --- a/templates/serversetup/ipaddress.html +++ b/templates/serversetup/ipaddress.html @@ -1,12 +1,11 @@ <div class="container"> <div class="panel panel-default"> <div class="panel-heading"> - Boot-Adresse des Servers + {{lang_bootAddress}} </div> <div class="panel-body"> <p> - Bitte wählen Sie die primäre IP-Adresse des Servers aus. Dies ist für einige Dienste und Funktionen notwendig, - z.B. wenn Sie Authentifizierung über Active Directory nutzen wollen. + {{lang_chooseIP}} </p> <form method="post" action="?do=ServerSetup"> <input type="hidden" name="action" value="ip"> @@ -17,18 +16,21 @@ <td>{{ip}}</td> {{#default}} <td> - <span class="btn btn-success btn-xs"><span class="glyphicon glyphicon-ok"></span> Aktiv</span> + <span class="btn btn-success btn-xs"><span class="glyphicon glyphicon-ok"></span> {{lang_active}}</span> </td> {{/default}} {{^default}} <td> - <button class="btn btn-primary btn-xs" name="ip" value="{{ip}}"><span class="glyphicon glyphicon-flag"></span> Setzen</button> + <button class="btn btn-primary btn-xs" name="ip" value="{{ip}}"><span class="glyphicon glyphicon-flag"></span> {{lang_set}}</button> </td> {{/default}} </tr> {{/ips}} </table> + <p> + {{lang_bootHint}} + </p> </form> </div> </div> -</div>
\ No newline at end of file +</div> diff --git a/templates/serversetup/ipxe.html b/templates/serversetup/ipxe.html index 90e6b734..772777d1 100644 --- a/templates/serversetup/ipxe.html +++ b/templates/serversetup/ipxe.html @@ -4,37 +4,37 @@ <input type="hidden" name="token" value="{{token}}"> <div class="panel panel-default"> <div class="panel-heading"> - Bootmenü + {{lang_bootMenu}} </div> <div class="panel-body"> <p> - Hier können Anpassungen am Erscheinungsbild des Bootmenüs vorgenommen werden. + {{lang_bootInfo}} </p> <br> <div class="form-group"> - <strong>Standard-Bootverhalten</strong> + <strong>{{lang_bootBehavior}}</strong> <label class="radio"><input type="radio" name="defaultentry" value="net" {{active-net}}> bwLehrpool</label> - <label class="radio"><input type="radio" name="defaultentry" value="hdd" {{active-hdd}}> Lokale HDD</label> + <label class="radio"><input type="radio" name="defaultentry" value="hdd" {{active-hdd}}> {{lang_localHDD}}</label> <label class="radio"><input type="radio" name="defaultentry" value="custom" {{active-custom}}> "my-entry"</label> </div> <div class="form-group"> - <strong>Anzeigedauer des Menüs</strong> + <strong>{{lang_menuDisplayTime}}</strong> <div class="input-group form-narrow"> <input type="text" class="form-control" name="timeout" value="{{timeout}}" pattern="\d+"> - <span class="input-group-addon">Sekunden</span> + <span class="input-group-addon">{{lang_seconds}}</span> </div> </div> <div class="form-group"> - <strong>Benutzerdefinierter Menüzusatz</strong> <a class="btn btn-default btn-xs" data-toggle="modal" data-target="#help-custom"><span class="glyphicon glyphicon-question-sign"></span></a> + <strong>{{lang_menuCustom}}</strong> <a class="btn btn-default btn-xs" data-toggle="modal" data-target="#help-custom"><span class="glyphicon glyphicon-question-sign"></span></a> <textarea class="form-control" name="custom">{{custom}}</textarea> </div> </div> <div class="panel-footer"> - <button class="btn btn-primary" name="action" value="ipxe">Bootmenü erzeugen</button> + <button class="btn btn-primary" name="action" value="ipxe">{{lang_bootMenuCreate}}</button> </div> </div> </form> @@ -43,26 +43,20 @@ <div class="modal fade" id="help-custom" tabindex="-1" role="dialog"> <div class="modal-dialog"> <div class="modal-content"> - <div class="modal-header">Benutzerdefinierter Menüzusatz</div> + <div class="modal-header">{{lang_menuCustom}}</div> <div class="modal-body"> - Hier haben Sie die Möglichkeit, eigenen Menü-Code zum angezeigten PXE-Menü hinzuzufügen, - um z.B. auf weitere PXE-Server zu verweisen. Das Format entspricht dem syslinux Menüformat. - <br>Bespiele: + {{lang_menuCustomHint1}} + <br>{{lang_example}}: <pre>LABEL my-entry - MENU LABEL ^Mein Eintrag + MENU LABEL ^My Entry KERNEL http://1.2.3.4/kernel INITRD http://1.2.3.4/initramfs-stage31 APPEND custom=option IPAPPEND 3</pre> - <pre>LABEL weiterleitung - MENU LABEL Anderer ^Server - KERNEL pxechn.c32 - APPEND 1.2.3.4::pxelinux.0</pre> - Sie können ein oder mehrere Einträge erzeugen. Wenn Sie einen Eintrag erzeugen möchten, der - automatisch gestartet wird, wenn der Benutzer keine Auswahl tätigt, vergeben Sie als LABEL <strong>my-entry</strong> - und wählen Sie als <strong>Standard-Bootverhalten</strong> ebenfalls <strong>my-entry</strong>. + {{lang_menuCustomHint2}} LABEL <strong>my-entry</strong> + {{lang_menuCustomHint3}} </div> - <div class="modal-footer"><a class="btn btn-primary" data-dismiss="modal">Schließen</a></div> + <div class="modal-footer"><a class="btn btn-primary" data-dismiss="modal">{{lang_close}}</a></div> </div> </div> </div> diff --git a/templates/sysconfig/_page.html b/templates/sysconfig/_page.html index 84f98408..086ea9af 100644 --- a/templates/sysconfig/_page.html +++ b/templates/sysconfig/_page.html @@ -1,7 +1,7 @@ <div class="container"> <div class="panel panel-default"> <div class="panel-heading"> - Verfügbare Systemkonfigurationen + {{lang_availableSystem}} <a class="btn btn-default" data-toggle="modal" data-target="#help-config"><span class="glyphicon glyphicon-question-sign"></span></a> </div> <div class="panel-body"> @@ -16,42 +16,41 @@ {{^current}} <button class="btn btn-primary btn-xs" name="activate" value="{{configid}}"> <span class="glyphicon glyphicon-flag"></span> - Aktivieren + {{lang_activate}} </button> {{/current}} {{#current}} <span class="btn btn-success btn-xs"> <span class="glyphicon glyphicon-ok"></span> - Aktiv + {{lang_active}} </span> {{/current}} </td> <td> - <button class="btn btn-danger btn-xs" name="del" value="{{configid}}"><span class="glyphicon glyphicon-trash"></span> Löschen</button> + <button class="btn btn-danger btn-xs" name="del" value="{{configid}}"><span class="glyphicon glyphicon-trash"></span> {{lang_close}}</button> </td> </tr> {{/configs}} </table> {{^configs}} <div class="alert alert-warning"> - Keine Systemkonfigurationen gefunden. - <br>Erstellen Sie eine neue Konfiguration aus den unten aufgeführten Konfigurationsmodulen. + {{lang_systemConfigurationNotFound}} </div> {{^modules}} <div class="alert alert-danger"> - Bevor Sie eine Systemkonfiguration erstellen können, müssen Sie zunächst ein Konfigurationsmodul erzeugen. + {{lang_systemConfigurationAlert}} </div> {{/modules}} {{/configs}} </form> </div> <div class="panel-footer"> - <a class="btn btn-primary" href="?do=SysConfig&action=addconfig">Neue Konfiguration</a> + <a class="btn btn-primary" href="?do=SysConfig&action=addconfig">{{lang_newConfiguration}}</a> </div> </div> <div class="panel panel-default"> <div class="panel-heading"> - Verfügbare Konfigurationsmodule + {{lang_availableModules}} <a class="btn btn-default" data-toggle="modal" data-target="#help-module"><span class="glyphicon glyphicon-question-sign"></span></a> </div> <div class="panel-body"> @@ -63,22 +62,22 @@ <tr> <td>{{module}}</td> <td> - <button class="btn btn-default btn-xs" name="list" value="{{moduleid}}"><span class="glyphicon glyphicon-eye-open"></span> Ansehen</button> + <button class="btn btn-default btn-xs" name="list" value="{{moduleid}}"><span class="glyphicon glyphicon-eye-open"></span> {{lang_show}}</button> <!-- a class="btn btn-default btn-xs"><span class="glyphicon glyphicon-edit"></span> Bearbeiten</a --> </td> <td> - <button class="btn btn-danger btn-xs" name="del" value="{{moduleid}}"><span class="glyphicon glyphicon-trash"></span> Löschen</button> + <button class="btn btn-danger btn-xs" name="del" value="{{moduleid}}"><span class="glyphicon glyphicon-trash"></span> {{lang_delete}}</button> </td> </tr> {{/modules}} </table> {{^modules}} - <div class="alert alert-warning">Keine Konfigurationsmodule gefunden!</div> + <div class="alert alert-warning">{{lang_configurationModuleNotFound}}</div> {{/modules}} </form> </div> <div class="panel-footer"> - <a class="btn btn-primary" href="?do=SysConfig&action=addmodule">Neues Modul</a> + <a class="btn btn-primary" href="?do=SysConfig&action=addmodule">{{lang_newModule}}</a> </div> </div> </div> @@ -86,15 +85,11 @@ <div class="modal fade" id="help-config" tabindex="-1" role="dialog"> <div class="modal-dialog"> <div class="modal-content"> - <div class="modal-header">Systemkonfiguration</div> + <div class="modal-header">{{lang_systemConfiguration}}</div> <div class="modal-body"> - Über eine Systemkonfiguration wird die grundlegende Lokalisierung des bwLehrpool-Systems - durchgeführt. Dazu gehören Aspekte wie das Authentifizierungsverfahren für Benutzer - (z.B. Active Directory, LDAP), Druckerkonfiguration, Home-Verzeichnisse, etc.<br> - Eine Systemkonfiguration setzt sich aus einem oder mehreren Konfigurationsmodulen zusammen, - welche im unteren Bereich dieser Seite verwaltet werden können. + {{lang_helpSystemConfiguration}} </div> - <div class="modal-footer"><a class="btn btn-primary" data-dismiss="modal">Schließen</a></div> + <div class="modal-footer"><a class="btn btn-primary" data-dismiss="modal">{{lang_close}}</a></div> </div> </div> </div> @@ -102,13 +97,11 @@ <div class="modal fade" id="help-module" tabindex="-1" role="dialog"> <div class="modal-dialog"> <div class="modal-content"> - <div class="modal-header">Konfigurationsmodule</div> + <div class="modal-header">{{lang_moduleConfiguration}}</div> <div class="modal-body"> - Konfigurationsmodule sind die Bausteine, aus denen eine Systemkonfiguration erstellt wird. - Hier lassen sich sowohl generische Module durch einen Wizard anlegen, als auch komplett eigene - Module erstellen (fortgeschritten, Linuxkenntnisse erforderlich). + {{lang_helpModuleConfiguration}} </div> - <div class="modal-footer"><a class="btn btn-primary" data-dismiss="modal">Schließen</a></div> + <div class="modal-footer"><a class="btn btn-primary" data-dismiss="modal">{{lang_close}}</a></div> </div> </div> </div> diff --git a/templates/sysconfig/ad-checkconnection.html b/templates/sysconfig/ad-checkconnection.html index 3a2c7a42..e321dc6e 100644 --- a/templates/sysconfig/ad-checkconnection.html +++ b/templates/sysconfig/ad-checkconnection.html @@ -1,5 +1,5 @@ <p> - Die Verbindung zum angegebenen AD-Server wird nun überprüft. Bitte haben Sie einen Moment Geduld. + {{lang_connectionWait}} </p> <div id="zeug"> @@ -14,7 +14,7 @@ <input name="binddn" value="{{binddn}}" type="hidden"> <input name="bindpw" value="{{bindpw}}" type="hidden"> <input name="home" value="{{home}}" type="hidden"> - <button type="submit" class="btn btn-primary">« Zurück</button> + <button type="submit" class="btn btn-primary">« {{lang_back}}</button> </form> </div> <div class="pull-right"> @@ -25,7 +25,7 @@ <input name="binddn" value="{{binddn}}" type="hidden"> <input name="bindpw" value="{{bindpw}}" type="hidden"> <input name="home" value="{{home}}" type="hidden"> - <button id="nextbutton" type="submit" class="btn btn-primary">Überspringen »</button> + <button id="nextbutton" type="submit" class="btn btn-primary">{{lang_skip}} »</button> </form> </div> <script type="text/javascript"> diff --git a/templates/sysconfig/ad-finish.html b/templates/sysconfig/ad-finish.html index a0199728..61564b38 100644 --- a/templates/sysconfig/ad-finish.html +++ b/templates/sysconfig/ad-finish.html @@ -1,16 +1,16 @@ <p> - Der AD-Proxy wird nun konfiguriert und gestartet... + {{lang_adStarted}} </p> <div id="zeug"> - <div data-tm-id="{{tm-config}}" data-tm-log="error" data-tm-callback="ldapCb">Modul erzeugen</div> + <div data-tm-id="{{tm-config}}" data-tm-log="error" data-tm-callback="ldapCb">{{lang_generateModule}}</div> </div> <br> <div id="back" class="pull-left" style="display:none"> - <a href="?do=SysConfig&action=addmodule&step=AdModule_Start" class="btn btn-primary">Assistent neustarten</a> + <a href="?do=SysConfig&action=addmodule&step=AdModule_Start" class="btn btn-primary">{{lang_restartWizard}}</a> </div> <div id="finish" class="pull-right" style="display:none"> - <a href="?do=SysConfig" class="btn btn-primary">Zur Systemkonfiguration</a> + <a href="?do=SysConfig" class="btn btn-primary">{{lang_to}} {{lang_systemConfiguration}}</a> </div> <script type="text/javascript"> function ldapCb(task) diff --git a/templates/sysconfig/ad-start.html b/templates/sysconfig/ad-start.html index d4fdbdb7..01f55aa8 100644 --- a/templates/sysconfig/ad-start.html +++ b/templates/sysconfig/ad-start.html @@ -55,7 +55,7 @@ </div> <br> <div class="pull-right"> - <button type="submit" class="btn btn-primary">Weiter »</button> + <button type="submit" class="btn btn-primary">{{lang_next}} »</button> </div> </form> diff --git a/templates/sysconfig/cfg-finish.html b/templates/sysconfig/cfg-finish.html index 2bf63420..a6e51996 100644 --- a/templates/sysconfig/cfg-finish.html +++ b/templates/sysconfig/cfg-finish.html @@ -1,5 +1,5 @@ <p> - Die Konfiguration wurde erfolgreich erstellt. + {{lang_configurationSuccess}} </p> <form role="form" method="post" action="?do=SysConfig"> @@ -7,6 +7,6 @@ <input type="hidden" name="action" value="config"> <input type="hidden" name="activate" value="{{configid}}"> <div class="pull-left"> - <button type="submit" class="btn btn-primary">Konfiguration aktivieren</button> + <button type="submit" class="btn btn-primary">{{lang_configurationActive}}</button> </div> </form> diff --git a/templates/sysconfig/cfg-start.html b/templates/sysconfig/cfg-start.html index 7d092337..44119dd3 100644 --- a/templates/sysconfig/cfg-start.html +++ b/templates/sysconfig/cfg-start.html @@ -1,11 +1,11 @@ <form role="form" method="post" action="?do=SysConfig&action=addconfig&step={{step}}"> <input type="hidden" name="token" value="{{token}}"> <div class="input-group"> - <span class="input-group-addon">Name</span> - <input type="text" name="title" class="form-control" placeholder="Meine Konfiguration" autofocus="autofocus"> + <span class="input-group-addon">{{lang_name}}</span> + <input type="text" name="title" class="form-control" placeholder="{{lang_configuration}}" autofocus="autofocus"> </div> <hr> - <p>Bitte wählen Sie, welche Module für diese Konfiguration verwendet werden sollen.</p> + <p>{{lang_configurationChoose}}</p> {{#groups}} <div class="panel panel-default"> <div class="slx-litehead">{{group}}</div> @@ -27,12 +27,12 @@ </div> {{/modules}} {{^modules}} - <a class="btn btn-primary btn-xs" href="?do=SysConfig&action=addmodule&step={{startClass}}">Neu..</a> + <a class="btn btn-primary btn-xs" href="?do=SysConfig&action=addmodule&step={{startClass}}">{{lang_new}}..</a> {{/modules}} </div> </div> {{/groups}} <div class="pull-right"> - <button type="submit" class="btn btn-primary">Weiter »</button> + <button type="submit" class="btn btn-primary">{{lang_next}} »</button> </div> </form> diff --git a/templates/sysconfig/custom-filelist.html b/templates/sysconfig/custom-filelist.html index 3d2a079b..3ad241dd 100644 --- a/templates/sysconfig/custom-filelist.html +++ b/templates/sysconfig/custom-filelist.html @@ -13,4 +13,4 @@ </tr> {{/files}} </table> -<a class="btn btn-primary btn-sm" href="?do=SysConfig">Zurück «</a> +<a class="btn btn-primary btn-sm" href="?do=SysConfig">{{lang_back}} «</a> diff --git a/templates/sysconfig/custom-fileselect.html b/templates/sysconfig/custom-fileselect.html index 21537c49..659a92dc 100644 --- a/templates/sysconfig/custom-fileselect.html +++ b/templates/sysconfig/custom-fileselect.html @@ -2,7 +2,7 @@ <input type="hidden" name="modid" value="{{modid}}"> <input type="hidden" name="token" value="{{token}}"> <div class="input-group"> - <span class="input-group-addon">Modulname</span> + <span class="input-group-addon">{{lang_moduleName}}</span> <input type="text" name="title" class="form-control" placeholder="Mein Konfigurationsmodul" autofocus="autofocus"> </div> <hr> @@ -21,6 +21,6 @@ {{/files}} </table> <div class="pull-right"> - <button type="submit" class="btn btn-primary">Weiter »</button> + <button type="submit" class="btn btn-primary">{{lang_next}} »</button> </div> </form> diff --git a/templates/sysconfig/start.html b/templates/sysconfig/start.html index 68777329..f03444aa 100644 --- a/templates/sysconfig/start.html +++ b/templates/sysconfig/start.html @@ -1,9 +1,9 @@ -<p>Bitte wählen Sie aus, welche Art Konfigurationsmodul Sie erstellen möchten.</p> +<p>{{lang_moduleChoose}}</p> {{#modules}} <div class="panel panel-default"> <div class="panel-heading"> - {{title}} <a href="?do=SysConfig&action=addmodule&step={{startClass}}" class="pull-right btn btn-primary btn-xs"><span class="glyphicon glyphicon-plus"></span> Hinzufügen</a> + {{title}} <a href="?do=SysConfig&action=addmodule&step={{startClass}}" class="pull-right btn btn-primary btn-xs"><span class="glyphicon glyphicon-plus"></span> {{lang_add}}</a> </div> <div class="panel-body"> {{description}} diff --git a/templates/systemstatus/_page.html b/templates/systemstatus/_page.html index fca087d1..9c50bb93 100644 --- a/templates/systemstatus/_page.html +++ b/templates/systemstatus/_page.html @@ -9,7 +9,7 @@ <div class="col-md-6"> <div class="panel panel-default"> <div class="panel-heading"> - Speicherplatz + {{lang_space}} </div> <div class="panel-body" id="diskstat"> <span class="glyphicon glyphicon-refresh slx-rotation"></span> @@ -20,7 +20,7 @@ <div class="col-md-6"> <div class="panel panel-default"> <div class="panel-heading"> - Dienste + {{lang_services}} </div> <div class="panel-body" id="services"> <span class="glyphicon glyphicon-refresh slx-rotation"></span> @@ -36,7 +36,7 @@ <div class="col-md-6"> <div class="panel panel-default"> <div class="panel-heading"> - Adresskonfiguration + {{lang_addressConfiguration}} </div> <div class="panel-body" id="addresses"> <span class="glyphicon glyphicon-refresh slx-rotation"></span> @@ -47,7 +47,7 @@ <div class="col-md-6"> <div class="panel panel-default"> <div class="panel-heading"> - System + {{lang_system}} </div> <div class="panel-body" id="systeminfo"> <span class="glyphicon glyphicon-refresh slx-rotation"></span> @@ -62,14 +62,14 @@ <div class="col-md-6"> <div class="panel panel-default"> <div class="panel-heading"> - Wartung + {{lang_maintenance}} </div> <div class="panel-body"> <form class="form-adduser" action="?do=SystemStatus" method="post"> <input type="hidden" name="token" value="{{token}}"> <input type="hidden" name="action" value="reboot"> <div>Server Reboot</div> - <label><input type="checkbox" name="confirm" value="yep"> Ja, ich bin sicher</label> + <label><input type="checkbox" name="confirm" value="yep"> {{lang_iAmSure}}</label> <button class="btn btn-warning btn-xs" type="submit">Reboot</button> </form> </div> diff --git a/templates/systemstatus/diskstat.html b/templates/systemstatus/diskstat.html index 02487c0d..71ad7b9a 100644 --- a/templates/systemstatus/diskstat.html +++ b/templates/systemstatus/diskstat.html @@ -1,21 +1,21 @@ <div class="slx-storechart"> {{#system}} - <b>Systempartition</b> + <b>{{lang_systemPartition}}</b> <div id="circles-system"></div> - Kapazität: {{size}} + {{lang_capacity}}: {{size}} {{/system}} {{^system}} - <b>Fehler beim Ermitteln des verfügbaren Speichers auf der Systempartition!</b> + <b>{{lan_availableMemoryError}}</b> {{/system}} </div> <div class="slx-storechart"> {{#store}} - <b>VM-Speicher</b> + <b>{{lang_vmStore}}</b> <div id="circles-store"></div> - Kapazität: {{size}} + {{lang_capacity}}: {{size}} {{/store}} {{^store}} - <b>Fehler beim Ermitteln des verfügbaren Speicherplatzes am VM-Speicherort. Bitte überprüfen Sie die Konfiguration.</b> + <b>{{lang_vmStoreError}}</b> {{/store}} </div> <div class="clearfix"></div> @@ -49,4 +49,4 @@ textClass: 'circles-text' }); {{/system}} -</script>
\ No newline at end of file +</script> diff --git a/templates/systemstatus/systeminfo.html b/templates/systemstatus/systeminfo.html index 78cdd43e..11076d52 100644 --- a/templates/systemstatus/systeminfo.html +++ b/templates/systemstatus/systeminfo.html @@ -1,41 +1,41 @@ <div> - OS Uptime: {{uptime}} + {{lang_uptimeOS}}: {{uptime}} </div> <div class="slx-storechart"> - <b>CPU-Last</b> + <b>{{lang_cpuLoad}}</b> {{#cpuLoadOk}} <div id="circles-cpuload"></div> - <div>Durchschnitt: {{cpuLoad}}%</div> - <div>Nur OS: {{cpuSystem}}%</div> - <div>Logische CPUs: {{cpuCount}}</div> + <div>{{lang_average}}: {{cpuLoad}}%</div> + <div>{{lang_onlyOS}}: {{cpuSystem}}%</div> + <div>{{lang_logicCPUs}}: {{cpuCount}}</div> {{/cpuLoadOk}} {{^cpuLoadOk}} - Konnte nicht ermittelt werden + {{lang_notDetermined}} {{/cpuLoadOk}} </div> <div class="slx-storechart"> - <b>RAM-Nutzung</b> + <b>{{lang_ramUsage}}</b> {{#memTotal}} <div id="circles-mem"></div> - <div>Gesamt: {{memTotal}}</div> - <div>Frei: {{memFree}}</div> + <div>{{lang_total}}: {{memTotal}}</div> + <div>{{lang_free}}: {{memFree}}</div> {{/memTotal}} {{^memTotal}} - Konnte nicht ermittelt werden + {{lang_notDetermined}} {{/memTotal}} </div> <div class="slx-storechart"> - <b>swap-Nutzung</b> + <b>{{lang_swapUsage}}</b> {{#memTotal}} <div id="circles-swap"></div> - <div>Gesamt: {{swapTotal}}</div> - <div>Belegt: {{swapUsed}}</div> + <div>{{lang_total}}: {{swapTotal}}</div> + <div>{{lang_occupied}}: {{swapUsed}}</div> {{/memTotal}} {{^memTotal}} - Konnte nicht ermittelt werden + {{lang_notDetermined}} {{/memTotal}} </div> @@ -43,8 +43,7 @@ {{#swapWarning}} <div> - <b>Achtung!</b> Es wird swap-Speicher genutzt. Dies kann ein Hinweis darauf sein, dass dem Satelliten-Server zu wenig physikalischer Speicher zur Verfügung steht. Im Falle von - Performance-Problemen oder Instabilität des Servers sollten Sie erwägen, den Server mit mehr RAM auszustatten. + <b>{{lang_attention}}</b> {{lang_swapWarning}} </div> {{/swapWarning}} @@ -89,4 +88,4 @@ textClass: 'circles-text' }); {{/memTotal}} -</script>
\ No newline at end of file +</script> diff --git a/templates/vmstore/mount.html b/templates/vmstore/mount.html index d781d061..e1893e00 100644 --- a/templates/vmstore/mount.html +++ b/templates/vmstore/mount.html @@ -2,15 +2,15 @@ <div class="panel panel-default"> <div class="panel-heading"> - VM Speicherort wird konfiguriert + {{lang_vmLocationConfiguration}} </div> <div class="panel-body"> - <div data-tm-id="{{task}}" data-tm-log="messages" data-tm-callback="mountCb">Konfigurieren</div> + <div data-tm-id="{{task}}" data-tm-log="messages" data-tm-callback="mountCb">{{lang_configure}}</div> <br> <div id="finish" class="pull-right" style="display:none"> - <a href="?do=VmStore" class="btn btn-primary">Zurück</a> + <a href="?do=VmStore" class="btn btn-primary">{{lang_back}}</a> </div> <script type="text/javascript"> function mountCb(task) @@ -25,4 +25,4 @@ </div> </div> -</div>
\ No newline at end of file +</div> |