First steps to internationalization - not finally all files modified!

This commit is contained in:
dg9vh 2017-03-14 06:31:30 +00:00
parent 8957a1c657
commit 9ec7d19d36
20 changed files with 899 additions and 97 deletions

View file

@ -3,6 +3,16 @@
header("Cache-Control: no-cache, must-revalidate"); header("Cache-Control: no-cache, must-revalidate");
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
include "config/config.php"; include "config/config.php";
include "locale/".LOCALE."/settings.php";
$codeset = "UTF8";
putenv('LANG='.LANG_LOCALE.'.'.$codeset);
putenv('LANGUAGE='.LANG_LOCALE.'.'.$codeset);
bind_textdomain_codeset('messages', $codeset);
bindtextdomain('messages', dirname(__FILE__).'/locale/');
setlocale(LC_ALL, LANG_LOCALE.'.'.$codeset);
textdomain('messages');
include "include/tools.php"; include "include/tools.php";
include "include/functions.php"; include "include/functions.php";
@ -201,30 +211,30 @@ if ($_GET['section'] == "sysinfo") {
<?php <?php
if (defined("SHOWPOWERSTATE")) { if (defined("SHOWPOWERSTATE")) {
?> ?>
<th>Power</th> <th><?php echo _("Power"); ?></th>
<?php <?php
} }
if ($cputemp !== NULL) { if ($cputemp !== NULL) {
?> ?>
<th>CPU-Temperature</th> <th><?php echo _("CPU-Temperature"); ?></th>
<?php <?php
} }
if ($cpufreq !== NULL) { if ($cpufreq !== NULL) {
?> ?>
<th>CPU-Frequency</th> <th><?php echo _("CPU-Frequency");?></th>
<?php <?php
} }
?> ?>
<th>System-Load</th> <th><?php echo _("System-Load"); ?></th>
<th>CPU-Usage</th> <th><?php echo _("CPU-Usage"); ?></th>
<th>Uptime</th> <th><?php echo _("Uptime"); ?></th>
<th>Idle</th> <th><?php echo _("Idle"); ?></th>
</tr> </tr>
<tr class="gatewayinfo"> <tr class="gatewayinfo">
<?php <?php
if (defined("SHOWPOWERSTATE")) { if (defined("SHOWPOWERSTATE")) {
?> ?>
<td><?php if ($pinStatus == POWERONLINESTATE ) {echo "online";} else {echo "on battery";} ?></td> <td><?php if ($pinStatus == POWERONLINESTATE ) {echo _("online");} else {echo _("on battery");} ?></td>
<?php <?php
} }
if ($cputemp !== NULL) { if ($cputemp !== NULL) {

View file

@ -1,18 +1,18 @@
<div class="panel panel-default"> <div class="panel panel-default">
<!-- Standard-Panel-Inhalt --> <!-- Standard-Panel-Inhalt -->
<div class="panel-heading">Disk Use<span class="pull-right clickable"><i class="glyphicon glyphicon-chevron-up"></i></span></div> <div class="panel-heading"><?php echo _("Disk Use"); ?><span class="pull-right clickable"><i class="glyphicon glyphicon-chevron-up"></i></span></div>
<div class="panel-body"> <div class="panel-body">
<!-- Tabelle --> <!-- Tabelle -->
<div class="table-responsive"> <div class="table-responsive">
<table id="diskuse" class="table diskuse table-condensed table-striped table-hover"> <table id="diskuse" class="table diskuse table-condensed table-striped table-hover">
<thead> <thead>
<tr> <tr>
<th class="w10p filesystem">File System</th> <th class="w10p filesystem"><?php echo _("File System"); ?></th>
<th class="w20p">Mount Point</th> <th class="w20p"><?php echo _("Mount Point"); ?></th>
<th>Use</th> <th><?php echo _("Use"); ?></th>
<th class="w15p">Free</th> <th class="w15p"><?php echo _("Free"); ?></th>
<th class="w15p">Used</th> <th class="w15p"><?php echo _("Used"); ?></th>
<th class="w15p">Total</th> <th class="w15p"><?php echo _("Total"); ?></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>

View file

@ -3,29 +3,29 @@ $totalLH = count($lastHeard);
?> ?>
<div class="panel panel-default"> <div class="panel panel-default">
<!-- Standard-Panel-Inhalt --> <!-- Standard-Panel-Inhalt -->
<div class="panel-heading">Last Heard List of today's <?php echo $totalLH; ?> callsigns.<span class="pull-right clickable"><i class="glyphicon glyphicon-chevron-up"></i></span></div> <div class="panel-heading"><?php echo _("Last Heard List of today's")." ".$totalLH." "._("callsigns."); ?><span class="pull-right clickable"><i class="glyphicon glyphicon-chevron-up"></i></span></div>
<div class="panel-body"> <div class="panel-body">
<!-- Tabelle --> <!-- Tabelle -->
<div class="table-responsive"> <div class="table-responsive">
<table id="lastHeard" class="table lastHeard table-condensed table-striped table-hover"> <table id="lastHeard" class="table lastHeard table-condensed table-striped table-hover">
<thead> <thead>
<tr> <tr>
<th>Time (<?php echo TIMEZONE;?>)</th> <th><?php echo _("Time"); ?> (<?php echo TIMEZONE;?>)</th>
<th>Mode</th> <th><?php echo _("Mode"); ?></th>
<th>Callsign</th> <th><?php echo _("Callsign"); ?></th>
<?php <?php
if (defined("ENABLEXTDLOOKUP")) { if (defined("ENABLEXTDLOOKUP")) {
?> ?>
<th>Name</th> <th><?php echo _("Name"); ?></th>
<?php <?php
} }
?> ?>
<th>DSTAR-ID</th> <th><?php echo _("DSTAR-ID"); ?></th>
<th>Target</th> <th><?php echo _("Target"); ?></th>
<th>Source</th> <th><?php echo _("Source"); ?></th>
<th>Dur (s)</th> <th><?php echo _("Dur (s)"); ?></th>
<th>Loss</th> <th><?php echo _("Loss"); ?></th>
<th>BER</th> <th><?php echo _("BER"); ?></th>
</tr> </tr>
</thead> </thead>
</table> </table>

View file

@ -3,34 +3,34 @@ $totalLH = count($lastHeard);
?> ?>
<div class="panel panel-default"> <div class="panel panel-default">
<!-- Standard-Panel-Inhalt --> <!-- Standard-Panel-Inhalt -->
<div class="panel-heading">Today's local transmissions<span class="pull-right clickable"><i class="glyphicon glyphicon-chevron-up"></i></span></div> <div class="panel-heading"><?php echo _("Today's local transmissions"); ?><span class="pull-right clickable"><i class="glyphicon glyphicon-chevron-up"></i></span></div>
<div class="panel-body"> <div class="panel-body">
<!-- Tabelle --> <!-- Tabelle -->
<div class="table-responsive"> <div class="table-responsive">
<table id="localTx" class="table localTx table-condensed table-striped table-hover"> <table id="localTx" class="table localTx table-condensed table-striped table-hover">
<thead> <thead>
<tr> <tr>
<th>Time (<?php echo TIMEZONE;?>)</th> <th><?php echo _("Time"); ?> (<?php echo TIMEZONE;?>)</th>
<th>Mode</th> <th><?php echo _("Mode"); ?></th>
<th>Callsign</th> <th><?php echo _("Callsign"); ?></th>
<?php <?php
if (defined("ENABLEXTDLOOKUP")) { if (defined("ENABLEXTDLOOKUP")) {
?> ?>
<th>Name</th> <th><?php echo _("Name"); ?></th>
<?php <?php
} }
?> ?>
<th>DSTAR-ID</th> <th><?php echo _("DSTAR-ID"); ?></th>
<th>Target</th> <th><?php echo _("Target"); ?></th>
<th>Source</th> <th><?php echo _("Source"); ?></th>
<th>Dur (s)</th> <th><?php echo _("Dur (s)"); ?></th>
<th>Loss</th> <th><?php echo _("Loss"); ?></th>
<th>BER</th> <th><?php echo _("BER"); ?></th>
<?php <?php
if (constant("RSSI") == "min") echo "<th>RSSI (min)</th>"; if (constant("RSSI") == "min") echo "<th>"._("RSSI (min)")."</th>";
else if (constant("RSSI") == "max") echo "<th>RSSI (max)</th>"; else if (constant("RSSI") == "max") echo "<th>"._("RSSI (max)")."</th>";
else if (constant("RSSI") == "avg") echo "<th>RSSI (avg)</th>"; else if (constant("RSSI") == "avg") echo "<th>"._("RSSI (avg)")."</th>";
else echo "<th>RSSI (avg)</th>"; else echo "<th>"._("RSSI (avg)")."</th>";
?> ?>
</tr> </tr>
</thead> </thead>

View file

@ -1,6 +1,6 @@
<div class="panel panel-default"> <div class="panel panel-default">
<!-- Standard-Panel-Inhalt --> <!-- Standard-Panel-Inhalt -->
<div class="panel-heading">Enabled Modes<span class="pull-right clickable"><i class="glyphicon glyphicon-chevron-up"></i></span></div> <div class="panel-heading"><?php echo _("Enabled Modes"); ?><span class="pull-right clickable"><i class="glyphicon glyphicon-chevron-up"></i></span></div>
<div class="panel-body"> <div class="panel-body">
<!-- Tabelle --> <!-- Tabelle -->
<div class="table-responsive"> <div class="table-responsive">

View file

@ -1,27 +1,27 @@
<div class="panel panel-default"> <div class="panel panel-default">
<!-- Standard-Panel-Inhalt --> <!-- Standard-Panel-Inhalt -->
<div class="panel-heading">Repeater Info<span class="pull-right clickable"><i class="glyphicon glyphicon-chevron-up"></i></span></div> <div class="panel-heading"><?php echo _("Repeater Info"); ?><span class="pull-right clickable"><i class="glyphicon glyphicon-chevron-up"></i></span></div>
<div class="panel-body"> <div class="panel-body">
<!-- Tabelle --> <!-- Tabelle -->
<div class="table-responsive"> <div class="table-responsive">
<table class="table repeaterinfo"> <table class="table repeaterinfo">
<tr> <tr>
<th>Current Mode</th> <th><?php echo _("Current Mode"); ?></th>
<?php <?php
if (getEnabled("D-Star", $mmdvmconfigs) == 1) { if (getEnabled("D-Star", $mmdvmconfigs) == 1) {
?> ?>
<th>D-Star linked to</th> <th><?php echo _("D-Star linked to"); ?></th>
<?php <?php
} }
if (getEnabled("System Fusion", $mmdvmconfigs) == 1) { if (getEnabled("System Fusion", $mmdvmconfigs) == 1) {
?> ?>
<th>YSF linked to</th> <th><?php echo _("YSF linked to"); ?></th>
<?php <?php
} }
if (getEnabled("DMR", $mmdvmconfigs) == 1) { if (getEnabled("DMR", $mmdvmconfigs) == 1) {
?> ?>
<th>DMR TS1 last linked to</th> <th><?php echo _("DMR TS1 last linked to"); ?></th>
<th>DMR TS2 last linked to</th> <th><?php echo _("DMR TS2 last linked to"); ?></th>
<?php <?php
} }
?> ?>
@ -45,24 +45,24 @@
<td colspan="5"> <td colspan="5">
<table class="table"> <table class="table">
<tr> <tr>
<th>Location</th> <th><?php echo _("Location"); ?></th>
<th>TX-Freq.</th> <th><?php echo _("TX-Freq."); ?></th>
<th>RX-Freq.</th> <th><?php echo _("RX-Freq."); ?></th>
<?php <?php
if (getEnabled("System Fusion Network", $mmdvmconfigs) == 1) { if (getEnabled("System Fusion Network", $mmdvmconfigs) == 1) {
?> ?>
<th>YSFGateway</th> <th><?php echo _("YSFGateway"); ?></th>
<?php <?php
} }
if (getEnabled("DMR", $mmdvmconfigs) == 1) { if (getEnabled("DMR", $mmdvmconfigs) == 1) {
?> ?>
<th>DMR CC</th> <th><?php echo _("DMR CC"); ?></th>
<?php <?php
if (getEnabled("DMR Network", $mmdvmconfigs) == 1) { if (getEnabled("DMR Network", $mmdvmconfigs) == 1) {
?> ?>
<th>DMR-Master</th> <th><?php echo _("DMR-Master"); ?></th>
<th>TS1</th> <th><?php echo _("TS1"); ?></th>
<th>TS2</th> <th><?php echo _("TS2"); ?></th>
<?php <?php
} }
} }
@ -94,16 +94,16 @@
</td> </td>
<td><span class="label <?php <td><span class="label <?php
if (getConfigItem("DMR Network", "Slot1", $mmdvmconfigs) == 1) { if (getConfigItem("DMR Network", "Slot1", $mmdvmconfigs) == 1) {
echo 'label-success">enabled'; echo 'label-success">'._("enabled");
} else { } else {
echo 'label-default">disabled'; echo 'label-default">'._("disabled");
} }
?></span></td> ?></span></td>
<td><span class="label <?php <td><span class="label <?php
if (getConfigItem("DMR Network", "Slot2", $mmdvmconfigs) == 1) { if (getConfigItem("DMR Network", "Slot2", $mmdvmconfigs) == 1) {
echo 'label-success">enabled'; echo 'label-success">'._("enabled");
} else { } else {
echo 'label-default">disabled'; echo 'label-default">'._("disabled");
} }
?></span></td> ?></span></td>
<?php <?php

View file

@ -1,6 +1,6 @@
<div class="panel panel-default"> <div class="panel panel-default">
<!-- Standard-Panel-Inhalt --> <!-- Standard-Panel-Inhalt -->
<div class="panel-heading">System Info<span class="pull-right clickable"><i class="glyphicon glyphicon-chevron-up"></i></span></div> <div class="panel-heading"><?php echo _("System Info"); ?><span class="pull-right clickable"><i class="glyphicon glyphicon-chevron-up"></i></span></div>
<div class="panel-body"> <div class="panel-body">
<!-- Tabelle --> <!-- Tabelle -->
<div class="table-responsive"> <div class="table-responsive">

View file

@ -70,13 +70,13 @@ function checkSetup() {
error_reporting(E_ERROR | E_WARNING | E_PARSE); error_reporting(E_ERROR | E_WARNING | E_PARSE);
if (defined(DISTRIBUTION)) { if (defined(DISTRIBUTION)) {
?> ?>
<div class="alert alert-danger" role="alert">You are using an old config.php. Please configure your Dashboard by calling <a href="setup.php">setup.php</a>!</div> <div class="alert alert-danger" role="alert"><?php echo _("You are using an old config.php. Please configure your Dashboard by calling <a href=\"setup.php\">setup.php</a>!"); ?></div>
<?php <?php
} else { } else {
if (file_exists ("setup.php")) { if (file_exists ("setup.php")) {
?> ?>
<div class="alert alert-danger" role="alert">You forgot to remove setup.php in root-directory of your dashboard or you forgot to configure it! Please delete the file or configure your Dashboard by calling <a href="setup.php">setup.php</a>!</div> <div class="alert alert-danger" role="alert"><?php echo _("You forgot to remove setup.php in root-directory of your dashboard or you forgot to configure it! Please delete the file or configure your Dashboard by calling <a href=\"setup.php\">setup.php</a>!"); ?></div>
<?php <?php
} }
} }

View file

@ -1,31 +1,31 @@
<div class="panel panel-default"> <div class="panel panel-default">
<!-- Standard-Panel-Inhalt --> <!-- Standard-Panel-Inhalt -->
<div class="panel-heading">Currently TXing<span class="pull-right clickable"><i class="glyphicon glyphicon-chevron-up"></i></span></div> <div class="panel-heading"><?php echo _("Currently TXing"); ?><span class="pull-right clickable"><i class="glyphicon glyphicon-chevron-up"></i></span></div>
<div class="panel-body"> <div class="panel-body">
<!-- Tabelle --> <!-- Tabelle -->
<div class="table-responsive"> <div class="table-responsive">
<table id="currtx" class="table curTx table-condensed table-striped table-hover"> <table id="currtx" class="table curTx table-condensed table-striped table-hover">
<thead> <thead>
<tr> <tr>
<th>Time (<?php echo TIMEZONE;?>)</th> <th><?php echo _("Time"); ?> (<?php echo TIMEZONE;?>)</th>
<th>Mode</th> <th><?php echo _("Mode"); ?></th>
<th>Callsign</th> <th><?php echo _("Callsign"); ?></th>
<?php <?php
if (defined("ENABLEXTDLOOKUP")) { if (defined("ENABLEXTDLOOKUP")) {
?> ?>
<th>Name</th> <th><?php echo _("Name"); ?></th>
<?php <?php
} }
if (defined("TALKERALIAS")) { if (defined("TALKERALIAS")) {
?> ?>
<th>Talker Alias</th> <th><?php echo _("Talker Alias"); ?></th>
<?php <?php
} }
?> ?>
<th>DSTAR-ID</th> <th><?php echo _("DSTAR-ID"); ?></th>
<th>Target</th> <th><?php echo _("Target"); ?></th>
<th>Source</th> <th><?php echo _("Source"); ?></th>
<th>TX-Time</th> <th><?php echo _("TX-Time"); ?></th>
</tr> </tr>
</thead> </thead>
<tbody id="txline"> <tbody id="txline">

View file

@ -2,7 +2,7 @@
?> ?>
<div class="panel panel-default"> <div class="panel panel-default">
<!-- Standard-Panel-Inhalt --> <!-- Standard-Panel-Inhalt -->
<div class="panel-heading">YSFGateway-Infos<span class="pull-right clickable"><i class="glyphicon glyphicon-chevron-up"></i></span></div> <div class="panel-heading"><?php _("YSFGateway-Infos"); ?><span class="pull-right clickable"><i class="glyphicon glyphicon-chevron-up"></i></span></div>
<div class="panel-body"> <div class="panel-body">
<!-- Tabelle --> <!-- Tabelle -->
<table class="table"> <table class="table">
@ -10,10 +10,10 @@
<td><span class="label <?php <td><span class="label <?php
if (isProcessRunning("YSFGateway")) { if (isProcessRunning("YSFGateway")) {
echo "label-success"; echo "label-success";
?>">YSFGateway Process is running</span></td><?php ?>"><?php echo _("YSFGateway Process is running"); ?></span></td><?php
} else { } else {
echo "label-danger\" title=\"YSFGateway is down!"; echo "label-danger\" title=\"YSFGateway is down!";
?>">YSFGateway Process is down!</span></td><?php ?>"><?php echo _("YSFGateway Process is down!"); ?></span></td><?php
} }
?> ?>
</tr> </tr>
@ -22,7 +22,7 @@
</div> </div>
<div class="panel panel-default"> <div class="panel panel-default">
<!-- Standard-Panel-Inhalt --> <!-- Standard-Panel-Inhalt -->
<div class="panel-heading">YSFReflectors reported active<span class="pull-right clickable"><i class="glyphicon glyphicon-chevron-up"></i></span></div> <div class="panel-heading"><?php echo _("YSFReflectors reported active"); ?><span class="pull-right clickable"><i class="glyphicon glyphicon-chevron-up"></i></span></div>
<div class="panel-body"> <div class="panel-body">
<!-- Tabelle --> <!-- Tabelle -->
<div class="table-responsive"> <div class="table-responsive">
@ -34,11 +34,11 @@
?> ?>
<thead> <thead>
<tr> <tr>
<th>No.</th> <th><?php echo _("No."); ?></th>
<th>Name</th> <th><?php echo _("Name"); ?></th>
<th>Description</th> <th><?php echo _("Description"); ?></th>
<th>ID</th> <th><?php echo _("ID"); ?></th>
<th>Connections</th> <th><?php echo _("Connections"); ?></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>

View file

@ -9,6 +9,16 @@ header("Cache-Control: no-cache, must-revalidate");
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
// do not touch this includes!!! Never ever!!! // do not touch this includes!!! Never ever!!!
include "config/config.php"; include "config/config.php";
include "locale/".LOCALE."/settings.php";
$codeset = "UTF8";
putenv('LANG='.LANG_LOCALE.'.'.$codeset);
putenv('LANGUAGE='.LANG_LOCALE.'.'.$codeset);
bind_textdomain_codeset('messages', $codeset);
bindtextdomain('messages', dirname(__FILE__).'/locale/');
setlocale(LC_ALL, LANG_LOCALE.'.'.$codeset);
textdomain('messages');
include "include/tools.php"; include "include/tools.php";
startStopwatch(); startStopwatch();
showLapTime("Start of page"); showLapTime("Start of page");
@ -45,17 +55,19 @@ include "version.php";
</head> </head>
<body> <body>
<div class="page-header" style="position:relative;"> <div class="page-header" style="position:relative;">
<h1><small>MMDVM-Dashboard by DG9VH for <?php <h1><small>MMDVM-Dashboard by DG9VH <?php
echo _("for");
if (getConfigItem("General", "Duplex", $mmdvmconfigs) == "1") { if (getConfigItem("General", "Duplex", $mmdvmconfigs) == "1") {
echo "Repeater"; echo " "._("Repeater");
} else { } else {
echo "Hotspot"; echo " "._("Hotspot");
} }
?>:</small> <?php echo getCallsign($mmdvmconfigs) ?></h1> ?>:</small> <?php echo getCallsign($mmdvmconfigs) ?></h1>
<h4>MMDVMHost by G4KLX Version: <?php echo getMMDVMHostVersion() ?><br>Firmware: <?php echo getFirmwareVersion() ?> <h4>MMDVMHost by G4KLX Version: <?php echo getMMDVMHostVersion() ?><br>Firmware: <?php echo getFirmwareVersion() ?>
<?php <?php
if (strlen(getDMRNetwork()) > 0 ) { if (strlen(getDMRNetwork()) > 0 ) {
echo "<br>DMR-Network: ".getDMRNetwork(); echo "<br>";
echo _("DMR-Network: ").getDMRNetwork();
} }
?></h4> ?></h4>
<?php <?php
@ -85,16 +97,16 @@ include "version.php";
<?php <?php
if (defined("ENABLEMANAGEMENT")) { if (defined("ENABLEMANAGEMENT")) {
?> ?>
<button onclick="window.location.href='./scripts/log.php'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-folder-open" aria-hidden="true"></span>&nbsp;View Log</button> <button onclick="window.location.href='./scripts/log.php'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-folder-open" aria-hidden="true"></span>&nbsp;<?php echo _("View Log"); ?></button>
<button onclick="window.location.href='./scripts/rebootmmdvm.php'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-refresh" aria-hidden="true"></span>&nbsp;Reboot MMDVMHost</button> <button onclick="window.location.href='./scripts/rebootmmdvm.php'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-refresh" aria-hidden="true"></span>&nbsp;<?php echo _("Reboot MMDVMHost"); ?></button>
<button onclick="window.location.href='./scripts/reboot.php'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-repeat" aria-hidden="true"></span>&nbsp;Reboot System</button> <button onclick="window.location.href='./scripts/reboot.php'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-repeat" aria-hidden="true"></span>&nbsp;<?php echo _("Reboot System"); ?></button>
<button onclick="window.location.href='./scripts/halt.php'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-off" aria-hidden="true"></span>&nbsp;ShutDown System</button> <button onclick="window.location.href='./scripts/halt.php'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-off" aria-hidden="true"></span>&nbsp;<?php echo _("ShutDown System"); ?></button>
<?php <?php
} }
if (defined("ENABLENETWORKSWITCHING")) { if (defined("ENABLENETWORKSWITCHING")) {
?> ?>
<button onclick="window.location.href='./scripts/switchnetwork.php?network=DMRPLUS'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span>&nbsp;DMRplus</button> <button onclick="window.location.href='./scripts/switchnetwork.php?network=DMRPLUS'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span>&nbsp;<?php echo _("DMRplus"); ?></button>
<button onclick="window.location.href='./scripts/switchnetwork.php?network=BRANDMEISTER'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-fire" aria-hidden="true"></span>&nbsp;BrandMeister</button> <button onclick="window.location.href='./scripts/switchnetwork.php?network=BRANDMEISTER'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-fire" aria-hidden="true"></span>&nbsp;<?php echo _("BrandMeister"); ?></button>
<?php <?php
} }
checkSetup(); checkSetup();
@ -144,7 +156,7 @@ if (defined("ENABLEYSFGATEWAY")) {
//$uhrzeit = date("H:i:s"); //$uhrzeit = date("H:i:s");
$lastReload = new DateTime(); $lastReload = new DateTime();
$lastReload->setTimezone(new DateTimeZone(TIMEZONE)); $lastReload->setTimezone(new DateTimeZone(TIMEZONE));
echo "MMDVMHost-Dashboard V ".VERSION." | Last Reload ".$lastReload->format('Y-m-d, H:i:s')." (".TIMEZONE.")"; echo "MMDVMHost-Dashboard V ".VERSION." | "._("Last Reload")." ".$lastReload->format('Y-m-d, H:i:s')." (".TIMEZONE.")";
/*$time = microtime(); /*$time = microtime();
$time = explode(' ', $time); $time = explode(' ', $time);
$time = $time[1] + $time[0]; $time = $time[1] + $time[0];
@ -154,12 +166,12 @@ echo '<!--Page generated in '.getLapTime().' seconds.-->';
?> | ?> |
<?php <?php
if (!isset($_GET['stoprefresh'])) { if (!isset($_GET['stoprefresh'])) {
echo '<a href="?stoprefresh">stop refreshing</a>'; echo '<a href="?stoprefresh">'._("stop refreshing").'</a>';
} else { } else {
echo '<a href=".">start refreshing</a>'; echo '<a href=".">'._("start refreshing").'</a>';
} }
?> ?>
| get your own at: <a href="https://github.com/dg9vh/MMDVMHost-Dashboard">https://github.com/dg9vh/MMDVMHost-Dashboard</a> | <a href="credits.php">Credits</a> | <?php echo _("get your own at:");?> <a href="https://github.com/dg9vh/MMDVMHost-Dashboard">https://github.com/dg9vh/MMDVMHost-Dashboard</a> | <a href="credits.php"><?php echo _("Credits");?></a>
</div> </div>
<noscript> <noscript>
For full functionality of this site it is necessary to enable JavaScript. For full functionality of this site it is necessary to enable JavaScript.

Binary file not shown.

View file

@ -0,0 +1,343 @@
# Translation-Template
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: 2017-03-13\n"
"Report-Msgid-Bugs-To: dg9vh@darc.de\n"
"POT-Creation-Date: 2017-03-13 21:28+0000\n"
"PO-Revision-Date: 2017-03-13 21:30+0000\n"
"Last-Translator: Kim - DG9VH <dg9vh@darc.de>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:214
msgid "Power"
msgstr "Spannung"
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:219
msgid "CPU-Temperature"
msgstr "CPU-Temperatur"
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:224
msgid "CPU-Frequency"
msgstr "CPU-Frequenz"
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:228
msgid "System-Load"
msgstr "System-Last"
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:229
msgid "CPU-Usage"
msgstr "CPU-Nutzung"
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:230
msgid "Uptime"
msgstr "Laufzeit"
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:231
msgid "Idle"
msgstr "Nichts tuend"
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:237
msgid "online"
msgstr "am Netz"
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:237
msgid "on battery"
msgstr "an der Baterie"
#: /var/www/html/Codiad/workspace/Dashboard/index.php:59
msgid "for"
msgstr "für"
#: /var/www/html/Codiad/workspace/Dashboard/index.php:61
msgid "Repeater"
msgstr "Relais"
#: /var/www/html/Codiad/workspace/Dashboard/index.php:63
msgid "Hotspot"
msgstr "Zugangspunkt"
#: /var/www/html/Codiad/workspace/Dashboard/index.php:70
msgid "DMR-Network: "
msgstr "DNR-Netzwerk: "
#: /var/www/html/Codiad/workspace/Dashboard/index.php:100
msgid "View Log"
msgstr "Log anzeigen"
#: /var/www/html/Codiad/workspace/Dashboard/index.php:101
msgid "Reboot MMDVMHost"
msgstr "MMDVMHost neustarten"
#: /var/www/html/Codiad/workspace/Dashboard/index.php:102
msgid "Reboot System"
msgstr "System neustarten"
#: /var/www/html/Codiad/workspace/Dashboard/index.php:103
msgid "ShutDown System"
msgstr "System herunterfahren"
#: /var/www/html/Codiad/workspace/Dashboard/index.php:108
msgid "DMRplus"
msgstr "DMRplus"
#: /var/www/html/Codiad/workspace/Dashboard/index.php:109
msgid "BrandMeister"
msgstr "BrandMeister"
#: /var/www/html/Codiad/workspace/Dashboard/index.php:159
msgid "Last Reload"
msgstr "Letzte Aktualisierung"
#: /var/www/html/Codiad/workspace/Dashboard/index.php:169
msgid "stop refreshing"
msgstr "autom. neuladen stoppen"
#: /var/www/html/Codiad/workspace/Dashboard/index.php:171
msgid "autom. neuladen starten"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:174
msgid "get your own at:"
msgstr "lade dein eigenes unter:"
#: /var/www/html/Codiad/workspace/Dashboard/index.php:174
msgid "Credits"
msgstr "Dankeschön"
#: /var/www/html/Codiad/workspace/Dashboard/include/disk.php:3
msgid "Disk Use"
msgstr "Auslastung"
#: /var/www/html/Codiad/workspace/Dashboard/include/disk.php:10
msgid "File System"
msgstr "Datei-System"
#: /var/www/html/Codiad/workspace/Dashboard/include/disk.php:11
msgid "Mount Point"
msgstr "Einhängepunkt"
#: /var/www/html/Codiad/workspace/Dashboard/include/disk.php:12
msgid "Use"
msgstr "Benutzt"
#: /var/www/html/Codiad/workspace/Dashboard/include/disk.php:13
msgid "Free"
msgstr "Frei"
#: /var/www/html/Codiad/workspace/Dashboard/include/disk.php:14
msgid "Used"
msgstr "Benutzt"
#: /var/www/html/Codiad/workspace/Dashboard/include/disk.php:15
msgid "Total"
msgstr "Gesamt"
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:6
msgid "Last Heard List of today's"
msgstr "Liste zuletzt gehörter"
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:6
msgid "callsigns."
msgstr "Rufzeichen."
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:13
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:13
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:10
msgid "Time"
msgstr "Zeit"
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:14
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:14
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:11
msgid "Mode"
msgstr "Modus"
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:15
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:15
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:12
msgid "Callsign"
msgstr "Rufzeichen"
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:19
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:19
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:16
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:38
msgid "Name"
msgstr "Name"
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:23
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:23
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:25
msgid "DSTAR-ID"
msgstr "DSTAR-ID"
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:24
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:24
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:26
msgid "Target"
msgstr "Ziel"
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:25
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:25
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:27
msgid "Source"
msgstr "Quelle"
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:26
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:26
msgid "Dur (s)"
msgstr "Dauer (s)"
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:27
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:27
msgid "Loss"
msgstr "Verlust"
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:28
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:28
msgid "BER"
msgstr "BER"
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:6
msgid "Today's local transmissions"
msgstr "Lokale Aussendungen heute"
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:30
msgid "RSSI (min)"
msgstr "RSSI (min)"
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:31
msgid "RSSI (max)"
msgstr "RSSI (max)"
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:32
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:33
msgid "RSSI (avg)"
msgstr "RSSI (mw)"
#: /var/www/html/Codiad/workspace/Dashboard/include/modes.php:3
msgid "Enabled Modes"
msgstr "Aktivierte Modi"
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:3
msgid "Repeater Info"
msgstr "Repeater Info"
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:9
msgid "Current Mode"
msgstr "Aktueller Modus"
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:13
msgid "D-Star linked to"
msgstr "D-Star verbunden mit"
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:18
msgid "YSF linked to"
msgstr "YSF verbunden mit"
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:23
msgid "DMR TS1 last linked to"
msgstr "DMR TS1 zuletzt verbunden mit"
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:24
msgid "DMR TS2 last linked to"
msgstr "DMR TS2 zuletzt verbunden mit"
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:48
msgid "Location"
msgstr "Ort"
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:49
msgid "TX-Freq."
msgstr "TX-Freq."
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:50
msgid "RX-Freq."
msgstr "RX-Freq."
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:54
msgid "YSFGateway"
msgstr "YSFGateway"
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:59
msgid "DMR CC"
msgstr "DMR CC"
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:63
msgid "DMR-Master"
msgstr "DMR-Master"
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:64
msgid "TS1"
msgstr "TS1"
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:65
msgid "TS2"
msgstr "TS2"
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:97
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:104
msgid "enabled"
msgstr "aktiv"
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:99
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:106
msgid "disabled"
msgstr "inaktiv"
#: /var/www/html/Codiad/workspace/Dashboard/include/sysinfo_ajax.php:3
msgid "System Info"
msgstr "System Informationen"
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:3
msgid "Currently TXing"
msgstr "Aktuelle Aussendung"
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:21
msgid "Talker Alias"
msgstr "Talker Alias"
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:28
msgid "TX-Time"
msgstr "Sende-Zeit"
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:5
msgid "YSFGateway-Infos"
msgstr "YSFGateway-Informationen"
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:13
msgid "YSFGateway Process is running"
msgstr "YSFGateway Prozess läuft"
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:16
msgid "YSFGateway Process is down!"
msgstr "YSFGateway Prozess läuft nicht!"
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:25
msgid "YSFReflectors reported active"
msgstr "YSFReflectoren aktiv"
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:37
msgid "No."
msgstr "Nr."
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:39
msgid "Description"
msgstr "Beschreibung"
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:40
msgid "ID"
msgstr "ID"
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:41
msgid "Connections"
msgstr "Verbindungen"

View file

@ -0,0 +1,6 @@
<?php
define("LANG_NAME", "Deutsch");
define("LANG_LOCALE", "de_DE");
define("LANG", "de");
define("LANGCODE", "de");
?>

Binary file not shown.

View file

@ -0,0 +1,78 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-13 18:38+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: DG9VH <dg9vh@darc.de>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: de_DE\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: index.php:55
msgid "for"
msgstr ""
#: index.php:57
msgid "Repeater"
msgstr ""
#: index.php:59
msgid "Hotspot"
msgstr ""
#: index.php:66
msgid "DMR-Network: "
msgstr ""
#: index.php:96
msgid "View Log"
msgstr ""
#: index.php:97
msgid "Reboot MMDVMHost"
msgstr ""
#: index.php:98
msgid "Reboot System"
msgstr ""
#: index.php:99
msgid "ShutDown System"
msgstr ""
#: index.php:104
msgid "DMRplus"
msgstr ""
#: index.php:105
msgid "BrandMeister"
msgstr ""
#: index.php:155
msgid "Last Reload"
msgstr ""
#: index.php:165
msgid "stop refreshing"
msgstr ""
#: index.php:167
msgid "start refreshing"
msgstr ""
#: index.php:170
msgid "get your own at:"
msgstr "lade dein eigenes Dashboard von:"
#: index.php:170
msgid "Credits"
msgstr "Danksagungen"

View file

@ -0,0 +1,6 @@
<?php
define("LANG_NAME", "English");
define("LANG_LOCALE", "en_GB");
define("LANG", "en");
define("LANGCODE", "en");
?>

343
messages.pot Normal file
View file

@ -0,0 +1,343 @@
# Translation-Template
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: 2017-03-13\n"
"Report-Msgid-Bugs-To: dg9vh@darc.de\n"
"POT-Creation-Date: 2017-03-13 21:28+0000\n"
"PO-Revision-Date: 2017-03-13 21:30+0000\n"
"Last-Translator: Kim - DG9VH <dg9vh@darc.de>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:214
msgid "Power"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:219
msgid "CPU-Temperature"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:224
msgid "CPU-Frequency"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:228
msgid "System-Load"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:229
msgid "CPU-Usage"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:230
msgid "Uptime"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:231
msgid "Idle"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:237
msgid "online"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/ajax.php:237
msgid "on battery"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:59
msgid "for"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:61
msgid "Repeater"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:63
msgid "Hotspot"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:70
msgid "DMR-Network: "
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:100
msgid "View Log"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:101
msgid "Reboot MMDVMHost"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:102
msgid "Reboot System"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:103
msgid "ShutDown System"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:108
msgid "DMRplus"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:109
msgid "BrandMeister"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:159
msgid "Last Reload"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:169
msgid "stop refreshing"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:171
msgid "start refreshing"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:174
msgid "get your own at:"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/index.php:174
msgid "Credits"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/disk.php:3
msgid "Disk Use"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/disk.php:10
msgid "File System"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/disk.php:11
msgid "Mount Point"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/disk.php:12
msgid "Use"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/disk.php:13
msgid "Free"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/disk.php:14
msgid "Used"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/disk.php:15
msgid "Total"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:6
msgid "Last Heard List of today's"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:6
msgid "callsigns."
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:13
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:13
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:10
msgid "Time"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:14
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:14
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:11
msgid "Mode"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:15
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:15
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:12
msgid "Callsign"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:19
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:19
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:16
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:38
msgid "Name"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:23
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:23
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:25
msgid "DSTAR-ID"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:24
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:24
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:26
msgid "Target"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:25
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:25
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:27
msgid "Source"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:26
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:26
msgid "Dur (s)"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:27
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:27
msgid "Loss"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/lh_ajax.php:28
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:28
msgid "BER"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:6
msgid "Today's local transmissions"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:30
msgid "RSSI (min)"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:31
msgid "RSSI (max)"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:32
#: /var/www/html/Codiad/workspace/Dashboard/include/localtx_ajax.php:33
msgid "RSSI (avg)"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/modes.php:3
msgid "Enabled Modes"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:3
msgid "Repeater Info"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:9
msgid "Current Mode"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:13
msgid "D-Star linked to"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:18
msgid "YSF linked to"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:23
msgid "DMR TS1 last linked to"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:24
msgid "DMR TS2 last linked to"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:48
msgid "Location"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:49
msgid "TX-Freq."
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:50
msgid "RX-Freq."
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:54
msgid "YSFGateway"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:59
msgid "DMR CC"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:63
msgid "DMR-Master"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:64
msgid "TS1"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:65
msgid "TS2"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:97
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:104
msgid "enabled"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:99
#: /var/www/html/Codiad/workspace/Dashboard/include/repeaterinfo.php:106
msgid "disabled"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/sysinfo_ajax.php:3
msgid "System Info"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:3
msgid "Currently TXing"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:21
msgid "Talker Alias"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/txinfo.php:28
msgid "TX-Time"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:5
msgid "YSFGateway-Infos"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:13
msgid "YSFGateway Process is running"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:16
msgid "YSFGateway Process is down!"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:25
msgid "YSFReflectors reported active"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:37
msgid "No."
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:39
msgid "Description"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:40
msgid "ID"
msgstr ""
#: /var/www/html/Codiad/workspace/Dashboard/include/ysfgatewayinfo.php:41
msgid "Connections"
msgstr ""

View file

@ -185,6 +185,10 @@ function get_tz_options($selectedzone, $label, $desc = '') {
} }
get_tz_options(constant("TIMEZONE"), "Timezone", ''); get_tz_options(constant("TIMEZONE"), "Timezone", '');
?> ?>
<div class="input-group">
<span class="input-group-addon" id="LOCALE" style="width: 300px">Locale</span>
<input type="text" value="<?php echo constant("LOCALE") ?>" name="LOCALE" class="form-control" placeholder="en_GB" aria-describedby="LOCALE">
</div>
<div class="input-group"> <div class="input-group">
<span class="input-group-addon" id="LOGO" style="width: 300px">URL to Logo</span> <span class="input-group-addon" id="LOGO" style="width: 300px">URL to Logo</span>
<input type="text" value="<?php echo constant("LOGO") ?>" name="LOGO" class="form-control" placeholder="http://your-logo" aria-describedby="LOGO"> <input type="text" value="<?php echo constant("LOGO") ?>" name="LOGO" class="form-control" placeholder="http://your-logo" aria-describedby="LOGO">

View file

@ -1,3 +1,3 @@
<?php <?php
define("VERSION", "20170304-1"); define("VERSION", "20170314-1");
?> ?>