From ab03016c7ee8bcc091428dc4ffee9d3985d37983 Mon Sep 17 00:00:00 2001 From: dg9vh Date: Wed, 22 Mar 2017 20:42:58 +0000 Subject: [PATCH 01/20] hope to solve problems with YSFReflector State --- include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions.php b/include/functions.php index e1fac35..13a07fb 100644 --- a/include/functions.php +++ b/include/functions.php @@ -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; } From 3a84ae674ba031ebd8f9689e4c63844f9914a9ab Mon Sep 17 00:00:00 2001 From: dg9vh Date: Wed, 22 Mar 2017 21:29:28 +0000 Subject: [PATCH 02/20] fixed issue with mode-display --- ajax.php | 4 ++-- version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ajax.php b/ajax.php index 7f9e535..d2e0ef8 100644 --- a/ajax.php +++ b/ajax.php @@ -25,9 +25,9 @@ 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); + $mode = getActualMode(getLastHeard($reverseLogLinesMMDVM, FALSE), $mmdvmconfigs); echo $mode; } if ($_GET['section'] == "lastHeard") { diff --git a/version.php b/version.php index 02a3a75..bb60924 100644 --- a/version.php +++ b/version.php @@ -1,3 +1,3 @@ From 5666e8215710613a606cf6a65651b9c63bbd749f Mon Sep 17 00:00:00 2001 From: dg9vh Date: Wed, 22 Mar 2017 21:42:29 +0000 Subject: [PATCH 03/20] fixed high load with last commit --- ajax.php | 2 +- include/functions.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ajax.php b/ajax.php index d2e0ef8..c58e773 100644 --- a/ajax.php +++ b/ajax.php @@ -27,7 +27,7 @@ $logLinesMMDVM = getMMDVMLog(); $reverseLogLinesMMDVM = $logLinesMMDVM; rsort($reverseLogLinesMMDVM); if ($_GET['section'] == "mode") { - $mode = getActualMode(getLastHeard($reverseLogLinesMMDVM, FALSE), $mmdvmconfigs); + $mode = getActualMode(getLastHeard($reverseLogLinesMMDVM, TRUE), $mmdvmconfigs); echo $mode; } if ($_GET['section'] == "lastHeard") { diff --git a/include/functions.php b/include/functions.php index 13a07fb..bf905ca 100644 --- a/include/functions.php +++ b/include/functions.php @@ -473,7 +473,7 @@ function getHeardList($logLines, $onlyLast) { $rssi = ""; $ts1alias = "---"; $ts2alias = "---"; - if ($onlyLast && count($heardList )> 4) { + if ($onlyLast && count($heardList )> 20) { return $heardList; } } From da971c437c47d70ec9b4a34fa53e4315737b7a58 Mon Sep 17 00:00:00 2001 From: dg9vh Date: Thu, 23 Mar 2017 09:07:24 +0000 Subject: [PATCH 04/20] added polish language support --- locale/pl_PL/LC_MESSAGES/messages.mo | Bin 0 -> 11942 bytes locale/pl_PL/LC_MESSAGES/messages.po | 726 +++++++++++++++++++++++++++ locale/pl_PL/settings.php | 28 ++ version.php | 2 +- 4 files changed, 755 insertions(+), 1 deletion(-) create mode 100644 locale/pl_PL/LC_MESSAGES/messages.mo create mode 100644 locale/pl_PL/LC_MESSAGES/messages.po create mode 100644 locale/pl_PL/settings.php diff --git a/locale/pl_PL/LC_MESSAGES/messages.mo b/locale/pl_PL/LC_MESSAGES/messages.mo new file mode 100644 index 0000000000000000000000000000000000000000..bc66cffcc2c6e25c89dbac8fef4fa18b438ae775 GIT binary patch literal 11942 zcmbuE3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0000000..26146c9 --- /dev/null +++ b/locale/pl_PL/LC_MESSAGES/messages.po @@ -0,0 +1,726 @@ +# Translation-Template +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , 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 \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 " +"setup.php!" +msgstr "Używasz starej config.php. Proszę skonfiguruj pulpit, używając " +"setup.php!" + +#: 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 setup.php!" +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 setup.php!" + +#: 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 " +"linux-step-by-step.md!" +msgstr "Zapomniałeś nadać uprawnienia do zapisu na swoim serwerze WWW, sprawdz punkt 3 na" +"linux-step-by-step.md!" + + +#: 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 "" + +#: 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!" diff --git a/locale/pl_PL/settings.php b/locale/pl_PL/settings.php new file mode 100644 index 0000000..2432ad9 --- /dev/null +++ b/locale/pl_PL/settings.php @@ -0,0 +1,28 @@ + \ No newline at end of file diff --git a/version.php b/version.php index bb60924..d9e9b70 100644 --- a/version.php +++ b/version.php @@ -1,3 +1,3 @@ From f8be14d465fc9821098aba52bfdbf7edbc41b66a Mon Sep 17 00:00:00 2001 From: dg9vh Date: Thu, 23 Mar 2017 14:23:54 +0000 Subject: [PATCH 05/20] small update of pl_PL --- locale/pl_PL/LC_MESSAGES/messages.mo | Bin 11942 -> 11985 bytes locale/pl_PL/LC_MESSAGES/messages.po | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/locale/pl_PL/LC_MESSAGES/messages.mo b/locale/pl_PL/LC_MESSAGES/messages.mo index bc66cffcc2c6e25c89dbac8fef4fa18b438ae775..4ec9171dcdb08bb4669193ce45751d738e3b331a 100644 GIT binary patch delta 3740 zcmYk-d9amb0SDlZ%f84?2tpnNE(l=?NV(xsco7wo1S~cQ5j1vf!K5P~D6$I_1V$mC zVPORmqt!5qj(@~3VWX3&m4!3f)I>C)&d}8JJNILTckb^z@AsW^-u*jw@08lcHm~V=5Ds)ezxTyw&W4!d%s~m z|9f^UifZw`N((nW<|mkUV|Qi@moOb&!R~Be8l1*-G>hqIL3#a9`Th!i(*3pU!ylI( zV<*=q*;oHXonfSddS(X0nFdF)8ON|IZ!5i<8Q|jbdIR&hJ1z4Yc@ z4&=*ByZ>Omf12h}H0x&lbECWI$NtP4!+0TY_Nr@DGJwrYLtB{@c#>AB_$f`Qc!d?dMST`$n1OcDdK&D- zbTE)v$*Y;I9m5Q0JhLSWna{1KcB;iwD*lQWyku#AM{O4;n2ygdU+iq7=kZdm3)m;iql@w zaA%J|?8!8I5!2D&(hdhv~S^&sZAh z%^bR6%;!fjpBuw$!9-^1XD}TsWZGNG3}g%a6+23Q$!bRY2bDDR9<$V^n3;9-2xMmG zGadF}I;dwF9L@o}iv2l*gSd*>f`j}tUu6dVAv4g{mBt^oZWa5V2K%|8&tfPu)7#mP zvzW(f4Rf0JGXp!wWBe8K6T8}n(#|?&LOZCh;%TP6SD697!wld=>B&CT#w9vaexTz; zjbG@_{ICpR&Oie*z^TkiEMfL?88fg=Oo!Xb>*ty89j2y>H%dQZKG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NyE&pM*LasW`ofF`4M1e{+;+YH3cO_WVaw$5&AeJU|_~ z2!75qz-ZKS@u)2rh+6s)s1DLl?Pa3|vI6;M@~yj31O5UXHFS~+eVDVT8UBu%+25!R z19&CWfg9CeB*vfzyW3MAGW_x?KSnX{`6tOz5bc@#%^4X zM!i-!sMB168dw>g!ab;;)`dKzh8Ce_l#jG+HlbFo8a3c!r~%ZWR_2Voe=W-KKX`*1 z`auck;@^7@YG8d(E0BiT!*tYu=Ak;uwbxrvXQmWs${ezOk9zJVYD-)3W6%%dP%EG5 zP|+82P+u%SFIL$HzP6sTUcsJx{u^q>9+pc3jIkzId!Yv0A2s7-)FGaR+L}C6JI+BW zn)!K5z?UX0awdXhN^#jyv9UkrfNsh-P zt|y~c?|&&3-URb8YNS6PV=&iI9X98rX)k-CJ|B)6SUR$*CJS}w3amRYkn0-j`>5|7 zMmL^BE&VC zikev#>bX2rJ4M(8pCzvol>=llnL!2<6|JU9oPPhGqq31`WLh>AZHtOVuQTx!=}X2C zt(cZmS_1$Ax7<76utN7!~#Npx2BlKDjCWiq<4qXI6bkS)Zwx449;j3R4E zAMz4;g)AfeNf~*byhgT>bfWT>A5)4u$a0cKD#$D{gs3$3Z#Ma_eJ6A*buDWZNhO=f zI-)b7eQYe+`+4?a4JMNTWU9R4MUk#1ju0 jNJ_{HB#f*lDxLh8C$U*=M(Cix+KRB$*0uMd&bRm Date: Thu, 23 Mar 2017 19:40:34 +0000 Subject: [PATCH 06/20] changes related to https://github.com/dg9vh/MMDVMHost-Dashboard/issues/130 and added missing strings into internationalisations... --- config/networks.php | 21 + include/tools.php | 10 + index.php | 47 +- locale/da_DK/LC_MESSAGES/messages.po | 8 + locale/de_DE/LC_MESSAGES/messages.mo | Bin 11508 -> 11674 bytes locale/de_DE/LC_MESSAGES/messages.po | 8 + locale/en_GB/LC_MESSAGES/messages.po | 735 +++++++++++++++++++++++++-- locale/es_ES/LC_MESSAGES/messages.po | 8 + locale/pl_PL/LC_MESSAGES/messages.po | 8 + locale/pt_PT/LC_MESSAGES/messages.po | 8 + locale/ru_RU/LC_MESSAGES/messages.po | 8 + locale/sv_SE/LC_MESSAGES/messages.po | 10 +- messages.pot | 8 + scripts/switchnetwork.php | 30 +- setup.php | 4 + switching-networks.md | 6 +- version.php | 2 +- 17 files changed, 853 insertions(+), 68 deletions(-) create mode 100644 config/networks.php diff --git a/config/networks.php b/config/networks.php new file mode 100644 index 0000000..f001558 --- /dev/null +++ b/config/networks.php @@ -0,0 +1,21 @@ + diff --git a/include/tools.php b/include/tools.php index ed6eff8..3e788ef 100644 --- a/include/tools.php +++ b/include/tools.php @@ -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; +} ?> diff --git a/index.php b/index.php index d4a1e69..987e979 100644 --- a/index.php +++ b/index.php @@ -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"; ?>:

MMDVMHost by G4KLX Version:
Firmware: 0 ) { - echo "
"; - echo _("DMR-Network: ").getDMRNetwork(); + if (defined("JSONNETWORK")) { + $key = recursive_array_search(getDMRNetwork(),$networks); + $network = $networks[$key]; + echo "
"; + echo _("Configuration").": ".$network['label']; + + } else { + if (strlen(getDMRNetwork()) > 0 ) { + echo "
"; + echo _("DMR-Network: ").getDMRNetwork(); + } } ?>

'; + foreach ($networks as $network) { + echo ' '; + } + + } else { ?> m&s5`*wl48%+J^J`dx^V?V* zD{-^FAB6n#n)>{$!-dvZ4ZC7}>}4H^8cQas!+dOj3s4VSkLqwMs-wO3{D}Sh1UBXR zS&YOVtRZw7O8+L7MhiaZjp`r`HIp3F17~AZEW&!Y)Vc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!s8 zF0dL^x{at!c+h&vdKL9p-9=U6K57Cl(1U*MeM=dOx^V((AgQQLnT4#P@uK#YGf-wRm`Yt&zB<)Op9O)p%GxmbwT@g9z(92wZB6OS0KMD6}EbT=7lM%AdbzK)@I z8$<8`sOvdHMDhuF*>=%cNmL0cYNil1 z9wfJo=Jj2&j0`7Qn!e<7vX{6`>(8&M`x~G&Q~Qt%BC5<9(vzsEbjRGD?_a>d^p_HC z!ZG%I4i?+KDxubmjC6ZEepW4SE^+i|l#+C^k0cXqnvY07l0>?Y?L=)inMqdbfL1`J zyFLD&hin&PAwto1))-w@^X`djF0_kKpA?fE`d(Vq;f zcdTw%z2mp&PbNdi3bKG?kv!s0)OK=z_t~F?sX9YzNfO9B9niXyHl!B`AQi+*-X>GY zBGQ3mllrX@2NOu+`X}knAqU8D;&^yDNXC-6L~T4NaeKbsgU$2@kgj9|nNQM)+NVU5 z(Br38M8b(5*+}Av+E&tpd_iJJ4`K!lE-4Aiu6i1FE4V78#fHGDL+wgKs^%tk3-})Z C*hb<2 diff --git a/locale/de_DE/LC_MESSAGES/messages.po b/locale/de_DE/LC_MESSAGES/messages.po index 04f5df2..1a05ed4 100644 --- a/locale/de_DE/LC_MESSAGES/messages.po +++ b/locale/de_DE/LC_MESSAGES/messages.po @@ -717,3 +717,11 @@ 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" diff --git a/locale/en_GB/LC_MESSAGES/messages.po b/locale/en_GB/LC_MESSAGES/messages.po index 9781c02..5401d87 100644 --- a/locale/en_GB/LC_MESSAGES/messages.po +++ b/locale/en_GB/LC_MESSAGES/messages.po @@ -8,71 +8,720 @@ 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 \n" +"Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \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 " +"setup.php!" +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 setup.php!" +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 " +"linux-step-by-step.md!" +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 "" diff --git a/locale/es_ES/LC_MESSAGES/messages.po b/locale/es_ES/LC_MESSAGES/messages.po index 2fca34c..70f1c90 100644 --- a/locale/es_ES/LC_MESSAGES/messages.po +++ b/locale/es_ES/LC_MESSAGES/messages.po @@ -732,3 +732,11 @@ 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 "" diff --git a/locale/pl_PL/LC_MESSAGES/messages.po b/locale/pl_PL/LC_MESSAGES/messages.po index 90aa7b4..e7e5000 100644 --- a/locale/pl_PL/LC_MESSAGES/messages.po +++ b/locale/pl_PL/LC_MESSAGES/messages.po @@ -724,3 +724,11 @@ 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 "" diff --git a/locale/pt_PT/LC_MESSAGES/messages.po b/locale/pt_PT/LC_MESSAGES/messages.po index d1e7e91..fb960b6 100644 --- a/locale/pt_PT/LC_MESSAGES/messages.po +++ b/locale/pt_PT/LC_MESSAGES/messages.po @@ -660,3 +660,11 @@ msgstr "Médio" #: setup.php:331 msgid "Save configuration" msgstr "Gravar configuração" + +#: index.php:78 +msgid "Configuration" +msgstr "" + +#: setup.php:209 +msgid "Use networks.php instead of configuration below" +msgstr "" diff --git a/locale/ru_RU/LC_MESSAGES/messages.po b/locale/ru_RU/LC_MESSAGES/messages.po index f38d614..90e8ece 100644 --- a/locale/ru_RU/LC_MESSAGES/messages.po +++ b/locale/ru_RU/LC_MESSAGES/messages.po @@ -696,3 +696,11 @@ 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 "" diff --git a/locale/sv_SE/LC_MESSAGES/messages.po b/locale/sv_SE/LC_MESSAGES/messages.po index b319f7c..2ecf5ac 100644 --- a/locale/sv_SE/LC_MESSAGES/messages.po +++ b/locale/sv_SE/LC_MESSAGES/messages.po @@ -720,4 +720,12 @@ msgstr "YSFGateway kör inte" #: include/functions.php:830 msgid "DMRIDs.dat not correct!" -msgstr "DMRIDs.dat ej korrekt!" \ No newline at end of file +msgstr "DMRIDs.dat ej korrekt!" + +#: index.php:78 +msgid "Configuration" +msgstr "" + +#: setup.php:209 +msgid "Use networks.php instead of configuration below" +msgstr "" \ No newline at end of file diff --git a/messages.pot b/messages.pot index f4f2ab1..5401d87 100644 --- a/messages.pot +++ b/messages.pot @@ -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 "" diff --git a/scripts/switchnetwork.php b/scripts/switchnetwork.php index 04f6011..a0de2a9 100644 --- a/scripts/switchnetwork.php +++ b/scripts/switchnetwork.php @@ -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,27 @@ if (!isset($_SERVER['PHP_AUTH_USER']) && SWITCHNETWORKUSER !== "" && SWITCHNETWO "; + 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 ); + } } + ?> diff --git a/setup.php b/setup.php index b041ea3..5cb6689 100644 --- a/setup.php +++ b/setup.php @@ -205,6 +205,10 @@ get_tz_options(constant("TIMEZONE"), "Timezone", ''); " name="LOGO" class="form-control" placeholder="http://your-logo" aria-describedby="LOGO"> +
+ +
>
+
" name="DMRPLUSLOGO" class="form-control" placeholder="http://your-logo" aria-describedby="DMRPLUSLOGO"> diff --git a/switching-networks.md b/switching-networks.md index 3767a47..5b96088 100644 --- a/switching-networks.md +++ b/switching-networks.md @@ -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! diff --git a/version.php b/version.php index d9e9b70..28265c9 100644 --- a/version.php +++ b/version.php @@ -1,3 +1,3 @@ From 06e66970d6730164f97e0669876222a5674f40fc Mon Sep 17 00:00:00 2001 From: CT2JAY Date: Thu, 23 Mar 2017 22:39:01 +0000 Subject: [PATCH 07/20] changes related to #130 - Portuguese translation --- locale/pt_PT/LC_MESSAGES/messages.mo | Bin 11021 -> 11227 bytes locale/pt_PT/LC_MESSAGES/messages.po | 8 ++++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/locale/pt_PT/LC_MESSAGES/messages.mo b/locale/pt_PT/LC_MESSAGES/messages.mo index ae4e1cfe1f36cadd16080869d2158ae2ca94ac3d..5df124b4a206db2867c6df8a1bac205617804bc5 100644 GIT binary patch delta 3654 zcmZA2drXyO0LSr1#S0={2o=TPRlK4C;w3W^4Jk+)9k&1$s zBsIsTPSfQ`(^fX4)SOzYEf+OiTe&PR>yJ!btG>T;9twNM?|h!;eb4*6&+R>IO8+jy zcP%VvyW!YJdXVsz#$3mCZTaBX5Nb>d+=!3iCTxfMkw0^cj}G`D2ID1cgWn*3<~koC zcpF>e1JwP^+WYVGnf4Sqav};_VLW!h5!O^xUvg0mdQlCnL_KI7>H(W=eYd?{i&30E zf<5t~^%i!b-kx5^7@si?1vQ+48bKPW!7L2Ic^Hlht>vf=?zHt|sPEOII(7jM;g{GP zmohqCUtul7?$p;~2+ueBDKP8iC~5}kP$T;Q>8zUgxR z4@8YT0kwo_sQc4V1M;A+Glf+Y9IQr->;w+MOUR%3%i58c_ z*bm=E4eSDH39necwf-2!{OiJ9PH4mrkwKXj>@+OV71L(GHn2qYdBGkys(ZOoeRGzTsuOiE9Zlad# z0mh(VI<*A7tqG{9A8j3r>SzjTucT`J^*T&PHI##~=)sq;8nw1JP@D5tjKtqjQ`?E@ zh`_GMpiBa)11YHXrl2~If$=yK)m{Z^z`jZfbl%h=ZJJZ);1%T0+~q?(ZpDsM!yQl$ zibPFyJZcG_Ms;igYDscY9VhL2Eddj&I^ z8FLNQ;0Riwk7g8V$*)YQ&LEln9}3AbP`Jb+rF&ru!y34JgBe;YbSp%vgH&7k9h1y)LoxpFrgWAk^_i$8T!|WR8S-cL zIKDt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kJ}T(yI#N3&R%XSDlZqt38;I;H|yc`?BYM`gbvS diff --git a/locale/pt_PT/LC_MESSAGES/messages.po b/locale/pt_PT/LC_MESSAGES/messages.po index fb960b6..78bd912 100644 --- a/locale/pt_PT/LC_MESSAGES/messages.po +++ b/locale/pt_PT/LC_MESSAGES/messages.po @@ -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 \n" "Language-Team: LANGUAGE \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" @@ -663,8 +663,8 @@ msgstr "Gravar configuração" #: index.php:78 msgid "Configuration" -msgstr "" +msgstr "Configuração" #: setup.php:209 msgid "Use networks.php instead of configuration below" -msgstr "" +msgstr "Use networks.php em vez da configuração abaixo" From 372c1f517941de42d6c3587d617f1467dddba4e4 Mon Sep 17 00:00:00 2001 From: Sergei Date: Fri, 24 Mar 2017 21:28:15 +0300 Subject: [PATCH 08/20] Update messages.po --- locale/ru_RU/LC_MESSAGES/messages.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/locale/ru_RU/LC_MESSAGES/messages.po b/locale/ru_RU/LC_MESSAGES/messages.po index 90e8ece..80e0201 100644 --- a/locale/ru_RU/LC_MESSAGES/messages.po +++ b/locale/ru_RU/LC_MESSAGES/messages.po @@ -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!" @@ -699,8 +699,8 @@ msgstr "Некорректный файл DMRIDs.dat!" #: index.php:78 msgid "Configuration" -msgstr "" +msgstr "Конфигурация" #: setup.php:209 msgid "Use networks.php instead of configuration below" -msgstr "" +msgstr "Использовать данные из файла networks.php вместо кофигурации ниже" From 7a2f6fef24f9cf7ec91b7f10d9508039e95b5049 Mon Sep 17 00:00:00 2001 From: dg9vh Date: Fri, 24 Mar 2017 18:59:27 +0000 Subject: [PATCH 09/20] updated ru_RU messages.mo --- locale/ru_RU/LC_MESSAGES/messages.mo | Bin 15002 -> 15289 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/locale/ru_RU/LC_MESSAGES/messages.mo b/locale/ru_RU/LC_MESSAGES/messages.mo index bdc3db22d1327d893d201c268ac350f59a6ab15a..1169855c7de2c3181efe83e0ff6fc821b631496c 100644 GIT binary patch delta 4046 zcmZA32~bs49LMqF4u~v@zSP94p%S8Lxn!ofWMwWXu9Zv3lAwVigsJsFamUoq4BXPx zLaawQ0A;$}*d2beg7d)V{y>4lSPHe?RBmckfyL=iI9$IR|pR-!`qk z-cVjAZY2sD81oBW3gJLm6J|_3T#Lj+<&tMRKYk$9hjXD1V8(|%8 z*7L#0pVzeD7{P^(*bsYT3+!(lhZ@UFREN3f!NsTsH={b-iR$PLd;X67{U}Cr{Uo-- zi`Gy&jii6mmC9}WFaXs-GHNDSs0J5ceO!i7xXQX6HPA|X{xRyl^QeLSjIZJESQm>U z1HW&wZo^jeZ+1~pNADroHy@!gaT+zVFOlq-^QaCkV^jRo8p4S((#F~ob>9e7y9xGu z3MvChs3l#DUcxNrpqXvL=J*ymcmg%UpRqgMK>9S@*$8qlYR`b__sNv03phGS3z&qc3BR79mamRL`r8oZAB z@Ps?e9-~n+9ggjBEb6{oyd9UJ2DlH$;Bg#+Et$nooQfJiDL#fDwIly(D3*g}I1K62 zOhh$27dzr|)Ps9bOK=A7#$QnbjNwOl7oNgFSQo=%xQ0zp8F>JE(;PugUW6m@EUKZHSYvwPqsX6G&4EWv6(-?1RAvU# zi87jCO+sDwW>e8_T!i{!6(f^2WvEo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qGs#9a9wnXnF@~@FaBsoVm05yYL z)P*Ie4i2L>(RtJx?LG!#Bl@BbqgOv+s7$6HNi_M$_{}gvWjUb?(CjFqwf-ZhGC?!W z*=F9y6;^#7YNRE^Bw{o1f7wH29ia^HRGAz?MFUY8Lrf)#h~b1XqC}u>RuWnt&2$5y&7~4V9Cy^5|A48~*APnWyHTl%wW+BvmaWrW5w& z9IA<-#D0RMcf8qFVLyVc;n-X|QKgcYMSQ3e%2FcFQFHDQrT+s$k8U5UT?{0uh>wX} zVkW^}vYUfcRud|di77R1_>?Yb-?d-QVr9ZWdH)qbu(I)3ZsO!a*Myw?k5}8B+ z;Yz6N;{J}e(`-yu3#APaOU%~^MLRiy(A&|Cs3B$$6N&eT#Y8kQfoNL1ILRXP4ryBE zaPkRplCax293aLLa|xC4M7g8JGmqPd0Yn#KB(Z=!nuH!xm14r5a3MY-VhEKT zgdWusM0ZKK~qk6O>xkKJp%+I{0=t8Q3Zf2m<({pStE4aK&G^{}q~ jO#Q|BOZ8{#&)0ud{%=A^d1dF&+WrZr-D;;LPWAi`)bVI| From 03285d601159cb2fdf5a2fabab68e7c89d808d3f Mon Sep 17 00:00:00 2001 From: dg9vh Date: Sat, 25 Mar 2017 19:45:02 +0000 Subject: [PATCH 10/20] closes https://github.com/dg9vh/MMDVMHost-Dashboard/issues/130 --- scripts/switchnetwork.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/switchnetwork.php b/scripts/switchnetwork.php index a0de2a9..e9ad61e 100644 --- a/scripts/switchnetwork.php +++ b/scripts/switchnetwork.php @@ -56,7 +56,8 @@ checkSetup(); include "../include/sysinfo.php"; if (defined("JSONNETWORK")) { $netname = $_GET['network']; - $network = $networks[$netname]; + $key = recursive_array_search($netname,$networks); + $network = $networks[$key]; echo "
"; echo "INI:".$network['ini']; setDMRNetwork($network['label']); From 50811fb2562325fb808c2c1cb3b245a869bfa1da Mon Sep 17 00:00:00 2001 From: phl0 Date: Mon, 27 Mar 2017 13:53:25 +0200 Subject: [PATCH 11/20] Check if .git dir exists before accessing it --- include/functions.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/functions.php b/include/functions.php index bf905ca..6b363bb 100644 --- a/include/functions.php +++ b/include/functions.php @@ -851,7 +851,11 @@ function decodeAlias($logLine) { function getGitVersion(){ - exec("git rev-parse HEAD", $output); - return 'GitID #'.substr($output[0],0,7).''; + if (file_exists(".git")) { + exec("git rev-parse HEAD", $output); + return 'GitID #'.substr($output[0],0,7).''; + } else { + return 'GitID unknown'; + } } ?> From 4a8110e4290f48782b3782839827f6d31bb625d4 Mon Sep 17 00:00:00 2001 From: CT2JAY Date: Mon, 27 Mar 2017 21:51:24 +0100 Subject: [PATCH 12/20] LH - How many callsigns in cache --- include/lh_ajax.php | 5 ++++- locale/da_DK/LC_MESSAGES/messages.po | 4 ++++ locale/de_DE/LC_MESSAGES/messages.mo | Bin 11674 -> 11717 bytes locale/de_DE/LC_MESSAGES/messages.po | 5 +++++ locale/en_GB/LC_MESSAGES/messages.mo | Bin 379 -> 380 bytes locale/en_GB/LC_MESSAGES/messages.po | 5 +++++ locale/es_ES/LC_MESSAGES/messages.mo | Bin 11904 -> 11937 bytes locale/es_ES/LC_MESSAGES/messages.po | 5 +++++ locale/pl_PL/LC_MESSAGES/messages.po | 5 +++++ locale/ru_RU/LC_MESSAGES/messages.mo | Bin 15289 -> 15335 bytes locale/ru_RU/LC_MESSAGES/messages.po | 5 +++++ locale/sv_SE/LC_MESSAGES/messages.mo | Bin 11669 -> 11699 bytes locale/sv_SE/LC_MESSAGES/messages.po | 7 ++++++- 13 files changed, 39 insertions(+), 2 deletions(-) diff --git a/include/lh_ajax.php b/include/lh_ajax.php index 99e3e1e..8639e50 100644 --- a/include/lh_ajax.php +++ b/include/lh_ajax.php @@ -1,9 +1,12 @@
-
+
diff --git a/locale/da_DK/LC_MESSAGES/messages.po b/locale/da_DK/LC_MESSAGES/messages.po index f9a334e..d69b16b 100644 --- a/locale/da_DK/LC_MESSAGES/messages.po +++ b/locale/da_DK/LC_MESSAGES/messages.po @@ -728,3 +728,7 @@ msgstr "" #: setup.php:209 msgid "Use networks.php instead of configuration below" msgstr "" + +#: include/lh_ajax.php:6 +msgid "Cached" +msgstr "" diff --git a/locale/de_DE/LC_MESSAGES/messages.mo b/locale/de_DE/LC_MESSAGES/messages.mo index a16565e796252d12239b963942662f95c4ce397d..61dfc706f830388dd8240320501983a4e6d73372 100644 GIT binary patch delta 3795 zcmYk;32@9;0LSr%kj)`T;=VSbi7SpK6m9Bg)D?GABy}}{B~n*JrRg?AN!?A;IGZ4X z24$kAMvG=JYT6hERfEoGXqlE8Q8Tpk``dk)_Dz2KdH?_JzWcvyN;;L~z7gz`Zz%go z3$m)VF?aB9e_kj>LB`a=Z5V<(F%XYnT|ABT@FMzQCDy@v=)gy)&ppEc4CKSU*aT_E zZJbopKol?aF&5RpaBPGL)>PD(mZBP5gN<dgfj!6F=u0Ox@c`=m zGD-jDD=N+K8&pSEkXjn%M(n70nY=1Af8A@MnUoVW<^}vBsl5Hx<>c%U-9W zR$wu@wYOWS@Mns6(ag%QA)Y}e-ayUpId;QF90bN-23ZqPXD1b#VlHYzJ5b*{hHCc` zM&e!61cO6af9+`#-j(6j&emS2na3fkXojIWn22q05o)WpqB<(I@0X*t?i%uEZu8O- zpJF>~%Iwr`|Awr;8W_qACTGT@u2Zdx?fn(ln){nE29MhNf1(Cfi{7;&q3Fa2)DjQ0 z_g%=jGnuF@U5PqtAG@h&Zw_0_QCm`By?`3&Wz=E%8TI)6ifX6|JK$3sg%KP8?fD|q z3S?n(T#j1u9oPi-AiH4PT}4z+~z73?ag1P4~DYAYN#D@%k)7l@i=5G#)axQ8}+>c zOv5knLu|{*E5}ltglY8R#0t~|?xR++CMVWk&%Zwvjkuw;73u?#sFmn~8bCB^CE`#6 z9E>{UlaV$}ChB_y)C>q5XMUif4t_x$k}8a^L1#=)0~p26mXQTM+?wR=9y?Opoo+)#t} zP%G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 100644 --- a/locale/de_DE/LC_MESSAGES/messages.po +++ b/locale/de_DE/LC_MESSAGES/messages.po @@ -725,3 +725,8 @@ 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" + diff --git a/locale/en_GB/LC_MESSAGES/messages.mo b/locale/en_GB/LC_MESSAGES/messages.mo index a71c3e1d31ffbac58f17c8dfcf5db6551f014d1c..13ae36385b92b5063b222bc41cab20ba2e8153da 100644 GIT binary patch delta 66 zcmey(^oMDJ3Zv6R)ogYX1w&&i6Z47F?IqkoeS8%B9DQ9CY+QXEJ$)P;U0i}(gM%l& WGMFsSXv*&F;TRO`8ZtSOQ3(K(HxnoT delta 66 zcmeyv^qXmd3Zvsh)ogZS1w#ufV~dH??L}PNEyFw%Y*NxK%Q75N5{r`cQc@?rGhj{4 Wi+6XLEXQcdT3V8(YcV;BQ3(LMJrsrj diff --git a/locale/en_GB/LC_MESSAGES/messages.po b/locale/en_GB/LC_MESSAGES/messages.po index 5401d87..ebab6ed 100644 --- a/locale/en_GB/LC_MESSAGES/messages.po +++ b/locale/en_GB/LC_MESSAGES/messages.po @@ -725,3 +725,8 @@ msgstr "" #: setup.php:209 msgid "Use networks.php instead of configuration below" msgstr "" + +#: include/lh_ajax.php:6 +msgid "Cached" +msgstr "" + diff --git a/locale/es_ES/LC_MESSAGES/messages.mo b/locale/es_ES/LC_MESSAGES/messages.mo index 1b9a78a8f88757d57accefe44a21ff505117a9d2..d5c8e8ffe153a23b5e1f624b009c1730d547be78 100644 GIT binary patch delta 3756 zcmYk-3rv+|9LMoTLGgfGgvh+r!7CRf@qXc`nPiH132&Kzh^U3)t)nLDtBKb#DKv=G zBvCN28;)tIjhsv7M!GrY)U{Gs%+_))TTNSif9E`B^BKSMdEWP&^FGh}f1dZSDXTKe z`6)VhpP|)~u4H{1W18_+C@-|-5yk}J3XDN7w#S_qjv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vOK>@Gm;!4354XU5?JI03Fa((H`g? z_d`#83Hm!RD_&QkZ^wt&7QaHD&rGBT(g+<$euDk?ly>BXd)^IQs$#U^G0{cn3@Xuq z?Zx-;0QwUJ_b#gy zCmNfgXQCInLM7;umd5XAqI3SY{E=m~WirHuwKlDjq=h+VTjQovMZKFxv1Eau0D;E|j%Yo+9-~5gA1+?yco^ zazB|%1{1gDda{#jAgSX1dwAS`_uTRr=|f!Vg@o56ReT#NV|@|!C3A=?a0juJlJZn7 zeI~4SBtzr9cF{5%Ns^w-&7?osNV*VTpT|j0(wVRuVKuR=Bjd=^UQlL|F{v7F2y!;V zlf>=mPA-(2sB9w7lLyIIGSK(`B`Qx4%e~}2GTsZyG;%ZHT!xp)4Du|o_$I7O)zTkL zVL`n1j9e(3+0X16o!x~xxvkW0ubq&ewCLZ7~?X4D(9|5&}Za`u-u%d7uC&ImoX diff --git a/locale/es_ES/LC_MESSAGES/messages.po b/locale/es_ES/LC_MESSAGES/messages.po index 70f1c90..85e75b9 100644 --- a/locale/es_ES/LC_MESSAGES/messages.po +++ b/locale/es_ES/LC_MESSAGES/messages.po @@ -740,3 +740,8 @@ msgstr "" #: setup.php:209 msgid "Use networks.php instead of configuration below" msgstr "" + +#: include/lh_ajax.php:6 +msgid "Cached" +msgstr "En caché" + diff --git a/locale/pl_PL/LC_MESSAGES/messages.po b/locale/pl_PL/LC_MESSAGES/messages.po index e7e5000..d43af7b 100644 --- a/locale/pl_PL/LC_MESSAGES/messages.po +++ b/locale/pl_PL/LC_MESSAGES/messages.po @@ -732,3 +732,8 @@ msgstr "" #: setup.php:209 msgid "Use networks.php instead of configuration below" msgstr "" + +#: include/lh_ajax.php:6 +msgid "Cached" +msgstr "" + diff --git a/locale/ru_RU/LC_MESSAGES/messages.mo b/locale/ru_RU/LC_MESSAGES/messages.mo index 1169855c7de2c3181efe83e0ff6fc821b631496c..c707f34c95e3dd02219f1783622375c9d34dc7dd 100644 GIT binary patch delta 3797 zcmYk;4Ukn;0S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SAGES/messages.po +++ b/locale/ru_RU/LC_MESSAGES/messages.po @@ -704,3 +704,8 @@ msgstr "Конфигурация" #: setup.php:209 msgid "Use networks.php instead of configuration below" msgstr "Использовать данные из файла networks.php вместо кофигурации ниже" + +#: include/lh_ajax.php:6 +msgid "Cached" +msgstr "Кэширование" + diff --git a/locale/sv_SE/LC_MESSAGES/messages.mo b/locale/sv_SE/LC_MESSAGES/messages.mo index b0ce1b10e64ac84ba79feef2da99c0ae32f0d18d..387bca89a6074da156d3ff92b573c8e1e931f9b1 100644 GIT binary patch delta 3753 zcmYkA9sZKtC; zrYI_tRb*~6#4cILmY5jgk4Y0-Vp~`wCd>Byz2|AtC;gqz^S=Rvrq z(opJ27gFSJOe5Y8=7F*z)R>mI5+kqx+u$|~!H+QvYcUAVU;uuFfp{HT<4tUZcTw;E z6?vay{-n~D8~>r+*p|C5VFzm*YAoYX9Ztm#I1km}d#H{!qB{D(UYFbFtFasRYq1Aj zvo>No`ZulUy%$e(M0Jpinn^0E!5QemY;2DUt?N+(-EFUrpuA^4sHhS?9YKemwmF~wP z=gcIdwsbP;tW8I4O`&5eC8#~wZLL6!vm@;rPQmmrI4N>BrEs;H>JTGRkeq8j=fwE}05RWsirlQZ|xi%*a~O$4oKpfRWh z2cbF`g<9ft)D~x>29%H5lC8+=9CMV48aj{snV)#j(*BP0VP2p*j^F_3jnTLaQ?L}z z;#ExM?Od<8#!WcjN0z#-hFl zhFMck4bQaCXIdAd2DS#Z1rBNgJ5XCwi+bOe=&*X`G8Op?YGhAQ9eFtV?jEBWj6of) zfvCMsLUk|^-GLx)HJPXh6rr~85US&I*avT*+JD-e{nwKDd3_DHMxEA3)KYgw9liwA z08>#*pNHD2O{jrw!4tRx^;J8J&!7iKpawb`>C>d4Rx%&e&)Oc2Z{&`>QHq*TnROrP zb6kfyOy^NEx?ycZb@VT)Bfp-$>rmvDi9ii>2=Zr!^PmaL#ok!xP|>MAfLgi>n22|g z<6t6t`5cH*Tu(v%Od$__u^QFUH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S;l1v(by__fq+i6G%s|v(Oc2i*Dsm zCmOT<-uN=!IFHW!XJqxlUuXyQXsr$Apj$Nz?Pvn}`7CtnmLsq59B(af59Z-V zXuCh5e}4g)OGs(L`g
1$i`gYMW0hhPET9q(^O2X+8mkt3Ler_d$-E#6OObeyk{ zi*9KT%)x%>)|5tPC8)S33!;nAkuE_G(@ONQS%WsT4Ljf-9D}FOJyRoT!BhV?k&0!N6?vmgr4p*$SYjn&4$x> z1hgsIaBH-qj?o_I5)VWtG7N3M1U(zGadM&tYe2;gzh;_k@Ep45b@=(xbo6&1JK81Q z9}pdh4rC&_^rh&)XQNBK3?0ZO^l8~1eFqbc=rk2O_zwNUKhXvo@(6gS($PI`iFVKd zZLk;e)i3}ZcnP|7OVN%uV_Q6kwtpI3sq<*NKeb~2J*5}9;S&Fg9=gn|s*!d^mwYI? zMbprM&A>{WjsC;QVA4d01w;eF_-UyQEo`gpx7etsDF`$RZNr6*tb z13jIc7==qd1RY@sI*>V-hZXVuTj=5a7;EDhY=`I2t*g(4Gj4%bVEbribf8_aHvNY_ zR6HaDF$If|Ho{mOjgO)Ye1d-OBs$Qq(2g%)^6;WF&SaF%I3Mk(FV?}rcs&Yje*(6m z|FDP(e;c+U+aHcae?Vu@pncVzW}qw58l8DTykCeOs?q3HmZ6W|v*=drKz>BSo9Nbk z7X2QR|Nj3+#V}_Ny*+L44kKd!DFX>KL#juuGHj=x^lU`8flj+GC z|Ib5?Qh1zrAbXL^WgwNU Date: Tue, 28 Mar 2017 08:28:39 +0000 Subject: [PATCH 13/20] added switch reflector button inspired by OE7JKT. Be sure to add /bin/sed into sudoers! Not finished completely, actually loads only DMRplus-Reflector-list. --- credits.php | 1 + include/functions.php | 26 ++++++++++- index.php | 18 ++++++++ scripts/switchreflector.php | 92 +++++++++++++++++++++++++++++++++++++ setup.php | 4 ++ 5 files changed, 140 insertions(+), 1 deletion(-) create mode 100644 scripts/switchreflector.php diff --git a/credits.php b/credits.php index 6effd70..4b29f9b 100644 --- a/credits.php +++ b/credits.php @@ -42,6 +42,7 @@ textdomain('messages');
  • dg0cco
  • sa7bnt
  • ct2jay
  • +
  • oe7jkt
  • diff --git a/include/functions.php b/include/functions.php index bf905ca..a5d8e12 100644 --- a/include/functions.php +++ b/include/functions.php @@ -849,9 +849,33 @@ function decodeAlias($logLine) { return $tok1.$tok2.$tok3.$tok4.$tok5.$tok6.$tok7; } - function getGitVersion(){ exec("git rev-parse HEAD", $output); return 'GitID #'.substr($output[0],0,7).''; } + +function getDMRReflectors($network) { + $refls = array(); + switch ($network) { + case "DMRPLUS": + $refls = getDMRReflectorsFromURL("http://ham-dmr.de/reflector.db"); + break; + case "BRANDMEISTER": + $refls = getDMRReflectorsFromURL("http://185.79.71.94/reflector.db"); + break; + + } + return $refls; + +} + +function getDMRReflectorsFromURL($url) { + $data = file_get_contents($url); + $rows = explode("\n",$data); + $refls = array(); + foreach($rows as $row) { + $refls[] = str_getcsv($row,"@",''); + } + return $refls; +} ?> diff --git a/index.php b/index.php index 987e979..ab21365 100644 --- a/index.php +++ b/index.php @@ -133,6 +133,24 @@ if (defined("ENABLENETWORKSWITCHING")) { ?> + +
    +
    + + + +
    + + + + + + + + + + + + + + + <?php echo getCallsign($mmdvmconfigs) ?> - MMDVM-Dashboard by DG9VH + + + + + + + +
    + +'; + } 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: https://github.com/dg9vh/MMDVMHost-Dashboard +
    + + diff --git a/setup.php b/setup.php index 5cb6689..6e0381f 100644 --- a/setup.php +++ b/setup.php @@ -261,6 +261,10 @@ get_tz_options(constant("TIMEZONE"), "Timezone", '');
    >
    +
    + +
    >
    +
    " name="SWITCHNETWORKUSER" class="form-control" placeholder="username" aria-describedby="SWITCHNETWORKUSER"> From ad39b44c0c9e2645b791b4db2081122a055c38a6 Mon Sep 17 00:00:00 2001 From: dg9vh Date: Tue, 28 Mar 2017 08:29:35 +0000 Subject: [PATCH 14/20] Merge branch 'master' of https://github.com/dg9vh/MMDVMHost-Dashboard # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit. --- include/functions.php | 8 ++++++-- include/lh_ajax.php | 5 ++++- locale/da_DK/LC_MESSAGES/messages.po | 4 ++++ locale/de_DE/LC_MESSAGES/messages.mo | Bin 11674 -> 11717 bytes locale/de_DE/LC_MESSAGES/messages.po | 5 +++++ locale/en_GB/LC_MESSAGES/messages.mo | Bin 379 -> 380 bytes locale/en_GB/LC_MESSAGES/messages.po | 5 +++++ locale/es_ES/LC_MESSAGES/messages.mo | Bin 11904 -> 11937 bytes locale/es_ES/LC_MESSAGES/messages.po | 5 +++++ locale/pl_PL/LC_MESSAGES/messages.po | 5 +++++ locale/ru_RU/LC_MESSAGES/messages.mo | Bin 15289 -> 15335 bytes locale/ru_RU/LC_MESSAGES/messages.po | 5 +++++ locale/sv_SE/LC_MESSAGES/messages.mo | Bin 11669 -> 11699 bytes locale/sv_SE/LC_MESSAGES/messages.po | 7 ++++++- 14 files changed, 45 insertions(+), 4 deletions(-) diff --git a/include/functions.php b/include/functions.php index a5d8e12..bdd2bef 100644 --- a/include/functions.php +++ b/include/functions.php @@ -850,8 +850,12 @@ function decodeAlias($logLine) { } function getGitVersion(){ - exec("git rev-parse HEAD", $output); - return 'GitID #'.substr($output[0],0,7).''; + if (file_exists(".git")) { + exec("git rev-parse HEAD", $output); + return 'GitID #'.substr($output[0],0,7).''; + } else { + return 'GitID unknown'; + } } function getDMRReflectors($network) { diff --git a/include/lh_ajax.php b/include/lh_ajax.php index 99e3e1e..8639e50 100644 --- a/include/lh_ajax.php +++ b/include/lh_ajax.php @@ -1,9 +1,12 @@
    -
    +
    diff --git a/locale/da_DK/LC_MESSAGES/messages.po b/locale/da_DK/LC_MESSAGES/messages.po index f9a334e..d69b16b 100644 --- a/locale/da_DK/LC_MESSAGES/messages.po +++ b/locale/da_DK/LC_MESSAGES/messages.po @@ -728,3 +728,7 @@ msgstr "" #: setup.php:209 msgid "Use networks.php instead of configuration below" msgstr "" + +#: include/lh_ajax.php:6 +msgid "Cached" +msgstr "" diff --git a/locale/de_DE/LC_MESSAGES/messages.mo b/locale/de_DE/LC_MESSAGES/messages.mo index a16565e796252d12239b963942662f95c4ce397d..61dfc706f830388dd8240320501983a4e6d73372 100644 GIT binary patch delta 3795 zcmYk;32@9;0LSr%kj)`T;=VSbi7SpK6m9Bg)D?GABy}}{B~n*JrRg?AN!?A;IGZ4X z24$kAMvG=JYT6hERfEoGXqlE8Q8Tpk``dk)_Dz2KdH?_JzWcvyN;;L~z7gz`Zz%go z3$m)VF?aB9e_kj>LB`a=Z5V<(F%XYnT|ABT@FMzQCDy@v=)gy)&ppEc4CKSU*aT_E zZJbopKol?aF&5RpaBPGL)>PD(mZBP5gN<dgfj!6F=u0Ox@c`=m zGD-jDD=N+K8&pSEkXjn%M(n70nY=1Af8A@MnUoVW<^}vBsl5Hx<>c%U-9W zR$wu@wYOWS@Mns6(ag%QA)Y}e-ayUpId;QF90bN-23ZqPXD1b#VlHYzJ5b*{hHCc` zM&e!61cO6af9+`#-j(6j&emS2na3fkXojIWn22q05o)WpqB<(I@0X*t?i%uEZu8O- zpJF>~%Iwr`|Awr;8W_qACTGT@u2Zdx?fn(ln){nE29MhNf1(Cfi{7;&q3Fa2)DjQ0 z_g%=jGnuF@U5PqtAG@h&Zw_0_QCm`By?`3&Wz=E%8TI)6ifX6|JK$3sg%KP8?fD|q z3S?n(T#j1u9oPi-AiH4PT}4z+~z73?ag1P4~DYAYN#D@%k)7l@i=5G#)axQ8}+>c zOv5knLu|{*E5}ltglY8R#0t~|?xR++CMVWk&%Zwvjkuw;73u?#sFmn~8bCB^CE`#6 z9E>{UlaV$}ChB_y)C>q5XMUif4t_x$k}8a^L1#=)0~p26mXQTM+?wR=9y?Opoo+)#t} zP%Gfm#%lm-X2GZ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de_DE/LC_MESSAGES/messages.po +++ b/locale/de_DE/LC_MESSAGES/messages.po @@ -725,3 +725,8 @@ 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" + diff --git a/locale/en_GB/LC_MESSAGES/messages.mo b/locale/en_GB/LC_MESSAGES/messages.mo index a71c3e1d31ffbac58f17c8dfcf5db6551f014d1c..13ae36385b92b5063b222bc41cab20ba2e8153da 100644 GIT binary patch delta 66 zcmey(^oMDJ3Zv6R)ogYX1w&&i6Z47F?IqkoeS8%B9DQ9CY+QXEJ$)P;U0i}(gM%l& WGMFsSXv*&F;TRO`8ZtSOQ3(K(HxnoT delta 66 zcmeyv^qXmd3Zvsh)ogZS1w#ufV~dH??L}PNEyFw%Y*NxK%Q75N5{r`cQc@?rGhj{4 Wi+6XLEXQcdT3V8(YcV;BQ3(LMJrsrj diff --git a/locale/en_GB/LC_MESSAGES/messages.po b/locale/en_GB/LC_MESSAGES/messages.po index 5401d87..ebab6ed 100644 --- a/locale/en_GB/LC_MESSAGES/messages.po +++ b/locale/en_GB/LC_MESSAGES/messages.po @@ -725,3 +725,8 @@ msgstr "" #: setup.php:209 msgid "Use networks.php instead of configuration below" msgstr "" + +#: include/lh_ajax.php:6 +msgid "Cached" +msgstr "" + diff --git a/locale/es_ES/LC_MESSAGES/messages.mo b/locale/es_ES/LC_MESSAGES/messages.mo index 1b9a78a8f88757d57accefe44a21ff505117a9d2..d5c8e8ffe153a23b5e1f624b009c1730d547be78 100644 GIT binary patch delta 3756 zcmYk-3rv+|9LMoTLGgfGgvh+r!7CRf@qXc`nPiH132&Kzh^U3)t)nLDtBKb#DKv=G zBvCN28;)tIjhsv7M!GrY)U{Gs%+_))TTNSif9E`B^BKSMdEWP&^FGh}f1dZSDXTKe z`6)VhpP|)~u4H{1W18_+C@-|-5yk}J3XDN7w#S_qjvrzqR-p?|Vp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354XU5?JI03Fa((H`g? z_d`#83Hm!RD_&QkZ^wt&7QaHD&rGBT(g+<$euDk?ly>BXd)^IQs$#U^G0{cn3@Xuq z?Zx-;0QwUJ_b#gy zCmNfgXQCInLM7;umd5XAqI3SY{E=m~WirHuwKlDjq=h+VTjQovMZKFxv1Eau0D;E|j%Yo+9-~5gA1+?yco^ zazB|%1{1gDda{#jAgSX1dwAS`_uTRr=|f!Vg@o56ReT#NV|@|!C3A=?a0juJlJZn7 zeI~4SBtzr9cF{5%Ns^w-&7?osNV*VTpT|j0(wVRuVKuR=Bjd=^UQlL|F{v7F2y!;V zlf>=mPA-(2sB9w7lLyIIGSK(`B`Qx4%e~}2GTsZyG;%ZHT!xp)4Du|o_$I7O)zTkL zVL`n1j9e(3+0X16o!x~xxvkW0ubq&ewCLZ7~?X4D(9|5&}Za`u-u%d7uC&ImoX diff --git a/locale/es_ES/LC_MESSAGES/messages.po b/locale/es_ES/LC_MESSAGES/messages.po index 70f1c90..85e75b9 100644 --- a/locale/es_ES/LC_MESSAGES/messages.po +++ b/locale/es_ES/LC_MESSAGES/messages.po @@ -740,3 +740,8 @@ msgstr "" #: setup.php:209 msgid "Use networks.php instead of configuration below" msgstr "" + +#: include/lh_ajax.php:6 +msgid "Cached" +msgstr "En caché" + diff --git a/locale/pl_PL/LC_MESSAGES/messages.po b/locale/pl_PL/LC_MESSAGES/messages.po index e7e5000..d43af7b 100644 --- a/locale/pl_PL/LC_MESSAGES/messages.po +++ b/locale/pl_PL/LC_MESSAGES/messages.po @@ -732,3 +732,8 @@ msgstr "" #: setup.php:209 msgid "Use networks.php instead of configuration below" msgstr "" + +#: include/lh_ajax.php:6 +msgid "Cached" +msgstr "" + diff --git a/locale/ru_RU/LC_MESSAGES/messages.mo b/locale/ru_RU/LC_MESSAGES/messages.mo index 1169855c7de2c3181efe83e0ff6fc821b631496c..c707f34c95e3dd02219f1783622375c9d34dc7dd 100644 GIT binary patch delta 3797 zcmYk;4Ukn;0SE8{i(e?qhb#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 b/locale/ru_RU/LC_MESSAGES/messages.po @@ -704,3 +704,8 @@ msgstr "Конфигурация" #: setup.php:209 msgid "Use networks.php instead of configuration below" msgstr "Использовать данные из файла networks.php вместо кофигурации ниже" + +#: include/lh_ajax.php:6 +msgid "Cached" +msgstr "Кэширование" + diff --git a/locale/sv_SE/LC_MESSAGES/messages.mo b/locale/sv_SE/LC_MESSAGES/messages.mo index b0ce1b10e64ac84ba79feef2da99c0ae32f0d18d..387bca89a6074da156d3ff92b573c8e1e931f9b1 100644 GIT binary patch delta 3753 zcmYkA9sZKtC; zrYI_tRb*~6#4cILmY5jgk4Y0-Vp~`wCd>Byz2|AtC;gqz^S=Rvrq z(opJ27gFSJOe5Y8=7F*z)R>mI5+kqx+u$|~!H+QvYcUAVU;uuFfp{HT<4tUZcTw;E z6?vay{-n~D8~>r+*p|C5VFzm*YAoYX9Ztm#I1km}d#H{!qB{D(UYFbFtFasRYq1Aj zvo>No`ZulUy%$e(M0Jpinn^0E!5QemY;2DUt?N+(-EFUrpuA^4sHhS?9YKemwmF~wP z=gcIdwsbP;tW8I4O`&5eC8#~wZLL6!vm@;rPQmmrI4N>BrEs;H>JTGRkeq8j=fwE}05RWsirlQZ|xi%*a~O$4oKpfRWh z2cbF`g<9ft)D~x>29%H5lC8+=9CMV48aj{snV)#j(*BP0VP2p*j^F_3jnTLaQ?L}z z;#ExM?Od<8#!WcjN0z#-hFl zhFMck4bQaCXIdAd2DS#Z1rBNgJ5XCwi+bOe=&*X`G8Op?YGhAQ9eFtV?jEBWj6of) zfvCMsLUk|^-GLx)HJPXh6rr~85US&I*avT*+JD-e{nwKDd3_DHMxEA3)KYgw9liwA z08>#*pNHD2O{jrw!4tRx^;J8J&!7iKpawb`>C>d4Rx%&e&)Oc2Z{&`>QHq*TnROrP zb6kfyOy^NEx?ycZb@VT)Bfp-$>rmvDi9ii>2=Zr!^PmaL#ok!xP|>MAfLgi>n22|g z<6t6t`5cH*Tu(v%Od$__u^QFUHPj3nF$VoFHL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i6G%s|v(Oc2i*Dsm zCmOT<-uN=!IFHW!XJqxlUuXyQXsr$Apj$Nz?Pvn}`7CtnmLsq59B(af59Z-V zXuCh5e}4g)OGs(L`g
    1$i`gYMW0hhPET9q(^O2X+8mkt3Ler_d$-E#6OObeyk{ zi*9KT%)x%>)|5tPC8)S33!;nAkuE_G(@ONQS%WsT4Ljf-9D}FOJyRoT!BhV?k&0!N6?vmgr4p*$SYjn&4$x> z1hgsIaBH-qj?o_I5)VWtG7N3M1U(zGadM&tYe2;gzh;_k@Ep45b@=(xbo6&1JK81Q z9}pdh4rC&_^rh&)XQNBK3?0ZO^l8~1eFqbc=rk2O_zwNUKhXvo@(6gS($PI`iFVKd zZLk;e)i3}ZcnP|7OVN%uV_Q6kwtpI3sq<*NKeb~2J*5}9;S&Fg9=gn|s*!d^mwYI? zMbprM&A>{WjsC;QVA4d01w;eF_-UyQEo`gpx7etsDF`$RZNr6*tb z13jIc7==qd1RY@sI*>V-hZXVuTj=5a7;EDhY=`I2t*g(4Gj4%bVEbribf8_aHvNY_ zR6HaDF$If|Ho{mOjgO)Ye1d-OBs$Qq(2g%)^6;WF&SaF%I3Mk(FV?}rcs&Yje*(6m z|FDP(e;c+U+aHcae?Vu@pncVzW}qw58l8DTykCeOs?q3HmZ6W|v*=drKz>BSo9Nbk z7X2QR|Nj3+#V}_Ny*+L44kKd!DFX>KL#juuGHj=x^lU`8flj+GC z|Ib5?Qh1zrAbXL^WgwNU Date: Tue, 28 Mar 2017 08:35:17 +0000 Subject: [PATCH 15/20] merge fix --- include/functions.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/functions.php b/include/functions.php index 8c84ce3..bdd2bef 100644 --- a/include/functions.php +++ b/include/functions.php @@ -856,7 +856,6 @@ function getGitVersion(){ } else { return 'GitID unknown'; } -<<<<<<< HEAD } function getDMRReflectors($network) { @@ -882,7 +881,5 @@ function getDMRReflectorsFromURL($url) { $refls[] = str_getcsv($row,"@",''); } return $refls; -======= ->>>>>>> 45c79329737e865e19bb761c4f3b3321107b09ba } ?> From a30645e4651bd162da4e91a8b53ddae4e76bced1 Mon Sep 17 00:00:00 2001 From: CT2JAY Date: Tue, 28 Mar 2017 12:37:06 +0100 Subject: [PATCH 16/20] Fix forgotten translation pt_PT --- locale/pt_PT/LC_MESSAGES/messages.mo | Bin 11227 -> 11259 bytes locale/pt_PT/LC_MESSAGES/messages.po | 4 ++++ 2 files changed, 4 insertions(+) diff --git a/locale/pt_PT/LC_MESSAGES/messages.mo b/locale/pt_PT/LC_MESSAGES/messages.mo index 5df124b4a206db2867c6df8a1bac205617804bc5..536bc092552e718acb87c60d8787c6a59a9304b9 100644 GIT binary patch delta 3524 zcmZA33rv+|9LMno1QZk$@&crB3>EJsdCgL@gfuUaCKe_dhY}MsFN8t9cmXX-Ekq%u zlrGlT%FAXBmMttar=cp4+|JB+|K?1Wd4KleK?oiQxN zxsKQkX~%Q%6x2X}?1rOI4WwaDoMHM=V=6{9SdMCF2dbkzs1Dw;`ayfY9&h1(BlgAb z%?@-LOaHDvg=F3sgK9VnHIqD4gDWu%J?xGf&1%#D-?RFssOK)A2G)Y_;3W*j?aWT^ zSD00pNdK;ef;u{itiJmMwF0M5Gdqh6+Fd|3a2ez9D)z#V*q{lh_eY@G8*TN;sF|mu zwlWX(`F!*=qf!bzuo8V(hnm@G9DzR|f363gk}0UOG7b}PE+*n~)aSOK+O5SD`~Wqv z7StBDn!m)c{NSHTtj)wUnpr{#9gq1Iwo^>&7zbEcHTd z!FV$rwe+*iOw>TLJPJB2e$>}$DXO70I2cPY1M5(G`#0)vhBEz|u?uQx2Vy)9M<(ae zQ3J?Awf7`y00np(u0XZt)l$%m_al>W^++G?3-nFdRA*2hIEUKXR?G}>?l)9}GiXIK z$Utpb9_qP5vmEvLou~orN40+d^)+s=`YDX0e|O$)w4j#yM^u9$EQ;Lj4j}F&o|Aoy7jDqc^yrB|U&@@Fc2%X0sJF zgP%|{`x7;g2w!j@T~LQC1?j_0LY?kx)YsQ<^+N1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/locale/pt_PT/LC_MESSAGES/messages.po +++ b/locale/pt_PT/LC_MESSAGES/messages.po @@ -668,3 +668,7 @@ 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" From 8fa0bce46c4f84d09547a5cc148f3b3c08b2983d Mon Sep 17 00:00:00 2001 From: dg9vh Date: Tue, 28 Mar 2017 20:20:10 +0000 Subject: [PATCH 17/20] makes switchRefl. only working on DMRplus-Network, not on BM because options-line in MMDVM.ini is not supported by BrandMeister --- include/functions.php | 29 ++++++++++++----------------- index.php | 6 +++--- version.php | 2 +- 3 files changed, 16 insertions(+), 21 deletions(-) diff --git a/include/functions.php b/include/functions.php index bdd2bef..974b077 100644 --- a/include/functions.php +++ b/include/functions.php @@ -858,23 +858,8 @@ function getGitVersion(){ } } -function getDMRReflectors($network) { - $refls = array(); - switch ($network) { - case "DMRPLUS": - $refls = getDMRReflectorsFromURL("http://ham-dmr.de/reflector.db"); - break; - case "BRANDMEISTER": - $refls = getDMRReflectorsFromURL("http://185.79.71.94/reflector.db"); - break; - - } - return $refls; - -} - -function getDMRReflectorsFromURL($url) { - $data = file_get_contents($url); +function getDMRReflectors() { + $data = file_get_contents("http://ham-dmr.de/reflector.db"); $rows = explode("\n",$data); $refls = array(); foreach($rows as $row) { @@ -882,4 +867,14 @@ function getDMRReflectorsFromURL($url) { } 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; +} ?> diff --git a/index.php b/index.php index ab21365..7f62ff2 100644 --- a/index.php +++ b/index.php @@ -135,15 +135,15 @@ if (defined("ENABLENETWORKSWITCHING")) {