Merge remote-tracking branch 'upstream/master' into fr_FR

This commit is contained in:
phl0 2017-04-07 07:58:51 +02:00
commit ac05db07e8
No known key found for this signature in database
GPG key ID: 48EA1E640798CA9A
29 changed files with 1803 additions and 82 deletions

View file

@ -25,7 +25,7 @@ if (!defined("TIMEZONE"))
define("TIMEZONE", "UTC");
$logLinesMMDVM = getMMDVMLog();
$reverseLogLinesMMDVM = $logLinesMMDVM;
array_multisort($reverseLogLinesMMDVM,SORT_DESC);
rsort($reverseLogLinesMMDVM);
if ($_GET['section'] == "mode") {
$mode = getActualMode(getLastHeard($reverseLogLinesMMDVM, TRUE), $mmdvmconfigs);
echo $mode;

21
config/networks.php Normal file
View file

@ -0,0 +1,21 @@
<?php
$networks_json = '{
"DMRPLUS":{
"label":"Multimode DMRplus",
"ini":"DMRPLUS",
"logo":"http://db0lm.de/wp-content/uploads/2015/10/DMR-Plus-300x109.png"
},
"BRANDMEISTER":{
"label":"Multimode BrandMeister",
"ini":"BRANDMEISTER",
"logo":"https://s3.amazonaws.com/files.qrz.com/a/pd1ra/dmr_brandmeister.jpg"
},
"DSTAR":{
"label":"Singlemode D-STAR",
"ini":"DSTAR",
"logo":""
}
}';
$networks = json_decode($networks_json, true);
?>

View file

@ -42,6 +42,7 @@ textdomain('messages');
<li>dg0cco</li>
<li>sa7bnt</li>
<li>ct2jay</li>
<li>oe7jkt</li>
<li><?php echo _("and some others..."); ?></li>
</ul>
<p><?php echo _("Those, who felt forgotten, feel free to commit a change into github of this file."); ?></p>

View file

@ -209,7 +209,7 @@ function getYSFGatewayLog() {
// Open Logfile and copy loglines into LogLines-Array()
$logPath = YSFGATEWAYLOGPATH."/".YSFGATEWAYLOGPREFIX."-".date("Y-m-d").".log";
//$logLines = explode("\n", `egrep -h "D:|M:" $logPath`);
$logLines = explode("\n", `egrep -h "Starting|DISCONNECT|Connect|Automatic" $logPath`);
$logLines = explode("\n", `egrep -h "Starting|DISCONNECT|Connect|Automatic|Disconnecting" $logPath`);
return $logLines;
}
@ -473,7 +473,7 @@ function getHeardList($logLines, $onlyLast) {
$rssi = "";
$ts1alias = "---";
$ts2alias = "---";
if ($onlyLast && count($heardList )> 4) {
if ($onlyLast && count($heardList )> 20) {
return $heardList;
}
}
@ -845,13 +845,38 @@ function decodeAlias($logLine) {
$tok4 = encode(substr($logLine, 49, 2));
$tok5 = encode(substr($logLine, 52, 2));
$tok6 = encode(substr($logLine, 55, 2));
$tok7 = encode(dechex(hexdec(substr($logLine, 58, 2))/2));
// https://github.com/g4klx/MMDVMHost/commit/bba5cbc0bad65f32dde6f673255a05534ebc13ab
// $tok7 = encode(dechex(hexdec(substr($logLine, 58, 2))/2));
$tok7 = encode(substr($logLine, 58, 2));
return $tok1.$tok2.$tok3.$tok4.$tok5.$tok6.$tok7;
}
function getGitVersion(){
exec("git rev-parse HEAD", $output);
return 'GitID #<a href="https://github.com/dg9vh/MMDVMHost-Dashboard/commit/'.substr($output[0],0,7).'">'.substr($output[0],0,7).'</a>';
if (file_exists(".git")) {
exec("git rev-parse HEAD", $output);
return 'GitID #<a href="https://github.com/dg9vh/MMDVMHost-Dashboard/commit/'.substr($output[0],0,7).'">'.substr($output[0],0,7).'</a>';
} else {
return 'GitID unknown';
}
}
function getDMRReflectors() {
$data = file_get_contents("http://ham-dmr.de/reflector.db");
$rows = explode("\n",$data);
$refls = array();
foreach($rows as $row) {
$refls[] = str_getcsv($row,"@",'');
}
return $refls;
}
function getBrandMeisterDMRMasterList() {
$data = file_get_contents("http://185.79.71.94/dmr/dmrmaster.php");
$rows = explode("\n",$data);
$masters = array();
foreach($rows as $row) {
$masters[] = str_getcsv($row,"@",'');
}
return $masters;
}
?>

View file

@ -1,9 +1,12 @@
<?php
$totalLH = count($lastHeard);
$TMP_CALL_NAME = "/tmp/Callsign_Name.txt";
exec("wc -l ".$TMP_CALL_NAME." | cut -f1 -d' '", $output);
exec("wc -l ".DMRIDDATPATH." | cut -f1 -d' '", $output2);
?>
<div class="panel panel-default">
<!-- Standard-Panel-Inhalt -->
<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-heading"><?php echo _("Last Heard List of today's")." ".$totalLH." "._("callsigns.")." "._("Cached")." (".$output[0]."/".$output2[0].")"; ?><span class="pull-right clickable"><i class="glyphicon glyphicon-chevron-up"></i></span></div>
<div class="panel-body">
<!-- Tabelle -->
<div class="table-responsive">

View file

@ -123,4 +123,14 @@ function encode($hex) {
else
return "";
}
function recursive_array_search($needle,$haystack) {
foreach($haystack as $key=>$value) {
$current_key=$key;
if($needle===$value OR (is_array($value) && recursive_array_search($needle,$value) !== false)) {
return $current_key;
}
}
return false;
}
?>

View file

@ -22,6 +22,8 @@ bindtextdomain('messages', dirname(__FILE__).'/locale/');
setlocale(LC_ALL, LANG_LOCALE.'.'.$codeset);
textdomain('messages');
include("config/networks.php");
include "include/tools.php";
startStopwatch();
showLapTime("Start of page");
@ -69,24 +71,37 @@ include "version.php";
?>:</small> <?php echo getCallsign($mmdvmconfigs) ?></h1>
<h4>MMDVMHost by G4KLX Version: <?php echo getMMDVMHostVersion() ?><br>Firmware: <?php echo getFirmwareVersion() ?>
<?php
if (strlen(getDMRNetwork()) > 0 ) {
echo "<br>";
echo _("DMR-Network: ").getDMRNetwork();
if (defined("JSONNETWORK")) {
$key = recursive_array_search(getDMRNetwork(),$networks);
$network = $networks[$key];
echo "<br>";
echo _("Configuration").": ".$network['label'];
} else {
if (strlen(getDMRNetwork()) > 0 ) {
echo "<br>";
echo _("DMR-Network: ").getDMRNetwork();
}
}
?></h4>
<?php
$logourl = "";
if (getDMRNetwork() == "BrandMeister") {
if (constant('BRANDMEISTERLOGO') !== NULL) {
$logourl = BRANDMEISTERLOGO;
if (defined("JSONNETWORK")) {
$key = recursive_array_search(getDMRNetwork(),$networks);
$network = $networks[$key];
$logourl = $network['logo'];
} else {
if (getDMRNetwork() == "BrandMeister") {
if (constant('BRANDMEISTERLOGO') !== NULL) {
$logourl = BRANDMEISTERLOGO;
}
}
if (getDMRNetwork() == "DMRplus") {
if (constant('DMRPLUSLOGO') !== NULL) {
$logourl = DMRPLUSLOGO;
}
}
}
if (getDMRNetwork() == "DMRplus") {
if (constant('DMRPLUSLOGO') !== NULL) {
$logourl = DMRPLUSLOGO;
}
}
if ($logourl == "") {
$logourl = LOGO;
}
@ -108,10 +123,36 @@ if (defined("ENABLEMANAGEMENT")) {
<?php
}
if (defined("ENABLENETWORKSWITCHING")) {
if (defined("JSONNETWORK")) {
echo ' <br>';
foreach ($networks as $network) {
echo ' <button onclick="window.location.href=\'./scripts/switchnetwork.php?network='.$network['ini'].'\'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-link" aria-hidden="true"></span>&nbsp;'.$network['label'].'</button>';
}
} else {
?>
<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;<?php echo _("BrandMeister"); ?></button>
<?php
}
if (defined("ENABLEREFLECTORSWITCHING") && (getEnabled("DMR Network", $mmdvmconfigs) == 1) && !recursive_array_search(gethostbyname(getConfigItem("DMR Network", "Address", $mmdvmconfigs)),getBrandMeisterDMRMasterList()) ) {
$reflectors = getDMRReflectors();
?>
<form method = "get" action ="./scripts/switchreflector.php" class="form-inline" role="form">
<div class="form-group">
<select id="reflector" name="reflector" class="form-control" style="width: 80px;">
<?php
foreach ($reflectors as $reflector) {
if (isset($reflector[1]))
echo'<option value="'.$reflector[0].'">'.$reflector[1].'</option>';
}
?>
</select>
<button type="submit" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-refresh" aria-hidden="true"></span>&nbsp;<?php echo _("ReflSwitch"); ?></button>
</div></form>
<?php
}
}
checkSetup();
// Here you can feel free to disable info-sections by commenting out with // before include

View file

@ -720,3 +720,15 @@ msgstr "YSFGateway er ikke startet"
#: include/functions.php:830
msgid "DMRIDs.dat not correct!"
msgstr "DMRIDs.dat er ikke rigtigt"
#: index.php:78
msgid "Configuration"
msgstr ""
#: setup.php:209
msgid "Use networks.php instead of configuration below"
msgstr ""
#: include/lh_ajax.php:6
msgid "Cached"
msgstr ""

Binary file not shown.

View file

@ -717,3 +717,16 @@ msgstr "YSFGateway läuft nicht"
#: include/functions.php:830
msgid "DMRIDs.dat not correct!"
msgstr "DMRIDs.dat nicht korrekt!"
#: index.php:78
msgid "Configuration"
msgstr "Konfiguration"
#: setup.php:209
msgid "Use networks.php instead of configuration below"
msgstr "Nutze networks.php statt d. Konfig. unten"
#: include/lh_ajax.php:6
msgid "Cached"
msgstr "Zwischengespeichert"

Binary file not shown.

View file

@ -8,71 +8,725 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-13 18:38+0000\n"
"POT-Creation-Date: 2017-03-14 13:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: DG9VH <dg9vh@darc.de>\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: en_GB\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: index.php:55
#: include/sysinfo_ajax.php:3
msgid "System Info"
msgstr ""
#: include/ysfgatewayinfo.php:5
msgid "YSFGateway-Infos"
msgstr ""
#: include/ysfgatewayinfo.php:13
msgid "YSFGateway Process is running"
msgstr ""
#: include/ysfgatewayinfo.php:16
msgid "YSFGateway Process is down!"
msgstr ""
#: include/ysfgatewayinfo.php:25
msgid "YSFReflectors reported active"
msgstr ""
#: include/ysfgatewayinfo.php:37
msgid "No."
msgstr ""
#: include/ysfgatewayinfo.php:38 include/localtx_ajax.php:19
#: include/lh_ajax.php:19 include/txinfo.php:16
msgid "Name"
msgstr ""
#: include/ysfgatewayinfo.php:39
msgid "Description"
msgstr ""
#: include/ysfgatewayinfo.php:40
msgid "ID"
msgstr ""
#: include/ysfgatewayinfo.php:41
msgid "Connections"
msgstr ""
#: include/localtx_ajax.php:6
msgid "Today's local transmissions"
msgstr ""
#: include/localtx_ajax.php:13 include/lh_ajax.php:13 include/txinfo.php:10
msgid "Time"
msgstr ""
#: include/localtx_ajax.php:14 include/lh_ajax.php:14 include/txinfo.php:11
msgid "Mode"
msgstr ""
#: include/localtx_ajax.php:15 include/lh_ajax.php:15 include/txinfo.php:12
msgid "Callsign"
msgstr ""
#: include/localtx_ajax.php:23 include/lh_ajax.php:23 include/txinfo.php:25
msgid "DSTAR-ID"
msgstr ""
#: include/localtx_ajax.php:24 include/lh_ajax.php:24 include/txinfo.php:26
msgid "Target"
msgstr ""
#: include/localtx_ajax.php:25 include/lh_ajax.php:25 include/txinfo.php:27
msgid "Source"
msgstr ""
#: include/localtx_ajax.php:26 include/lh_ajax.php:26
msgid "Dur (s)"
msgstr ""
#: include/localtx_ajax.php:27 include/lh_ajax.php:27
msgid "Loss"
msgstr ""
#: include/localtx_ajax.php:28 include/lh_ajax.php:28
msgid "BER"
msgstr ""
#: include/localtx_ajax.php:30
msgid "RSSI (min)"
msgstr ""
#: include/localtx_ajax.php:31
msgid "RSSI (max)"
msgstr ""
#: include/localtx_ajax.php:32 include/localtx_ajax.php:33
msgid "RSSI (avg)"
msgstr ""
#: include/repeaterinfo.php:3
msgid "Repeater Info"
msgstr ""
#: include/repeaterinfo.php:9
msgid "Current Mode"
msgstr ""
#: include/repeaterinfo.php:13
msgid "D-Star linked to"
msgstr ""
#: include/repeaterinfo.php:18
msgid "YSF linked to"
msgstr ""
#: include/repeaterinfo.php:23
msgid "DMR TS1 last linked to"
msgstr ""
#: include/repeaterinfo.php:24
msgid "DMR TS2 last linked to"
msgstr ""
#: include/repeaterinfo.php:48
msgid "Location"
msgstr ""
#: include/repeaterinfo.php:49
msgid "TX-Freq."
msgstr ""
#: include/repeaterinfo.php:50
msgid "RX-Freq."
msgstr ""
#: include/repeaterinfo.php:54
msgid "YSFGateway"
msgstr ""
#: include/repeaterinfo.php:59
msgid "DMR CC"
msgstr ""
#: include/repeaterinfo.php:63
msgid "DMR-Master"
msgstr ""
#: include/repeaterinfo.php:64
msgid "TS1"
msgstr ""
#: include/repeaterinfo.php:65
msgid "TS2"
msgstr ""
#: include/repeaterinfo.php:97 include/repeaterinfo.php:104
msgid "enabled"
msgstr ""
#: include/repeaterinfo.php:99 include/repeaterinfo.php:106
msgid "disabled"
msgstr ""
#: include/tools.php:73
msgid ""
"You are using an old config.php. Please configure your Dashboard by calling "
"<a href=\"setup.php\">setup.php</a>!"
msgstr ""
#: include/tools.php:79
msgid ""
"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>!"
msgstr ""
#: include/modes.php:3
msgid "Enabled Modes"
msgstr ""
#: include/lh_ajax.php:6
msgid "Last Heard List of today's"
msgstr ""
#: include/lh_ajax.php:6
msgid "callsigns."
msgstr ""
#: include/disk.php:3
msgid "Disk Use"
msgstr ""
#: include/disk.php:10
msgid "File System"
msgstr ""
#: include/disk.php:11
msgid "Mount Point"
msgstr ""
#: include/disk.php:12
msgid "Use"
msgstr ""
#: include/disk.php:13
msgid "Free"
msgstr ""
#: include/disk.php:14
msgid "Used"
msgstr ""
#: include/disk.php:15
msgid "Total"
msgstr ""
#: include/txinfo.php:3
msgid "Currently TXing"
msgstr ""
#: include/txinfo.php:21
msgid "Talker Alias"
msgstr ""
#: include/txinfo.php:28
msgid "TX-Time"
msgstr ""
#: scripts/rebootmmdvm.php:50 scripts/halt.php:49 scripts/log.php:53
#: scripts/reboot.php:50 index.php:59
msgid "for"
msgstr ""
#: index.php:57
#: scripts/rebootmmdvm.php:52 scripts/halt.php:51 scripts/log.php:55
#: scripts/reboot.php:52 index.php:61
msgid "Repeater"
msgstr ""
#: index.php:59
#: scripts/rebootmmdvm.php:54 scripts/halt.php:53 scripts/log.php:57
#: scripts/reboot.php:54 index.php:63
msgid "Hotspot"
msgstr ""
#: index.php:66
msgid "DMR-Network: "
#: scripts/rebootmmdvm.php:58 scripts/reboot.php:58
msgid "Home"
msgstr ""
#: index.php:96
msgid "View Log"
#: scripts/rebootmmdvm.php:67 scripts/reboot.php:66
msgid "Executing"
msgstr ""
#: index.php:97
msgid "Reboot MMDVMHost"
#: scripts/rebootmmdvm.php:67
msgid "Reboot MMDVMHost service in progress"
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
#: scripts/rebootmmdvm.php:90 scripts/halt.php:89 scripts/log.php:134
#: scripts/reboot.php:89 index.php:174
msgid "get your own at:"
msgstr ""
#: index.php:170
#: scripts/rebootmmdvm.php:90 scripts/halt.php:89 scripts/log.php:134
#: scripts/reboot.php:89 index.php:174 credits.php:13 credits.php:17
msgid "Credits"
msgstr ""
#: scripts/halt.php:66
msgid "Halt in progress...bye"
msgstr ""
#: scripts/log.php:61 index.php:100
msgid "View Log"
msgstr ""
#: scripts/log.php:62 index.php:101
msgid "Reboot MMDVMHost"
msgstr ""
#: scripts/log.php:63 index.php:102
msgid "Reboot System"
msgstr ""
#: scripts/log.php:64 index.php:103
msgid "ShutDown System"
msgstr ""
#: scripts/log.php:68 index.php:108
msgid "DMRplus"
msgstr ""
#: scripts/log.php:69 index.php:109
msgid "BrandMeister"
msgstr ""
#: scripts/log.php:76
msgid "Viewing log"
msgstr ""
#: scripts/log.php:82
msgid "Level"
msgstr ""
#: scripts/log.php:83
msgid "Timestamp"
msgstr ""
#: scripts/log.php:84
msgid "Info"
msgstr ""
#: scripts/reboot.php:66
msgid "Reboot system in progress"
msgstr ""
#: ajax.php:214
msgid "Power"
msgstr ""
#: ajax.php:219
msgid "CPU-Temperature"
msgstr ""
#: ajax.php:224
msgid "CPU-Frequency"
msgstr ""
#: ajax.php:228
msgid "System-Load"
msgstr ""
#: ajax.php:229
msgid "CPU-Usage"
msgstr ""
#: ajax.php:230
msgid "Uptime"
msgstr ""
#: ajax.php:231
msgid "Idle"
msgstr ""
#: ajax.php:237
msgid "online"
msgstr ""
#: ajax.php:237
msgid "on battery"
msgstr ""
#: index.php:70
msgid "DMR-Network: "
msgstr ""
#: index.php:159
msgid "Last Reload"
msgstr ""
#: index.php:169
msgid "stop refreshing"
msgstr ""
#: index.php:171
msgid "start refreshing"
msgstr ""
#: credits.php:20
msgid ""
"I think, after all the time this dashboard is developed mainly by myself, it "
"is time to say \"Thank you\" to all those, wo delivered some ideas or code "
"into this project."
msgstr ""
#: credits.php:21
msgid "This are explicit named following persons:"
msgstr ""
#: credits.php:31
msgid "and some others..."
msgstr ""
#: credits.php:33
msgid ""
"Those, who felt forgotten, feel free to commit a change into github of this "
"file."
msgstr ""
#: credits.php:34
msgid "Many thanks to you all!"
msgstr ""
#: credits.php:35
msgid "Best 73, Kim, DG9VH"
msgstr ""
#: setup.php:26
msgid ""
"You forgot to give write-permissions to your webserver-user, see point 3 in "
"<a href=\"linux-step-by-step.md\">linux-step-by-step.md</a>!"
msgstr ""
#: setup.php:41 setup.php:50
msgid "Setup-Process"
msgstr ""
#: setup.php:42
msgid ""
"Your config-file is written in config/config.php, please remove setup.php "
"for security reasons!"
msgstr ""
#: setup.php:43
msgid "Your dashboard is now available."
msgstr ""
#: setup.php:51
msgid "Please give necessary information below"
msgstr ""
#: setup.php:56
msgid "MMDVMHost-Configuration"
msgstr ""
#: setup.php:58
msgid "Path to MMDVMHost-logfile"
msgstr ""
#: setup.php:62
msgid "Path to MMDVM.ini"
msgstr ""
#: setup.php:66
msgid "MMDVM.ini-filename"
msgstr ""
#: setup.php:70
msgid "Path to MMDVMHost-executable"
msgstr ""
#: setup.php:74
msgid "Enable extended lookup (show names)"
msgstr ""
#: setup.php:78
msgid "Show Talker Alias"
msgstr ""
#: setup.php:82
msgid "Path to DMR-ID-Database-File (including filename)"
msgstr ""
#: setup.php:87
msgid "YSFGateway-Configuration"
msgstr ""
#: setup.php:89
msgid "Enable YSFGateway"
msgstr ""
#: setup.php:93
msgid "Path to YSFGateway-logfile"
msgstr ""
#: setup.php:97
msgid "Logfile-prefix"
msgstr ""
#: setup.php:101
msgid "Path to YSFGateway.ini"
msgstr ""
#: setup.php:105
msgid "YSFGateway.ini-filename"
msgstr ""
#: setup.php:109
msgid "Path to YSFHosts.txt"
msgstr ""
#: setup.php:113
msgid "YSFHosts.txt-filename"
msgstr ""
#: setup.php:118
msgid "ircddbgateway-Configuration"
msgstr ""
#: setup.php:120
msgid "Path to Links.log"
msgstr ""
#: setup.php:124
msgid "Name of ircddbgateway-executeable"
msgstr ""
#: setup.php:129
msgid "Global Configuration"
msgstr ""
#: setup.php:188
msgid "Locale"
msgstr ""
#: setup.php:192
msgid "URL to Logo"
msgstr ""
#: setup.php:196
msgid "URL to DMRplus-Logo"
msgstr ""
#: setup.php:200
msgid "URL to BrandMeister-Logo"
msgstr ""
#: setup.php:204
msgid "Refresh page after in seconds"
msgstr ""
#: setup.php:208
msgid "Show System Info"
msgstr ""
#: setup.php:212
msgid "Show Disk Use"
msgstr ""
#: setup.php:216
msgid "Show Repeater Info"
msgstr ""
#: setup.php:220
msgid "Show Enabled Modes"
msgstr ""
#: setup.php:224
msgid "Show Last Heard List of today's"
msgstr ""
#: setup.php:228
msgid "Show Today's local transmissions"
msgstr ""
#: setup.php:232
msgid "Show progressbars"
msgstr ""
#: setup.php:236
msgid "Enable CPU-temperature-warning"
msgstr ""
#: setup.php:240
msgid "Warning temperature"
msgstr ""
#: setup.php:244
msgid "Enable Network-Switching-Function"
msgstr ""
#: setup.php:248
msgid "Username for switching networks:"
msgstr ""
#: setup.php:252
msgid "Password for switching networks:"
msgstr ""
#: setup.php:257
msgid "Enable Management-Functions below"
msgstr ""
#: setup.php:261
msgid "Username for view log:"
msgstr ""
#: setup.php:265
msgid "Password for view log:"
msgstr ""
#: setup.php:269
msgid "Username for halt:"
msgstr ""
#: setup.php:273
msgid "Password for halt:"
msgstr ""
#: setup.php:277
msgid "Username for reboot:"
msgstr ""
#: setup.php:281
msgid "Password for reboot:"
msgstr ""
#: setup.php:285
msgid "Username for restart:"
msgstr ""
#: setup.php:289
msgid "Password for restart:"
msgstr ""
#: setup.php:293
msgid "Reboot MMDVMHost command:"
msgstr ""
#: setup.php:297
msgid "Reboot system command:"
msgstr ""
#: setup.php:301
msgid "Halt system command:"
msgstr ""
#: setup.php:305
msgid "Show Powerstate (online or battery, wiringpi needed)"
msgstr ""
#: setup.php:309
msgid "GPIO pin to monitor:"
msgstr ""
#: setup.php:313
msgid "State that signalizes online-state:"
msgstr ""
#: setup.php:317
msgid "Show link to QRZ.com on Callsigns"
msgstr ""
#: setup.php:321
msgid "RSSI value"
msgstr ""
#: setup.php:323
msgid "minimal"
msgstr ""
#: setup.php:324
msgid "maximal"
msgstr ""
#: setup.php:325
msgid "average"
msgstr ""
#: setup.php:331
msgid "Save configuration"
msgstr ""
#: include/functions.php:13 include/functions.php:15
msgid "compiled"
msgstr ""
#: include/functions.php:161
msgid "ircddbgateway is down!"
msgstr ""
#: include/functions.php:164 include/functions.php:175
msgid "Remote gateway configured - not checked!"
msgstr ""
#: include/functions.php:172
msgid "YSFGateway is down!"
msgstr ""
#: include/functions.php:182
msgid "MMDVMHost is down!"
msgstr ""
#: include/functions.php:550
msgid "idle"
msgstr ""
#: include/functions.php:623
msgid "ircddbgateway not running!"
msgstr ""
#: include/functions.php:640 include/functions.php:656
#: include/functions.php:741
msgid "not linked"
msgstr ""
#: include/functions.php:692
msgid "something went wrong!"
msgstr ""
#: include/functions.php:706 include/functions.php:724
msgid "Reflector not linked"
msgstr ""
#: include/functions.php:708 include/functions.php:719
msgid "Reflector"
msgstr ""
#: include/functions.php:719
msgid "not cfmd"
msgstr ""
#: include/functions.php:743
msgid "YSFGateway not running"
msgstr ""
#: include/functions.php:830
msgid "DMRIDs.dat not correct!"
msgstr ""
#: index.php:78
msgid "Configuration"
msgstr ""
#: setup.php:209
msgid "Use networks.php instead of configuration below"
msgstr ""
#: include/lh_ajax.php:6
msgid "Cached"
msgstr ""

Binary file not shown.

View file

@ -732,3 +732,16 @@ msgstr "YSFGateway no está funcionando"
#: include/functions.php:830
msgid "DMRIDs.dat not correct!"
msgstr "DMRIDs.dat incorrecto!"
#: index.php:78
msgid "Configuration"
msgstr ""
#: setup.php:209
msgid "Use networks.php instead of configuration below"
msgstr ""
#: include/lh_ajax.php:6
msgid "Cached"
msgstr "En caché"

Binary file not shown.

View file

@ -0,0 +1,739 @@
# 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.
#
msgid ""
msgstr ""
"Project-Id-Version: The Polish language for MMDVMHost Dashboard \n"
"Report-Msgid-Bugs-To: dg9vh@darc.de\n"
"POT-Creation-Date: 2017-03-21 20:58+0000\n"
"PO-Revision-Date: 2017-03-21 20:58+0300\n"
"Last-Translator: Kim - DG9VH <dg9vh@darc.de>\n"
"Language: pl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language-Team: pl\n"
#: include/sysinfo_ajax.php:3
msgid "System Info"
msgstr "Informacja systemu"
#: include/ysfgatewayinfo.php:5
msgid "YSFGateway-Infos"
msgstr "YSFGateway-informacje"
#: include/ysfgatewayinfo.php:13
msgid "YSFGateway Process is running"
msgstr "YSFGateway proces jest uruchomiony"
#: include/ysfgatewayinfo.php:16
msgid "YSFGateway Process is down!"
msgstr "YSFGateway proces jest wstrzymany"
#: include/ysfgatewayinfo.php:25
msgid "YSFReflectors reported active"
msgstr "YSFReflectors zgłoszono jako aktywne"
#: include/ysfgatewayinfo.php:37
msgid "No."
msgstr "Numer"
#: include/ysfgatewayinfo.php:38 include/localtx_ajax.php:19
#: include/lh_ajax.php:19 include/txinfo.php:16
msgid "Name"
msgstr "Nazwa"
#: include/ysfgatewayinfo.php:39
msgid "Description"
msgstr "Opis"
#: include/ysfgatewayinfo.php:40
msgid "ID"
msgstr "ID"
#: include/ysfgatewayinfo.php:41
msgid "Connections"
msgstr "Połączenia"
#: include/localtx_ajax.php:6
msgid "Today's local transmissions"
msgstr "Dzisiejsze lokalne przekładnie"
#: include/localtx_ajax.php:13 include/lh_ajax.php:13 include/txinfo.php:10
msgid "Time"
msgstr "Czas"
#: include/localtx_ajax.php:14 include/lh_ajax.php:14 include/txinfo.php:11
msgid "Mode"
msgstr "Tryb"
#: include/localtx_ajax.php:15 include/lh_ajax.php:15 include/txinfo.php:12
msgid "Callsign"
msgstr "Znak"
#: include/localtx_ajax.php:23 include/lh_ajax.php:23 include/txinfo.php:25
msgid "DSTAR-ID"
msgstr "DSTAR-ID"
#: include/localtx_ajax.php:24 include/lh_ajax.php:24 include/txinfo.php:26
msgid "Target"
msgstr "Cel"
#: include/localtx_ajax.php:25 include/lh_ajax.php:25 include/txinfo.php:27
msgid "Source"
msgstr "Źródło"
#: include/localtx_ajax.php:26 include/lh_ajax.php:26
msgid "Dur (s)"
msgstr "TX (s)"
#: include/localtx_ajax.php:27 include/lh_ajax.php:27
msgid "Loss"
msgstr "Utrata"
#: include/localtx_ajax.php:28 include/lh_ajax.php:28
msgid "BER"
msgstr "BER%"
#: include/localtx_ajax.php:30
msgid "RSSI (min)"
msgstr "RSSI"
#: include/localtx_ajax.php:31
msgid "RSSI (max)"
msgstr "RSSI"
#: include/localtx_ajax.php:32 include/localtx_ajax.php:33
msgid "RSSI (avg)"
msgstr "RSSI"
#: include/repeaterinfo.php:3
msgid "Repeater Info"
msgstr "Informacja o przekaźniku"
#: include/repeaterinfo.php:9
msgid "Current Mode"
msgstr "Aktualny tryb"
#: include/repeaterinfo.php:13
msgid "D-Star linked to"
msgstr "D-Star powiązane z"
#: include/repeaterinfo.php:18
msgid "YSF linked to"
msgstr "YSF powiązane z"
#: include/repeaterinfo.php:23
msgid "DMR TS1 last linked to"
msgstr "DMR TS1 ostatnio połączony z"
#: include/repeaterinfo.php:24
msgid "DMR TS2 last linked to"
msgstr "DMR TS2 ostatnio połączony z"
#: include/repeaterinfo.php:48
msgid "Location"
msgstr "Lokalizacja"
#: include/repeaterinfo.php:49
msgid "TX-Freq."
msgstr "częstotliwość TX"
#: include/repeaterinfo.php:50
msgid "RX-Freq."
msgstr "częstotliwość RX"
#: include/repeaterinfo.php:54
msgid "YSFGateway"
msgstr "YSFGateway"
#: include/repeaterinfo.php:59
msgid "DMR CC"
msgstr "DMR CC"
#: include/repeaterinfo.php:63
msgid "DMR-Master"
msgstr "DMR-Master"
#: include/repeaterinfo.php:64
msgid "TS1"
msgstr "TS1"
#: include/repeaterinfo.php:65
msgid "TS2"
msgstr "TS2"
#: include/repeaterinfo.php:97 include/repeaterinfo.php:104
msgid "enabled"
msgstr "włączony"
#: include/repeaterinfo.php:99 include/repeaterinfo.php:106
msgid "disabled"
msgstr "wyłączony"
#: include/tools.php:73
msgid ""
"You are using an old config.php. Please configure your Dashboard by calling "
"<a href=\"setup.php\">setup.php</a>!"
msgstr "Używasz starej config.php. Proszę skonfiguruj pulpit, używając "
"<a href=\"setup.php\">setup.php</a>!"
#: include/tools.php:79
msgid ""
"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>!"
msgstr "Zapomniałeś usunąć setup.php w katalogu głównym twojego panel nawigacyjnego lub"
"zapomniałeś skonfigurować! Usuń plik lub skonfiguruj panel nawigacyjny"
"używając <a href=\"setup.php\">setup.php</a>!"
#: include/modes.php:3
msgid "Enabled Modes"
msgstr "Tryby włączone "
#: include/lh_ajax.php:6
msgid "Last Heard List of today's"
msgstr "Ostatnia dziś słuchana lista "
#: include/lh_ajax.php:6
msgid "callsigns."
msgstr "znaki"
#: include/disk.php:3
msgid "Disk Use"
msgstr "Użycie dysku"
#: include/disk.php:10
msgid "File System"
msgstr "System plików"
#: include/disk.php:11
msgid "Mount Point"
msgstr "Punkt instalacji"
#: include/disk.php:12
msgid "Use"
msgstr "Użycie"
#: include/disk.php:13
msgid "Free"
msgstr "Wolne miejsce"
#: include/disk.php:14
msgid "Used"
msgstr "W użytku"
#: include/disk.php:15
msgid "Total"
msgstr "Razem"
#: include/txinfo.php:3
msgid "Currently TXing"
msgstr "Bieżący TXing"
#: include/txinfo.php:21
msgid "Talker Alias"
msgstr "Talker Alias"
#: include/txinfo.php:28
msgid "TX-Time"
msgstr "czas TX"
#: scripts/rebootmmdvm.php:50 scripts/halt.php:49 scripts/log.php:53
#: scripts/reboot.php:50 index.php:59
msgid "for"
msgstr "dla"
#: scripts/rebootmmdvm.php:52 scripts/halt.php:51 scripts/log.php:55
#: scripts/reboot.php:52 index.php:61
msgid "Repeater"
msgstr "Przekaźnik"
#: scripts/rebootmmdvm.php:54 scripts/halt.php:53 scripts/log.php:57
#: scripts/reboot.php:54 index.php:63
msgid "Hotspot"
msgstr "Hotspot"
#: scripts/rebootmmdvm.php:58 scripts/reboot.php:58
msgid "Home"
msgstr "Start"
#: scripts/rebootmmdvm.php:67 scripts/reboot.php:66
msgid "Executing"
msgstr "Wykonywanie"
#: scripts/rebootmmdvm.php:67
msgid "Reboot MMDVMHost service in progress"
msgstr "Ponowne uruchomienie usługi MMDVMHost w toku"
#: scripts/rebootmmdvm.php:90 scripts/halt.php:89 scripts/log.php:134
#: scripts/reboot.php:89 index.php:174
msgid "get your own at:"
msgstr "weź własne do"
#: scripts/rebootmmdvm.php:90 scripts/halt.php:89 scripts/log.php:134
#: scripts/reboot.php:89 index.php:174 credits.php:13 credits.php:17
msgid "Credits"
msgstr "Dziękujemy"
#: scripts/halt.php:66
msgid "Halt in progress...bye"
msgstr "Postęp zakończenia ... do widzenia"
#: scripts/log.php:61 index.php:100
msgid "View Log"
msgstr "Wyświetl log"
#: scripts/log.php:62 index.php:101
msgid "Reboot MMDVMHost"
msgstr "Ponowne uruchomie MMDVMHost"
#: scripts/log.php:63 index.php:102
msgid "Reboot System"
msgstr "Ponowne uruchomie systemu"
#: scripts/log.php:64 index.php:103
msgid "ShutDown System"
msgstr "Zamknięcie systemu"
#: scripts/log.php:68 index.php:108
msgid "DMRplus"
msgstr "DMRplus"
#: scripts/log.php:69 index.php:109
msgid "BrandMeister"
msgstr "BrandMeister"
#: scripts/log.php:76
msgid "Viewing log"
msgstr "Przeglądanie logu"
#: scripts/log.php:82
msgid "Level"
msgstr "Poziom"
#: scripts/log.php:83
msgid "Timestamp"
msgstr "Datownik"
#: scripts/log.php:84
msgid "Info"
msgstr "Informacje"
#: scripts/reboot.php:66
msgid "Reboot system in progress"
msgstr "Ponowne uruchomie systemu w toku"
#: ajax.php:214
msgid "Power"
msgstr "Zaśilenie"
#: ajax.php:219
msgid "CPU-Temperature"
msgstr "Temperatura procesora"
#: ajax.php:224
msgid "CPU-Frequency"
msgstr "Częstotliwość procesora"
#: ajax.php:228
msgid "System-Load"
msgstr "Ładowanie systemu"
#: ajax.php:229
msgid "CPU-Usage"
msgstr "Użycie procesora"
#: ajax.php:230
msgid "Uptime"
msgstr "Uptime"
#: ajax.php:231
msgid "Idle"
msgstr "Bezczynność"
#: ajax.php:237
msgid "online"
msgstr "online"
#: ajax.php:237
msgid "on battery"
msgstr "na baterii"
#: index.php:70
msgid "DMR-Network: "
msgstr "Śieć DMR: "
#: index.php:159
msgid "Last Reload"
msgstr "Ostatnia aktualizacja"
#: index.php:169
msgid "stop refreshing"
msgstr "zakończenie odświeżania"
#: index.php:171
msgid "start refreshing"
msgstr "start odświeżania"
#: credits.php:20
msgid ""
"I think, after all the time this dashboard is developed mainly by myself, it "
"is time to say \"Thank you\" to all those, wo delivered some ideas or code "
"into this project."
msgstr "Mam wrażenie, że panel nawigacyjny jest rozwijany głównie przez głównie przezemnie, więc "
"czas, aby powiedzieć \" dziękuję \" wszystkim tym, którzy dodali swoje pomysłóy lub kodu do tego projektu."
#: credits.php:21
msgid "This are explicit named following persons:"
msgstr "Są to następujące osóby:"
#: credits.php:31
msgid "and some others..."
msgstr "i inne ..."
#: credits.php:33
msgid ""
"Those, who felt forgotten, feel free to commit a change into github of this "
"file."
msgstr "Ci, którzy poczuli się zapomnieni, mogą swobodnie wprowadzać zmiany tego pliku w github"
#: credits.php:34
msgid "Many thanks to you all!"
msgstr "Wielkie dzięki wam wszystkim!"
#: credits.php:35
msgid "Best 73, Kim, DG9VH"
msgstr "Best 73, Kim, DG9VH"
#: setup.php:26
msgid ""
"You forgot to give write-permissions to your webserver-user, see point 3 in "
"<a href=\"linux-step-by-step.md\">linux-step-by-step.md</a>!"
msgstr "Zapomniałeś nadać uprawnienia do zapisu na swoim serwerze WWW, sprawdz punkt 3 na"
"<a href=\"linux-step-by-step.md\">linux-step-by-step.md</a>!"
#: setup.php:41 setup.php:50
msgid "Setup-Process"
msgstr "proces instalacji"
#: setup.php:42
msgid ""
"Your config-file is written in config/config.php, please remove setup.php "
"for security reasons!"
msgstr "Twój plik konfiguracyjny jest zapisany w config/config.php, proszę usuń plik setup.php "
"ze względów bezpieczeństwa!"
#: setup.php:43
msgid "Your dashboard is now available."
msgstr "Twoj panel nawigacyjny jest teraz dostępny."
#: setup.php:51
msgid "Please give necessary information below"
msgstr "Proszę podać poniżej niezbędne informacje"
#: setup.php:56
msgid "MMDVMHost-Configuration"
msgstr "konfiguracja MMDVMHost"
#: setup.php:58
msgid "Path to MMDVMHost-logfile"
msgstr "ścieżka do pliku log-MMDVMHost"
#: setup.php:62
msgid "Path to MMDVM.ini"
msgstr "ścieżka do MMDVM.ini"
#: setup.php:66
msgid "MMDVM.ini-filename"
msgstr "nazwa pliku MMDVM.ini"
#: setup.php:70
msgid "Path to MMDVMHost-executable"
msgstr "ścieżka do MMDVMHost-executable"
#: setup.php:74
msgid "Enable extended lookup (show names)"
msgstr "Włącz wyszukiwanie rozszerzone (pokaż nazwy)"
#: setup.php:78
msgid "Show Talker Alias"
msgstr "Pokaż Talker Alias"
#: setup.php:82
msgid "Path to DMR-ID-Database-File (including filename)"
msgstr "Ścieżka do DMR-ID-Database-File (w tym nazwa pliku)"
#: setup.php:87
msgid "YSFGateway-Configuration"
msgstr "Konfiguracja YSFGateway"
#: setup.php:89
msgid "Enable YSFGateway"
msgstr "Włącz YSFGateway"
#: setup.php:93
msgid "Path to YSFGateway-logfile"
msgstr "Ścieżka do"
#: setup.php:97
msgid "Logfile-prefix"
msgstr "Przedrostek logfile"
#: setup.php:101
msgid "Path to YSFGateway.ini"
msgstr "Ścieżka do"
#: setup.php:105
msgid "YSFGateway.ini-filename"
msgstr "Nazwa pliku YSFHosts.ini"
#: setup.php:109
msgid "Path to YSFHosts.txt"
msgstr "Ścieżka do"
#: setup.php:113
msgid "YSFHosts.txt-filename"
msgstr "Nazwa pliku YSFHosts.txt"
#: setup.php:118
msgid "ircddbgateway-Configuration"
msgstr "Konfiguracja ircddbgateway"
#: setup.php:120
msgid "Path to Links.log"
msgstr "Ścieżka do"
#: setup.php:124
msgid "Name of ircddbgateway-executeable"
msgstr "Nazwa ircddbgateway-executeable"
#: setup.php:129
msgid "Global Configuration"
msgstr "Globalna konfiguracja"
#: setup.php:188
msgid "Locale"
msgstr "Lokalizacja"
#: setup.php:192
msgid "URL to Logo"
msgstr "Adres URL do Logo"
#: setup.php:196
msgid "URL to DMRplus-Logo"
msgstr "Adres URL do DMRplus-Logo"
#: setup.php:200
msgid "URL to BrandMeister-Logo"
msgstr "Adres URL do BrandMeister-Logo"
#: setup.php:204
msgid "Refresh page after in seconds"
msgstr "Odśwież stronę za kilka sekund"
#: setup.php:208
msgid "Show System Info"
msgstr "Pokaż informacje o systemie"
#: setup.php:212
msgid "Show Disk Use"
msgstr "Pokaż użycie dysku"
#: setup.php:216
msgid "Show Repeater Info"
msgstr "Pokaż informacje o przekaźniku"
#: setup.php:220
msgid "Show Enabled Modes"
msgstr "Pokaż włączone tryby"
#: setup.php:224
msgid "Show Last Heard List of today's"
msgstr "Pokaż listę dziś ostatnio słuchanych"
#: setup.php:228
msgid "Show Today's local transmissions"
msgstr "Pokaż dzisiejsze lokalne transmisje"
#: setup.php:232
msgid "Show progressbars"
msgstr "Pokaż paski postępu"
#: setup.php:236
msgid "Enable CPU-temperature-warning"
msgstr "Włącz ostrzeżenie o temperaturze CPU"
#: setup.php:240
msgid "Warning temperature"
msgstr "Temperatura ostrzegawcza"
#: setup.php:244
msgid "Enable Network-Switching-Function"
msgstr "Włącz funkcję przełączania sieciowego"
#: setup.php:248
msgid "Username for switching networks:"
msgstr "Nazwa użytkownika do przełączania sieci:"
#: setup.php:252
msgid "Password for switching networks:"
msgstr "Hasło do przełączania sieci:"
#: setup.php:257
msgid "Enable Management-Functions below"
msgstr "Włącz funkcje zarządzania poniżej"
#: setup.php:261
msgid "Username for view log:"
msgstr "Nazwa użytkownika dla pilku rejestru:"
#: setup.php:265
msgid "Password for view log:"
msgstr "Hasło dla pilku rejestru:"
#: setup.php:269
msgid "Username for halt:"
msgstr "Nazwa użytkownika do wstrzymania:"
#: setup.php:273
msgid "Password for halt:"
msgstr "Hasło do wstrzymania:"
#: setup.php:277
msgid "Username for reboot:"
msgstr "Nazwa użytkownika do ponownego uruchomienia:"
#: setup.php:281
msgid "Password for reboot:"
msgstr "Hasło do ponownego uruchomienia:"
#: setup.php:285
msgid "Username for restart:"
msgstr "Użytkownik restartu:"
#: setup.php:289
msgid "Password for restart:"
msgstr "Hasło do ponownego uruchomienia:"
#: setup.php:293
msgid "Reboot MMDVMHost command:"
msgstr "polecenie do ponownego uruchomienia MMDVMHosta:"
#: setup.php:297
msgid "Reboot system command:"
msgstr "polecenie do ponownego uruchomienia systemu:"
#: setup.php:301
msgid "Halt system command:"
msgstr "polecenie do zatrzymania systemu:"
#: setup.php:305
msgid "Show Powerstate (online or battery, wiringpi needed)"
msgstr "Pokaż stan zasilania (online lub bateria, potrzebne zasilanie)"
#: setup.php:309
msgid "GPIO pin to monitor:"
msgstr "Gniazdo GPIO do monitorowania:"
#: setup.php:313
msgid "State that signalizes online-state:"
msgstr "Status sygnalizujący stan online:"
#: setup.php:317
msgid "Show link to QRZ.com on Callsigns"
msgstr "Pokaż link do QRZ.com na znakach"
#: setup.php:321
msgid "RSSI value"
msgstr "zawartość RSSI"
#: setup.php:323
msgid "minimal"
msgstr "minimalnie"
#: setup.php:324
msgid "maximal"
msgstr "maksymalnie"
#: setup.php:325
msgid "average"
msgstr "średnio"
#: setup.php:331
msgid "Save configuration"
msgstr "Zapisz konfigurację"
#: include/functions.php:13 include/functions.php:15
msgid "compiled"
msgstr "skompilowane"
#: include/functions.php:161
msgid "ircddbgateway is down!"
msgstr "ircddbgateway jest wyciszony!"
#: include/functions.php:164 include/functions.php:175
msgid "Remote gateway configured - not checked!"
msgstr "Zdalna bramka skonfigurowana - nie sprawdzono!"
#: include/functions.php:172
msgid "YSFGateway is down!"
msgstr "YSFGateway jest wyciszony!"
#: include/functions.php:182
msgid "MMDVMHost is down!"
msgstr "MMDVMHost jest wyciszony!"
#: include/functions.php:550
msgid "idle"
msgstr "bezczynny"
#: include/functions.php:623
msgid "ircddbgateway not running!"
msgstr "ircddbgateway nie działa!"
#: include/functions.php:640 include/functions.php:656
#: include/functions.php:741
msgid "not linked"
msgstr "niepołączony"
#: include/functions.php:692
msgid "something went wrong!"
msgstr "coś poszło nie tak!"
#: include/functions.php:706 include/functions.php:724
msgid "Reflector not linked"
msgstr "Reflektor niepołączony"
#: include/functions.php:708 include/functions.php:719
msgid "Reflector"
msgstr "Reflektor"
#: include/functions.php:719
msgid "not cfmd"
msgstr "nie znaleziono cfmd"
#: include/functions.php:743
msgid "YSFGateway not running"
msgstr "YSFGateway nie działa"
#: include/functions.php:830
msgid "DMRIDs.dat not correct!"
msgstr "DMRIDs.dat nie jest poprawny!"
#: index.php:78
msgid "Configuration"
msgstr ""
#: setup.php:209
msgid "Use networks.php instead of configuration below"
msgstr ""
#: include/lh_ajax.php:6
msgid "Cached"
msgstr ""

28
locale/pl_PL/settings.php Normal file
View file

@ -0,0 +1,28 @@
<?php
define("LANG_NAME", "Polish");
define("LANG_LOCALE", "pl_PL");
define("LANG", "pl");
define("LANGCODE", "pl");
define("DATATABLESTRANSLATION", '{
"processing": "Przetwarzanie...",
"search": "Szukaj:",
"lengthMenu": "Pokaż _MENU_ pozycji",
"info": "Pozycje od _START_ do _END_ z _TOTAL_ łącznie",
"infoEmpty": "Pozycji 0 z 0 dostępnych",
"infoFiltered": "(filtrowanie spośród _MAX_ dostępnych pozycji)",
"infoPostFix": "",
"loadingRecords": "Wczytywanie...",
"zeroRecords": "Nie znaleziono pasujących pozycji",
"emptyTable": "Brak danych",
"paginate": {
"first": "Pierwsza",
"previous": "Poprzednia",
"next": "Następna",
"last": "Ostatnia"
},
"aria": {
"sortAscending": ": aktywuj, by posortować kolumnę rosnąco",
"sortDescending": ": aktywuj, by posortować kolumnę malejąco"
}
}');
?>

Binary file not shown.

View file

@ -9,10 +9,10 @@ msgstr ""
"Project-Id-Version: 2017-03-14\n"
"Report-Msgid-Bugs-To: dg9vh@darc.de\n"
"POT-Creation-Date: 2017-03-14 13:47+0000\n"
"PO-Revision-Date: 2017-03-14 21:30+0000\n"
"PO-Revision-Date: 2017-03-23 23:35+0000\n"
"Last-Translator: Paulo - CT2JAY <pjao.ct2jay@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: de\n"
"Language: pt\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
@ -660,3 +660,15 @@ msgstr "Médio"
#: setup.php:331
msgid "Save configuration"
msgstr "Gravar configuração"
#: index.php:78
msgid "Configuration"
msgstr "Configuração"
#: setup.php:209
msgid "Use networks.php instead of configuration below"
msgstr "Use networks.php em vez da configuração abaixo"
#: include/lh_ajax.php:6
msgid "Cached"
msgstr "Em cache"

Binary file not shown.

View file

@ -395,7 +395,7 @@ msgstr "Вы забыли задать требуемые разрешение
#: setup.php:41 setup.php:50
msgid "Setup-Process"
msgstr "Процесс установки"
msgstr "Настройка параметров панели управления"
#: setup.php:42
msgid "Your config-file is written in config/config.php, please remove setup.php for security reasons!"
@ -463,7 +463,7 @@ msgstr "Путь к папке с YSFGateway.ini"
#: setup.php:105
msgid "YSFGateway.ini-filename"
msgstr "Имя файла настроеек (обычно YSFGateway.ini)"
msgstr "Имя файла настроек (обычно YSFGateway.ini)"
#: setup.php:109
msgid "Path to YSFHosts.txt"
@ -571,11 +571,11 @@ msgstr "Пароль для просмотра логов:"
#: setup.php:269
msgid "Username for halt:"
msgstr "Логин для оставнки системы:"
msgstr "Логин для остановки системы:"
#: setup.php:273
msgid "Password for halt:"
msgstr "Пароль для оставнки системы:"
msgstr "Пароль для остановки системы:"
#: setup.php:277
msgid "Username for reboot:"
@ -696,3 +696,16 @@ msgstr "YSFGateway не запущен"
#: include/functions.php:830
msgid "DMRIDs.dat not correct!"
msgstr "Некорректный файл DMRIDs.dat!"
#: index.php:78
msgid "Configuration"
msgstr "Конфигурация"
#: setup.php:209
msgid "Use networks.php instead of configuration below"
msgstr "Использовать данные из файла networks.php вместо кофигурации ниже"
#: include/lh_ajax.php:6
msgid "Cached"
msgstr "Кэширование"

Binary file not shown.

View file

@ -720,4 +720,17 @@ msgstr "YSFGateway kör inte"
#: include/functions.php:830
msgid "DMRIDs.dat not correct!"
msgstr "DMRIDs.dat ej korrekt!"
msgstr "DMRIDs.dat ej korrekt!"
#: index.php:78
msgid "Configuration"
msgstr ""
#: setup.php:209
msgid "Use networks.php instead of configuration below"
msgstr ""
#: include/lh_ajax.php:6
msgid "Cached"
msgstr "Cachad"

View file

@ -717,3 +717,11 @@ msgstr ""
#: include/functions.php:830
msgid "DMRIDs.dat not correct!"
msgstr ""
#: index.php:78
msgid "Configuration"
msgstr ""
#: setup.php:209
msgid "Use networks.php instead of configuration below"
msgstr ""

View file

@ -7,6 +7,7 @@ $start = $time;
// do not touch this includes!!! Never ever!!!
include "../config/config.php";
include("../config/networks.php");
include "../include/tools.php";
include "../include/functions.php";
include "../include/init.php";
@ -53,16 +54,28 @@ if (!isset($_SERVER['PHP_AUTH_USER']) && SWITCHNETWORKUSER !== "" && SWITCHNETWO
<?php
checkSetup();
include "../include/sysinfo.php";
if ($_GET['network'] == "DMRPLUS") {
setDMRNetwork("DMRplus");
exec( "sudo cp ".MMDVMINIPATH."/DMRPLUS.ini ".MMDVMINIPATH."/".MMDVMINIFILENAME );
exec( REBOOTMMDVM );
}
if ($_GET['network'] == "BRANDMEISTER") {
setDMRNetwork("BrandMeister");
exec( "sudo cp ".MMDVMINIPATH."/BRANDMEISTER.ini ".MMDVMINIPATH."/".MMDVMINIFILENAME );
exec( REBOOTMMDVM );
if (defined("JSONNETWORK")) {
$netname = $_GET['network'];
$key = recursive_array_search($netname,$networks);
$network = $networks[$key];
echo "<br>";
echo "INI:".$network['ini'];
setDMRNetwork($network['label']);
exec( "sudo cp ".MMDVMINIPATH."/".$network['ini'].".ini ".MMDVMINIPATH."/".MMDVMINIFILENAME );
exec( REBOOTMMDVM );
} else {
if ($_GET['network'] == "DMRPLUS") {
setDMRNetwork("DMRplus");
exec( "sudo cp ".MMDVMINIPATH."/DMRPLUS.ini ".MMDVMINIPATH."/".MMDVMINIFILENAME );
exec( REBOOTMMDVM );
}
if ($_GET['network'] == "BRANDMEISTER") {
setDMRNetwork("BrandMeister");
exec( "sudo cp ".MMDVMINIPATH."/BRANDMEISTER.ini ".MMDVMINIPATH."/".MMDVMINIFILENAME );
exec( REBOOTMMDVM );
}
}
?>
<div class="alert alert-info" role="alert">Switching network to <b><?php echo getDMRNetwork2() ?></b><br>Restarting in new selected network in progress</div>

View file

@ -0,0 +1,92 @@
<?php
//ea4gkq
$time = microtime();
$time = explode(' ', $time);
$time = $time[1] + $time[0];
$start = $time;
// do not touch this includes!!! Never ever!!!
include "../config/config.php";
include "../include/tools.php";
include "../include/functions.php";
include "../include/init.php";
if (!isset($_SERVER['PHP_AUTH_USER']) && SWITCHNETWORKUSER !== "" && SWITCHNETWORKPW !== "") {
header('WWW-Authenticate: Basic realm="Dashboard"');
header('HTTP/1.0 401 Unauthorized');
echo 'Zur Ausführung bitte die geforderten Login-Daten eingeben!';
exit;
} else {
if ($_SERVER['PHP_AUTH_USER'] == SWITCHNETWORKUSER && $_SERVER['PHP_AUTH_PW'] == SWITCHNETWORKPW) {
$fileName = MMDVMLOGPATH."/".MMDVMLOGPREFIX."-".date("Y-m-d").".log";
?>
<!doctype html>
<html lang="es">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<!-- Das neueste kompilierte und minimierte CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<!-- Optionales Theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css">
<!-- Das neueste kompilierte und minimierte JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<meta http-equiv="refresh" content="10; URL=../">
<title><?php echo getCallsign($mmdvmconfigs) ?> - MMDVM-Dashboard by DG9VH</title>
</head>
<body>
<div class="page-header">
<h1><small>MMDVM-Dashboard by DG9VH for <?php
if (getConfigItem("General", "Duplex", $mmdvmconfigs) == "1") {
echo "Repeater";
} else {
echo "Hotspot";
}
?>:</small> <?php echo getCallsign($mmdvmconfigs) ?></h1>
<h4>MMDVMHost by G4KLX Version: <?php echo getMMDVMHostVersion() ?></h4>
<button onclick="window.location.href='../index.php'" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-home" aria-hidden="true"></span>&nbsp;Home</button>
</script>
</div>
<?php
$reflektor_nr=$_GET['reflector'];
checkSetup();
include "../include/sysinfo.php";
exec( "sudo /bin/sed '/#Options/d' -i ".MMDVMINIPATH."/".MMDVMINIFILENAME);
exec( "sudo /bin/sed 's/Options=StartRef=.*$/Options=StartRef=".$reflektor_nr.";RelinkTime=20;Userlink=1;/' -i ".MMDVMINIPATH."/".MMDVMINIFILENAME);
exec( REBOOTMMDVM );
// /bin/sed '/#Options/d' -i /opt/MMDVMHost/MMDVM.ini
// #dann
// /bin/sed 's/Options=StartRef=.*$/Options=StartRef='"$Reflektor"';RelinkTime=22;Userlink=1;/' -i /opt/MMDVMHost/MMDVM.ini
?>
<div class="alert alert-info" role="alert">Switching reflector to <b><?php echo $reflektor_nr; ?></b><br>Restarting in new selected network in progress</div>
<div class="panel panel-info">
<?php
$datum = date("d-m-Y");
$uhrzeit = date("H:i:s");
echo "Last Update $datum, $uhrzeit";
$time = microtime();
$time = explode(' ', $time);
$time = $time[1] + $time[0];
$finish = $time;
$total_time = round(($finish - $start), 4);
echo '<!--Page generated in '.$total_time.' seconds.-->';
} else {
header('WWW-Authenticate: Basic realm="Dashboard"');
header('HTTP/1.0 401 Unauthorized');
echo 'Zur Ausführung bitte die geforderten Login-Daten eingeben!';
exit;
}
}
?> | get your own at: <a href="https://github.com/dg9vh/MMDVMHost-Dashboard">https://github.com/dg9vh/MMDVMHost-Dashboard</a>
</div>
</body>
</html>

View file

@ -205,6 +205,10 @@ get_tz_options(constant("TIMEZONE"), "Timezone", '');
<span class="input-group-addon" id="LOGO" style="width: 300px"><?php echo _("URL to Logo"); ?></span>
<input type="text" value="<?php echo constant("LOGO") ?>" name="LOGO" class="form-control" placeholder="http://your-logo" aria-describedby="LOGO">
</div>
<div class="input-group">
<span class="input-group-addon" id="JSONNETWORK" style="width: 300px"><?php echo _("Use networks.php instead of configuration below"); ?></span>
<div class="panel-body"><input type="checkbox" name="JSONNETWORK" <?php if (defined("JSONNETWORK")) echo "checked" ?>></div>
</div>
<div class="input-group">
<span class="input-group-addon" id="DMRPLUSLOGO" style="width: 300px"><?php echo _("URL to DMRplus-Logo"); ?></span>
<input type="text" value="<?php echo constant("DMRPLUSLOGO") ?>" name="DMRPLUSLOGO" class="form-control" placeholder="http://your-logo" aria-describedby="DMRPLUSLOGO">
@ -257,6 +261,10 @@ get_tz_options(constant("TIMEZONE"), "Timezone", '');
<span class="input-group-addon" id="ENABLENETWORKSWITCHING" style="width: 300px"><?php echo _("Enable Network-Switching-Function"); ?></span>
<div class="panel-body"><input type="checkbox" name="ENABLENETWORKSWITCHING" <?php if (defined("ENABLENETWORKSWITCHING")) echo "checked" ?>></div>
</div>
<div class="input-group">
<span class="input-group-addon" id="ENABLEREFLECTORSWITCHING" style="width: 300px"><?php echo _("Enable Reflector-Switching-Function"); ?></span>
<div class="panel-body"><input type="checkbox" name="ENABLEREFLECTORSWITCHING" <?php if (defined("ENABLEREFLECTORSWITCHING")) echo "checked" ?>></div>
</div>
<div class="input-group">
<span class="input-group-addon" id="SWITCHNETWORKUSER" style="width: 300px"><?php echo _("Username for switching networks:"); ?></span>
<input type="text" value="<?php echo constant("SWITCHNETWORKUSER") ?>" name="SWITCHNETWORKUSER" class="form-control" placeholder="username" aria-describedby="SWITCHNETWORKUSER">

View file

@ -1,6 +1,7 @@
# Switching Networks
To make switching networks possible you have to fulfill following conditions:
1. add www-user to the /etc/sudoers file to be able to execute following commands: cp, killall, MMDVMHost
* add www-user to the /etc/sudoers file to be able to execute following commands: cp, killall, MMDVMHost
You can do this for example with following line:
@ -10,8 +11,9 @@ To make switching networks possible you have to fulfill following conditions:
HINT: PLEASE(!) only use visudo for editing the sudoers-file! This validates the file before writing it on the
hard-disk. Otherwise there is heavy danger to damange your sudo-system, if you got any error/typo within the line!
* create two or more ini-files containing your configurations. If not using the new variant via /config/networks.php, create one with the name DMRPLUS.ini and the other with the name BRANDMEISTER.ini within the same directory where your MMDVM.ini resists, that contains the configurations for the corresponding networks.
2. create two ini-files, one with the name DMRPLUS.ini and the other with the name BRANDMEISTER.ini within the same directory where your MMDVM.ini resists, that contains the configurations for the corresponding networks.
If you want to use the new variant via /config/networks.php edit the file networks.php to fit your needs and refer to the created ini-files only by using the prefix and not the full name with .ini at the end!
## Security Hint
It is absolutely not recommended to put ALL into the sudoers line! The commands above are heavy enougth!

View file

@ -1,3 +1,3 @@
<?php
define("VERSION", "20170321-1 (".getGitVersion().")");
define("VERSION", "20170328-1 (".getGitVersion().")");
?>