diff --git a/src/lang/bg_BG.lang.php b/src/lang/bg_BG.lang.php
index c38d7fab..1e4f3846 100644
--- a/src/lang/bg_BG.lang.php
+++ b/src/lang/bg_BG.lang.php
@@ -66,6 +66,7 @@ $sm_lang = array(
'a_minute_ago' => 'преди минута',
'seconds_ago' => 'преди %d секунди',
'a_second_ago' => 'преди секунда',
+ 'seconds' => 'секунди',
),
'menu' => array(
'config' => 'Настройки',
@@ -219,8 +220,6 @@ $sm_lang = array(
'email_smtp' => 'Активиране на SMTP',
'email_smtp_host' => 'SMTP сървър',
'email_smtp_port' => 'SMTP порт',
- 'email_smtp_security' => 'SMTP security',
- 'email_smtp_security_none' => 'None',
'email_smtp_username' => 'SMTP потребителско име',
'email_smtp_password' => 'SMTP парола',
'email_smtp_noauth' => 'Оставете празно за "без аутентикация"',
@@ -267,7 +266,6 @@ $sm_lang = array(
системата',
'log_sms' => 'Да се пази ли лог на изпратените SMS съобщения от
системата',
- 'log_pushover' => 'Log pushover messages sent by the script',
'updated' => 'Настройките са обновени успешно.',
'tab_email' => 'Имейл',
'tab_sms' => 'SMS',
diff --git a/src/lang/ca_ES.lang.php b/src/lang/ca_ES.lang.php
index 4be6eb74..94dcc8d6 100644
--- a/src/lang/ca_ES.lang.php
+++ b/src/lang/ca_ES.lang.php
@@ -347,7 +347,6 @@ $sm_lang = array(
'auto_refresh' => 'Auto-recàrrega',
'auto_refresh_description' => 'Recarregar automàticament la plana Servidors.
Temps en
segons, si poseu ZERO la plana no s\'auto-recarregarà.',
- 'seconds' => 'segons',
'test' => 'Provar',
'test_email' => 'S\'enviarà un correu a l\'adreça que teniu al vostre perfil d\'usuari.',
'test_sms' => 'S\'enviarà un SMS al telèfon que teniu al vostre perfil d\'usuari.',
diff --git a/src/lang/cs_CZ.lang.php b/src/lang/cs_CZ.lang.php
index e4360f5a..fff3a945 100644
--- a/src/lang/cs_CZ.lang.php
+++ b/src/lang/cs_CZ.lang.php
@@ -68,6 +68,7 @@ $sm_lang = array(
'a_minute_ago' => 'cca před minutou',
'seconds_ago' => 'před %d vteřinami',
'a_second_ago' => 'před chvílí',
+ 'seconds' => 'sekunder',
),
'menu' => array(
'config' => 'Konfigurace',
@@ -260,7 +261,6 @@ $sm_lang = array(
'auto_refresh' => 'Automaticky obnovit',
'auto_refresh_description' => 'Automaticky obnovit stránku Servery.
Čas v sekundách,
0 pro vypnutí automatického obnovení.',
- 'seconds' => 'sekund',
'test' => 'Test',
'test_email' => 'E-mail bude odeslán na adresu uvedenou v uživatelském profilu.',
'test_sms' => 'SMS bude odeslána na telefonní číslo uvedené v uživatelském profilu.',
diff --git a/src/lang/da_DK.lang.php b/src/lang/da_DK.lang.php
index 662d1620..4b805583 100644
--- a/src/lang/da_DK.lang.php
+++ b/src/lang/da_DK.lang.php
@@ -65,6 +65,7 @@ $sm_lang = array(
'a_minute_ago' => 'omkring et minut siden',
'seconds_ago' => '%d sekunder siden',
'a_second_ago' => 'et sekund siden',
+ 'seconds' => 'sekunder',
),
'menu' => array(
'config' => 'Indstillinger',
@@ -245,7 +246,6 @@ $sm_lang = array(
'auto_refresh' => 'Genopfrisk automatisk',
'auto_refresh_description' => 'Genopfrisk automatisk serversider.
Tid i sekunder. Hvis
0 vil siden ikke genopfriske automatisk',
- 'seconds' => 'sekunder',
'test' => 'Test',
'test_email' => 'En e-mail vil blive sendt til den adresse, der er angivet i din brugerprofil.',
'test_sms' => 'En SMS vil blive sendt til det nummer, der er angivet i din brugerprofil.',
diff --git a/src/lang/de_DE.lang.php b/src/lang/de_DE.lang.php
index ea8b4074..9f0473de 100644
--- a/src/lang/de_DE.lang.php
+++ b/src/lang/de_DE.lang.php
@@ -66,6 +66,7 @@ $sm_lang = array(
'a_minute_ago' => 'vor über einer Minute',
'seconds_ago' => 'vor %d Sekunden',
'a_second_ago' => 'vor über einer Sekunde',
+ 'seconds' => 'Sekunden',
),
'menu' => array(
'config' => 'Einstellungen',
@@ -249,7 +250,6 @@ $sm_lang = array(
'auto_refresh_description' => 'Automatische Aktualisierung der Server-Übersichtsseite
Zeit in Sekunden - die Ziffer \'0\' deaktiviert die automatische
Aktualisierung.',
- 'seconds' => 'Sekunden',
'test' => 'Test',
'test_email' => 'Eine E-Mail wird an die E-Mail-Adresse gesendet, die in Ihrem Profil hinterlegt ist.',
'test_sms' => 'Eine SMS wird an die Telefonnummer gesendet, die in Ihrem Profil hinterlegt ist.',
diff --git a/src/lang/en_US.lang.php b/src/lang/en_US.lang.php
index 1542b63f..fc6cf710 100644
--- a/src/lang/en_US.lang.php
+++ b/src/lang/en_US.lang.php
@@ -83,6 +83,8 @@ $sm_lang = array(
'minutes' => 'minutes',
'second' => 'second',
'seconds' => 'seconds',
+ 'millisecond' => 'millisecond',
+ 'milliseconds' => 'milliseconds',
'current' => 'current',
'settings' => 'Settings',
'search' => 'Search',
@@ -380,7 +382,6 @@ $sm_lang = array(
'auto_refresh' => 'Auto-refresh',
'auto_refresh_description' => 'Auto-refresh servers page.
Time in seconds, if 0 the
page won\'t refresh.',
- 'seconds' => 'seconds',
'test' => 'Test',
'test_email' => 'An email will be sent to the address specified in your user profile.',
'test_sms' => 'An SMS will be sent to the phone number specified in your user profile.',
diff --git a/src/lang/es_ES.lang.php b/src/lang/es_ES.lang.php
index f869320a..88ed969d 100644
--- a/src/lang/es_ES.lang.php
+++ b/src/lang/es_ES.lang.php
@@ -354,7 +354,6 @@ $sm_lang = array(
'auto_refresh' => 'Auto-actualizar',
'auto_refresh_description' => 'Auto-actualizar la página de servidores.
Tiempo en
segundos, si se utiliza 0 la página no se actualizará.',
- 'seconds' => 'segundos',
'test' => 'Prueba',
'test_email' => 'Un correo electrónico será enviado a la dirección especificada en su perfil de usuario.',
'test_sms' => 'Un SMS se enviará al número de teléfono especificado en su perfil de usuario.',
diff --git a/src/lang/et_ET.lang.php b/src/lang/et_ET.lang.php
index 31d5850f..3c13a6ac 100644
--- a/src/lang/et_ET.lang.php
+++ b/src/lang/et_ET.lang.php
@@ -66,6 +66,7 @@ $sm_lang = array(
'a_minute_ago' => 'umbes minut aega tagasi',
'seconds_ago' => '%d sekundit tagasi',
'a_second_ago' => 'üks sekund tagasi',
+ 'seconds' => 'sekundit',
),
'menu' => array(
'config' => 'Konfiguratsioon',
@@ -244,7 +245,6 @@ $sm_lang = array(
'auto_refresh' => 'Automaatne värskendamine',
'auto_refresh_description' => 'Värskenda lehte automaatselt.
Aeg sekundites, kui 0
siis lehte ei värskendata.',
- 'seconds' => 'sekundit',
'test' => 'Test',
'test_email' => 'Email saadetakse profiilil märgitud aadressile.',
'test_sms' => 'SMS saadetakse profiilil märgitud numbrile.',
diff --git a/src/lang/fa_IR.lang.php b/src/lang/fa_IR.lang.php
index a3b0e904..c5ecea6a 100644
--- a/src/lang/fa_IR.lang.php
+++ b/src/lang/fa_IR.lang.php
@@ -67,6 +67,7 @@ $sm_lang = array(
'a_minute_ago' => 'حدود یک دقیقه پیش',
'seconds_ago' => '%d ثانیه پیش',
'a_second_ago' => 'یک ثانیه پیش',
+ 'seconds' => 'ثانیه',
),
'menu' => array(
'config' => 'تنظیم',
@@ -263,7 +264,6 @@ $sm_lang = array(
'auto_refresh' => 'رفرش خودکار',
'auto_refresh_description' => 'رفرش خودکار صفحه سرورها.
زمان
به ثنیه, اگر 0 باشد صفحه رفرش نخواهد شد.',
- 'seconds' => 'ثانیه',
'test' => 'تست',
'test_email' => 'یک ایمیل به آدرس تعیین شده در پروفایل شما ارسال
خواهد شد.',
diff --git a/src/lang/fi_FI.lang.php b/src/lang/fi_FI.lang.php
index 8c3d8da2..17dec27d 100644
--- a/src/lang/fi_FI.lang.php
+++ b/src/lang/fi_FI.lang.php
@@ -244,7 +244,6 @@ $sm_lang = array(
'auto_refresh' => 'Automaattipäivitys',
'auto_refresh_description' => 'Päivittää automaattisesti palvelimet-sivun.
Aika
sekunteina, jos 0, sivu ei päivity automaattisesti.',
- 'seconds' => 'sekuntia',
'test' => 'Testi',
'test_email' => 'Testisähköposti lähetetään profiilisi sähköpostiosoitteeseen.',
'test_sms' => 'Testitekstiviesti lähetetään profiilisi numeroon.',
diff --git a/src/lang/fr_FR.lang.php b/src/lang/fr_FR.lang.php
index 12ca83bc..e2bac203 100644
--- a/src/lang/fr_FR.lang.php
+++ b/src/lang/fr_FR.lang.php
@@ -361,7 +361,6 @@ $sm_lang = array(
'auto_refresh' => 'Auto-rachaîchissement',
'auto_refresh_description' => 'Auto-rachaîchissement de la page serveurs.
Temps en
secondes. Si 0, la page n\'est pas rafraîchie.',
- 'seconds' => 'secondes',
'test' => 'Tester',
'test_email' => 'Un email va vous être envoyé à l\'adresse définie dans votre profil utilisateur.',
'test_sms' => 'Un SMS va vous être envoyé au numéro défini dans votre profil utilisateur.',
diff --git a/src/lang/it_IT.lang.php b/src/lang/it_IT.lang.php
index 80d15d76..29907826 100644
--- a/src/lang/it_IT.lang.php
+++ b/src/lang/it_IT.lang.php
@@ -67,6 +67,7 @@ $sm_lang = array(
'a_minute_ago' => 'circa un minuto fa',
'seconds_ago' => '%d secondi fa',
'a_second_ago' => 'un secondo fa',
+ 'seconds' => 'secondi',
),
'menu' => array(
'config' => 'Configurazione',
@@ -247,7 +248,6 @@ $sm_lang = array(
'auto_refresh' => 'Auto-Aggiornamento',
'auto_refresh_description' => 'Auto-Aggiornamento pagina servers.
Tempo in secondi, se
impostato a 0 la pagina non si aggiornerà.',
- 'seconds' => 'secondi',
'test' => 'Test',
'test_email' => 'Un Email verrà inviata all\'indirizzo specificato nel tuo profilo.',
'test_sms' => 'Un SMS verrà inviato al numero di telefono specificato nel tuo profilo.',
diff --git a/src/lang/ja_JP.lang.php b/src/lang/ja_JP.lang.php
index 3b6831f1..c15c60a4 100644
--- a/src/lang/ja_JP.lang.php
+++ b/src/lang/ja_JP.lang.php
@@ -345,7 +345,6 @@ $sm_lang = array(
'auto_refresh' => '自動更新',
'auto_refresh_description' => 'サーバーページを自動更新します。
時間を秒で指定し、0に設定すると更新しません。',
- 'seconds' => '秒',
'test' => 'テスト',
'test_email' => 'あなたのユーザープロフィールで指定されたアドレスに電子メールが送信されます。',
'test_sms' => 'あなたのユーザープロフィールで指定された電話番号にSMSが送信されます。',
diff --git a/src/lang/nl_NL.lang.php b/src/lang/nl_NL.lang.php
index 3c749338..a5a1c728 100644
--- a/src/lang/nl_NL.lang.php
+++ b/src/lang/nl_NL.lang.php
@@ -81,6 +81,8 @@ $sm_lang = array(
'minutes' => 'minuten',
'second' => 'seconde',
'seconds' => 'seconden',
+ 'millisecond' => 'milliseconde',
+ 'milliseconds' => 'milliseconden',
'current' => 'huidig',
'settings' => 'Instellingen',
),
@@ -110,8 +112,8 @@ $sm_lang = array(
'email' => 'Email',
'pushover' => 'Pushover',
'pushover_description' => 'Pushover is een dienst die het gemakkelijk maakt om real-time notificaties te
- ontvangen. Zie hun website voor meer
- informatie.',
+ ontvangen. Zie hun website voor
+ meer informatie.',
'pushover_key' => 'Pushover Key',
'pushover_device' => 'Pushover Device',
'pushover_device_description' => 'Apparaat waar de berichten naar toe gaan. Laat leeg voor alle apparaten.',
@@ -265,8 +267,8 @@ $sm_lang = array(
'sms_from' => 'Telefoonnummer afzender',
'pushover_status' => 'Sta Pushover berichten toe?',
'pushover_description' => 'Pushover is een dienst die het gemakkelijk maakt om real-time notificaties te
- ontvangen. Zie hun website voor meer
- informatie.',
+ ontvangen. Zie hun website voor
+ meer informatie.',
'pushover_clone_app' => 'Klik hier om je Pushover app te maken',
'pushover_api_token' => 'Pushover App API Token',
'pushover_api_token_description' => 'Voordat je Pushover kunt gebruiken moet je een 'Herlaad automatisch',
'auto_refresh_description' => 'Auto-herladen servers pagina.
Tijd in seconden, als de
tijd 0 is wordt de pagina niet ververst.',
- 'seconds' => 'seconden',
'test' => 'Test',
'test_email' => 'Er zal een email verstuurd worden naar het email adres in je profiel.',
'test_sms' => 'Er zal een SMS verstuurd worden naar het telefoonnummer in je profiel.',
diff --git a/src/lang/no_NB.lang.php b/src/lang/no_NB.lang.php
index 4e57b36f..e73ccc55 100644
--- a/src/lang/no_NB.lang.php
+++ b/src/lang/no_NB.lang.php
@@ -326,7 +326,6 @@ $sm_lang = array(
'auto_refresh' => 'Auto-refresh',
'auto_refresh_description' => 'Auto-refresh server side.
Tid i sekunder, hvis 0 siden
ikke blir oppdatert.',
- 'seconds' => 'sekunder',
'test' => 'Test',
'test_email' => 'En e-post vil bli sendt til adressen spesifisert i brukerprofilen din.',
'test_sms' => 'En tekstmelding vil bli sendt til telefonnummeret som er angitt i brukerprofilen din.',
diff --git a/src/lang/pl_PL.lang.php b/src/lang/pl_PL.lang.php
index e7d1688c..1fa25092 100644
--- a/src/lang/pl_PL.lang.php
+++ b/src/lang/pl_PL.lang.php
@@ -67,6 +67,7 @@ $sm_lang = array(
'a_minute_ago' => 'minutę temu',
'seconds_ago' => '%d sekund temu',
'a_second_ago' => 'sekundę temu',
+ 'seconds' => 'sekund',
),
'menu' => array(
'config' => 'Konfiguracja',
@@ -212,8 +213,8 @@ $sm_lang = array(
'sms_from' => 'Numer nadawcy',
'pushover_status' => 'Pozwól na wysyłkę notyfikacji Pushover',
'pushover_description' => 'Pushover jest usługą ułatwiającą otrzymywanie powiadomień w czasie
- rzeczywistym. Sprawdź ich stronę aby uzyskać
- więcej informacji.',
+ rzeczywistym. Sprawdź ich
+ stronę aby uzyskać więcej informacji.',
'pushover_clone_app' => 'Kliknij tutaj aby stworzyć aplikację korzystającą z Pushover',
'pushover_api_token' => 'Pushover App API Token',
'pushover_api_token_description' => 'Zanim zaczniesz używać Pushover, musisz 'Auto-odświeżanie',
'auto_refresh_description' => 'Auto-odświeżanie strony serwera.
Czas w sekundach, dla
czasu 0 strona nie będzie odświeżana.',
- 'seconds' => 'sekund',
'test' => 'Test',
'test_email' => 'Email zostanie wysłany na adres podany w Twoim profilu.',
'test_sms' => 'SMS zostanie wysłany na numer podany w Twoim profilu.',
diff --git a/src/lang/pt_BR.lang.php b/src/lang/pt_BR.lang.php
index 1b48c183..91ead663 100644
--- a/src/lang/pt_BR.lang.php
+++ b/src/lang/pt_BR.lang.php
@@ -66,6 +66,7 @@ $sm_lang = array(
'a_minute_ago' => 'cerca de um minuto atrás',
'seconds_ago' => '%d segundos atrás',
'a_second_ago' => 'um segundo atrás',
+ 'seconds' => 'segundos',
),
'menu' => array(
'config' => 'Configuração',
@@ -245,7 +246,6 @@ $sm_lang = array(
'auto_refresh' => 'Atualizar automaticamente',
'auto_refresh_description' => 'Atualizar automaticamente a página de servidores.
Tempo
em segundos, Se 0 a página não será atualizada.',
- 'seconds' => 'segundos',
'test' => 'Teste',
'test_email' => 'Um e-mail será enviado para o endereço especificado em seu perfil de usuário.',
'test_sms' => 'Um SMS será enviado para o número de telefone especificado em seu perfil de usuário.',
diff --git a/src/lang/ru_RU.lang.php b/src/lang/ru_RU.lang.php
index fc5cfddd..40ad4041 100644
--- a/src/lang/ru_RU.lang.php
+++ b/src/lang/ru_RU.lang.php
@@ -121,12 +121,12 @@ $sm_lang = array(
пустым, что бы отправлять уведомления на
все устройства.',
'telegram' => 'Telegram',
- 'telegram_description' => 'Telegram удобный мессенджер
- для получения уведомлений в реальном
- времени. Посетите раздел документации
- для получения доп. информации и инструкций по
- установке.',
+ 'telegram_description' => 'Telegram удобный
+ мессенджер для получения уведомлений в
+ реальном времени. Посетите раздел
+ документации для получения доп. информации
+ и инструкций по установке.',
'telegram_chat_id' => 'Telegram chat id',
'telegram_chat_id_description' => 'Сообщения будут отправляться на
указанный идентификатор чата.',
@@ -313,12 +313,12 @@ $sm_lang = array(
rel="noopener">"App" на их веб-сайте и ввести "App
API Token" сюда.',
'telegram_status' => 'Разрешить отправку уведомлений в Telegram',
- 'telegram_description' => 'Telegram удобный мессенджер
- для получения уведомлений в реальном
- времени. Посетите раздел документации
- для получения доп. информации и инструкций по
- установке.',
+ 'telegram_description' => 'Telegram удобный
+ мессенджер для получения уведомлений в
+ реальном времени. Посетите раздел
+ документации для получения доп. информации
+ и инструкций по установке.',
'telegram_api_token' => 'Telegram API Token',
'telegram_api_token_description' => 'Прежде чем вы сможете начать
пользоваться Telegram, вам необходимо
@@ -371,7 +371,6 @@ $sm_lang = array(
серверов.
Время в секундах.
Если указано 0, то страница не будет
обновляться.',
- 'seconds' => 'секунд',
'test' => 'Проверка',
'test_email' => 'Сообщение будет отправлено на адрес указаный в
профиле пользователя.',
diff --git a/src/lang/sk_SK.lang.php b/src/lang/sk_SK.lang.php
index f40379b0..f8faa782 100644
--- a/src/lang/sk_SK.lang.php
+++ b/src/lang/sk_SK.lang.php
@@ -67,6 +67,7 @@ $sm_lang = array(
'a_minute_ago' => 'cca pred minútou',
'seconds_ago' => 'pred %d sekundami',
'a_second_ago' => 'pred chvíľou',
+ 'seconds' => 'sekúnd',
),
'menu' => array(
'config' => 'Konfigurácia',
@@ -259,7 +260,6 @@ $sm_lang = array(
'auto_refresh' => 'Automaticky obnoviť',
'auto_refresh_description' => 'Automaticky obnoviť stránku Servery.
Čas v
sekundách, 0 pre vypnutie automatického obnovenia.',
- 'seconds' => 'sekúnd',
'test' => 'Test',
'test_email' => 'E-mail bude odoslaný na adresu uvedenú v užívateľskom profile.',
'test_sms' => 'SMS bude odoslaná na telefónne číslo uvedené v užívateľskom profile.',
diff --git a/src/lang/sl_SI.lang.php b/src/lang/sl_SI.lang.php
index 16695895..5dcf73df 100644
--- a/src/lang/sl_SI.lang.php
+++ b/src/lang/sl_SI.lang.php
@@ -65,6 +65,7 @@ $sm_lang = array(
'a_minute_ago' => 'pred približno minuto',
'seconds_ago' => 'pred %d sekundami',
'a_second_ago' => 'pred sekundo',
+ 'seconds' => 'sekund',
),
'menu' => array(
'config' => 'Nastavitve',
@@ -92,8 +93,8 @@ $sm_lang = array(
'email' => 'E-pošta',
'pushover' => 'Pushover',
'pushover_description' => 'Pushover je storitev, ki omogoča enostavno prejemanje obvestil v realnem času.
- Več informacij je na voljo na njihovi spletni
- strani.',
+ Več informacij je na voljo na
+ njihovi spletni strani.',
'pushover_key' => 'Pushover ključ',
'pushover_device' => 'Pushover naprava',
'pushover_device_description' => 'Ime naprave na katero naj se pošlje obvestilo. Če želite obvestilo
@@ -209,8 +210,8 @@ $sm_lang = array(
'sms_from' => 'Telefonska številka pošiljatelja',
'pushover_status' => 'Dovolim pošiljanje Pushover sporočil',
'pushover_description' => 'Pushover je storitev, ki omogoča enostavno prejemanje obvestil v realnem času.
- Več informacij je na voljo na njihovi spletni
- strani.',
+ Več informacij je na voljo na
+ njihovi spletni strani.',
'pushover_clone_app' => 'Kliknite za ustvarjanje vaše Pushover aplikacije',
'pushover_api_token' => 'Pushover API žeton',
'pushover_api_token_description' => 'Pred uporabo storitve Pushover, morate na njihovi spletni strani 'Samodejno posodabljanje pregleda statusa strežnikov.
Čas v sekundah. Če je vrednost 0 se stran ne bo samodejno
posodabljala.',
- 'seconds' => 'sekund',
'test' => 'Test',
'test_email' => 'Na naslov, ki ste ga določili v vašem profilu, bo poslano e-sporočilo.',
'test_sms' => 'Na telefonsko številko, ki ste jo določili v vašem profilu, bo poslan SMS.',
diff --git a/src/lang/sv_SE.lang.php b/src/lang/sv_SE.lang.php
index 3c6ec8a6..ca8ae553 100644
--- a/src/lang/sv_SE.lang.php
+++ b/src/lang/sv_SE.lang.php
@@ -67,6 +67,7 @@ $sm_lang = array(
'a_minute_ago' => 'ungefär en minut sen',
'seconds_ago' => '%d sekunder sedan',
'a_second_ago' => 'en sekund sedan',
+ 'seconds' => 'sekunder',
),
'menu' => array(
'config' => 'Inställningar',
@@ -94,7 +95,8 @@ $sm_lang = array(
'email' => 'Email',
'pushover' => 'Pushover',
'pushover_description' => 'Pushover är en tjänst som skickar meddelande i realtid. Se deras webbsida för mer information.',
+ href="https://pushover.net/" target="_blank">deras webbsida för mer
+ information.',
'pushover_key' => 'Pushover Key',
'pushover_device' => 'Pushover Device',
'pushover_device_description' => 'Enhetsnman att skicka meddelande till. Lämna tomt för att skicka till alla
@@ -245,7 +247,6 @@ $sm_lang = array(
'auto_refresh' => 'Auto-uppdatera',
'auto_refresh_description' => 'Auto-uppdatera status-sidan.
Tid i sekunder, om "0" så
uppdateras sidan inte automatiskt.',
- 'seconds' => 'sekunder',
'test' => 'Test',
'test_email' => 'Ett emial kommer skickas till adressen i din profil.',
'test_sms' => 'Ett SMS kommer skickas till mobilnumret i din profil.',
diff --git a/src/lang/tr_TR.lang.php b/src/lang/tr_TR.lang.php
index 78ac5131..efc6d6ce 100644
--- a/src/lang/tr_TR.lang.php
+++ b/src/lang/tr_TR.lang.php
@@ -67,6 +67,7 @@ $sm_lang = array(
'a_minute_ago' => 'yaklaşık bir dakika önce',
'seconds_ago' => '%d saniye önce',
'a_second_ago' => 'bir saniye önce',
+ 'seconds' => 'saniye',
),
'menu' => array(
'config' => 'Ayarlar',
@@ -248,7 +249,6 @@ $sm_lang = array(
'auto_refresh' => 'Otomatik Yenileme',
'auto_refresh_description' => 'Otomatik yenileme sunucu sayfası
Eğer sayfa yenilenmez
ise.',
- 'seconds' => 'saniye',
'test' => 'Test',
'test_email' => 'Profilinizde tanımladığınız e-posta adresinize bir e-posta gönderilecek.',
'test_sms' => 'Profilinizde tanımladığınız numaranıza bir SMS mesajı gönderilecek.',
diff --git a/src/lang/uk_UA.lang.php b/src/lang/uk_UA.lang.php
index 3bad1325..bdc02c74 100644
--- a/src/lang/uk_UA.lang.php
+++ b/src/lang/uk_UA.lang.php
@@ -124,11 +124,12 @@ $sm_lang = array(
повідомлення. Залиште пустим, щоб
надсилати на всі пристрої.',
'telegram' => 'Telegram',
- 'telegram_description' => 'Telegram — чат-застосунок, що
- дозволяє легко отримувати сповіщення у
- реальному часі. За деталями й інструкцією зі
- встановлення зверніться до документації.',
+ 'telegram_description' => 'Telegram —
+ чат-застосунок, що дозволяє легко отримувати
+ сповіщення у реальному часі. За деталями й
+ інструкцією зі встановлення зверніться до документації.',
'telegram_chat_id' => 'Ідентифікатор чату Telegram',
'telegram_chat_id_description' => 'Повідомлення буде надіслане у
відповідний чат.',
@@ -330,8 +331,8 @@ $sm_lang = array(
'pushover_status' => 'Дозволити надсилання Pushover-повідомлень',
'pushover_description' => 'Pushover — сервіс, що дозволяє легко отримувати
сповіщення у реальному часі. За детальнішою
- інформацію перейдіть на їхній вебсайт.',
+ інформацію перейдіть на їхній вебсайт.',
'pushover_clone_app' => 'Натисніть тут, щоб створити ваш Pushover-додаток',
'pushover_api_token' => 'Токен API Pushover-додатку',
'pushover_api_token_description' => 'Перед використанням Pushover ви маєте на їхньому вебсайті та ввести
токен API Додатку тут.',
'telegram_status' => 'Дозволити надсилання Telegram-повідомлень',
- 'telegram_description' => 'Telegram — чат-застосунок, що
- дозволяє легко отримувати сповіщення у
- реальному часі. Детальніша інформація та
- інструкція зі встановлення доступні у документації.',
+ 'telegram_description' => 'Telegram —
+ чат-застосунок, що дозволяє легко отримувати
+ сповіщення у реальному часі. Детальніша
+ інформація та інструкція зі встановлення
+ доступні у документації.',
'telegram_api_token' => 'Токен Telegram API',
'telegram_api_token_description' => 'Перед використанням Telegram ви маєте
отримати токен API. За довідкою
- зверніться до документації.',
+ зверніться до документації.',
'alert_type' => 'Виберіть, коли б вам хотілося отримувати
сповіщення.',
'alert_type_description' => 'Зміна статусу: Ви отримуватимете
@@ -404,7 +406,6 @@ $sm_lang = array(
'auto_refresh_description' => 'Сторінка автооновлення серверів.
Час у секундах; якщо 0, сторінка не
оновлюватиметься.',
- 'seconds' => 'секунд',
'test' => 'Тест',
'test_email' => 'Електронний лист буде надісланий на адресу,
вказану у вашому профілі користувача.',
diff --git a/src/lang/vi_VN.lang.php b/src/lang/vi_VN.lang.php
index fe587d8a..9a5d7ef8 100644
--- a/src/lang/vi_VN.lang.php
+++ b/src/lang/vi_VN.lang.php
@@ -64,6 +64,7 @@ $sm_lang = array(
'a_minute_ago' => 'khoảng một phút trước',
'seconds_ago' => '%d giây trước',
'a_second_ago' => 'một giây trước',
+ 'seconds' => 'giây',
),
'menu' => array(
'config' => 'Cấu hình',
@@ -91,8 +92,8 @@ $sm_lang = array(
'email' => 'Email',
'pushover' => 'Pushover',
'pushover_description' => 'Pushover là một dịch vụ dễ dàng nhận các thông báo theo thời gian
- thực. Xem website của họ để biết
- thêm thông tin.',
+ thực. Xem website của họ
+ để biết thêm thông tin.',
'pushover_key' => 'Pushover Key',
'pushover_device' => 'Pushover Device',
'pushover_device_description' => 'Tên thiết bị để gửi tin nhắn đến. Để trống để gửi
@@ -208,8 +209,8 @@ $sm_lang = array(
'sms_from' => 'Số điện thoại của người gửi',
'pushover_status' => 'Cho phép gửi tin nhắn bằng Pushover',
'pushover_description' => 'Pushover là một dịch vụ dễ dàng nhận các thông báo theo thời gian
- thực. Xem website của họ để biết
- thêm thông tin.',
+ thực. Xem website của họ
+ để biết thêm thông tin.',
'pushover_clone_app' => 'Nhấn vào đây để tạo ứng dụng Pushover của bạn',
'pushover_api_token' => 'Pushover App API Token',
'pushover_api_token_description' => 'Trước khi bạn có thể sử dụng Pushover, bạn cần phải 'Tự động làm mới',
'auto_refresh_description' => 'Tự động làm mới servers page.
Trong vài giây,
nếu 0 trang sẽ không làm mới.',
- 'seconds' => 'giây',
'test' => 'Thử',
'test_email' => 'Một email sẽ được gửi đến địa chỉ được xác định trong hồ sơ
người dùng của bạn.',
diff --git a/src/lang/zh_CN.lang.php b/src/lang/zh_CN.lang.php
index c3350957..2d593b54 100644
--- a/src/lang/zh_CN.lang.php
+++ b/src/lang/zh_CN.lang.php
@@ -67,6 +67,7 @@ $sm_lang = array(
'a_minute_ago' => '1分钟前',
'seconds_ago' => '%d 秒前',
'a_second_ago' => '刚刚',
+ 'seconds' => '秒',
),
'menu' => array(
'config' => '设置',
@@ -259,7 +260,6 @@ $sm_lang = array(
'auto_refresh' => '自动刷新',
'auto_refresh_description' => '自动刷新服务器页.
单位为秒, 设置为 0
则不自动刷新.',
- 'seconds' => '秒',
'test' => '测试',
'test_email' => '将发送一封邮件到您账户设置的邮件地址.',
'test_sms' => '将发送一封短信到您账户设置的手机号码.',
diff --git a/src/lang/zh_TW.lang.php b/src/lang/zh_TW.lang.php
index 29157d84..0069f8bd 100644
--- a/src/lang/zh_TW.lang.php
+++ b/src/lang/zh_TW.lang.php
@@ -258,7 +258,8 @@ $sm_lang = array(
'sms_from' => '發送人電話號碼',
'pushover_status' => '啟用Pushover通知',
'pushover_description' => 'Pushover是線上服務,讓您可以方便的收到即時通知,請參考 網站 可以得到更詳細的資訊。 ',
+ href="https://pushover.net/" target="_blank"> 網站
+ 可以得到更詳細的資訊。 ',
'pushover_clone_app' => '點選這裡可快速建立Pushover App',
'pushover_api_token_description' => '在您使用 Pushover 通知之前,需要先到這裡->註冊Pushover App帳號
@@ -269,7 +270,8 @@ $sm_lang = array(
文件庫
可以取得更多資訊與安裝說明。',
'telegram_api_token_description' => '使用 Telegram 通知之前,您必需先取得 API Token。請到 文件庫 取得說明。',
+ href="http://docs.phpservermonitor.org/" target="_blank">文件庫
+ 取得說明。',
'alert_type' => '需要提醒的類別',
'alert_type_description' => '狀態改變: 伺服器 連線 -> 離線或連線 ->
連線的狀態變化將會收到提醒通知。
離線:
@@ -298,7 +300,6 @@ $sm_lang = array(
'settings_log' => '記錄設定',
'settings_proxy' => 'Proxy 設定',
'auto_refresh' => '自動更新',
- 'seconds' => '秒',
'test' => '測試',
'test_email' => '電子郵件將發送到您在使用者設定內指定的電子郵件信箱。',
'test_sms' => '簡訊將發送到您在使用者設定內指定的行動電話號碼。',
diff --git a/src/psm/Module/Config/Controller/ConfigController.php b/src/psm/Module/Config/Controller/ConfigController.php
index f26b1ff0..7bb78e65 100644
--- a/src/psm/Module/Config/Controller/ConfigController.php
+++ b/src/psm/Module/Config/Controller/ConfigController.php
@@ -519,7 +519,7 @@ class ConfigController extends AbstractController
'label_alert_proxy_url' => psm_get_lang('config', 'alert_proxy_url'),
'label_auto_refresh' => psm_get_lang('config', 'auto_refresh'),
'label_auto_refresh_description' => psm_get_lang('config', 'auto_refresh_description'),
- 'label_seconds' => psm_get_lang('config', 'seconds'),
+ 'label_seconds' => psm_get_lang('system', 'seconds'),
'label_save' => psm_get_lang('system', 'save'),
'label_test' => psm_get_lang('config', 'test'),
'label_log_retention_period' => psm_get_lang('config', 'log_retention_period'),
diff --git a/src/psm/Module/Server/Controller/AbstractServerController.php b/src/psm/Module/Server/Controller/AbstractServerController.php
index befad354..26ed2c9d 100644
--- a/src/psm/Module/Server/Controller/AbstractServerController.php
+++ b/src/psm/Module/Server/Controller/AbstractServerController.php
@@ -114,7 +114,7 @@ abstract class AbstractServerController extends AbstractController
*/
protected function formatServer($server)
{
- $server['rtime'] = round((float) $server['rtime'], 4);
+ $server['rtime'] = $server['rtime'];
$server['last_online'] = psm_timespan($server['last_online']);
$server['last_offline'] = psm_timespan($server['last_offline']);
if ($server['last_offline'] != psm_get_lang('system', 'never')) {
diff --git a/src/psm/Module/Server/Controller/ServerController.php b/src/psm/Module/Server/Controller/ServerController.php
index cd8bf90e..47e24d9e 100644
--- a/src/psm/Module/Server/Controller/ServerController.php
+++ b/src/psm/Module/Server/Controller/ServerController.php
@@ -609,7 +609,8 @@ class ServerController extends AbstractServerController
'label_yes' => psm_get_lang('system', 'yes'),
'label_no' => psm_get_lang('system', 'no'),
'label_add_new' => psm_get_lang('system', 'add_new'),
- 'label_seconds' => psm_get_lang('config', 'seconds'),
+ 'label_seconds' => psm_get_lang('system', 'seconds'),
+ 'label_milliseconds' => psm_get_lang('system', 'milliseconds'),
'label_online' => psm_get_lang('servers', 'online'),
'label_offline' => psm_get_lang('servers', 'offline'),
'label_ok' => psm_get_lang('system', 'ok'),
diff --git a/src/psm/Util/Server/HistoryGraph.php b/src/psm/Util/Server/HistoryGraph.php
index 8b5b8e38..3990f993 100644
--- a/src/psm/Util/Server/HistoryGraph.php
+++ b/src/psm/Util/Server/HistoryGraph.php
@@ -74,7 +74,7 @@ class HistoryGraph
1 => $this->generateGraphHistory($server_id, $last_year, $last_week),
);
$info_fields = array(
- 'latency_avg' => '%01.4f',
+ 'latency_avg' => '%01.5f',
'uptime' => '%01.3f%%',
);
@@ -252,6 +252,20 @@ class HistoryGraph
$prev_downtime = 0;
$downtime = 0;
+ // get highest latency record for offline height
+ $n = count($records);
+ $highest_latency = 0.0000;
+ for ($i = 0; $i < $n; $i++) {
+ if (!array_key_exists('latency', $records[$i])) {
+ continue;
+ }
+ // Update if latency is higher
+ $highest_latency = $highest_latency < floatval($records[$i]['latency']) ?
+ floatval($records[$i]['latency']) : $highest_latency;
+ }
+ // to ms
+ $highest_latency = round($highest_latency * 1000);
+
// Create the list of points and server down zones
foreach ($records as $record) {
$time = strtotime($record['date']);
@@ -266,11 +280,11 @@ class HistoryGraph
if ($record['status'] == 0) {
$lines['online'][] = $prev['status']
// Previous datapoint was online
- ? '{ x: ' . ($time * 1000) . ', y: ' . $prev['latency'] . '}'
+ ? '{ x: ' . ($time * 1000) . ', y: ' . $prev['latency'] * 1000 . '}'
// Previous datapoint was offline
: '{ x: ' . ($time * 1000) . ', y: null}';
// new outage start
- $lines['offline'][] = '{ x: ' . ($time * 1000) . ', y:0.1}';
+ $lines['offline'][] = '{ x: ' . ($time * 1000) . ', y:' . $highest_latency . '}';
$prev_downtime != 0 ?: $prev_downtime = $time;
} else {
@@ -280,15 +294,15 @@ class HistoryGraph
// Previous datapoint was online
? '{ x: ' . ($time * 1000) . ', y:null}'
// Previous datapoint was offline
- : '{ x: ' . ($time * 1000) . ', y:0.1}';
+ : '{ x: ' . ($time * 1000) . ', y:' . $highest_latency . '}';
$lines['online'][] = '{ x: ' . ($time * 1000) . ', y: ' .
- round((float) $record[$key], 4) . '}';
+ round((float) $record[$key] * 1000, 2) . '}';
$prev_downtime == 0 ?: $downtime += ($time - $prev_downtime);
$prev_downtime = 0;
}
} else {
- $lines[$key][] = '{ x: \'' . $record['date'] . '\', y: ' . $record[$key] . '}';
+ $lines[$key][] = '{ x: \'' . $record['date'] . '\', y: ' . $record[$key] * 1000 . '}';
}
$prev = $record;
}
@@ -298,7 +312,8 @@ class HistoryGraph
// Record the first and last date as a string in the down array
$prev_downtime == 0 ?: $downtime += ($now->getTimestamp() - $prev_downtime);
if ($add_uptime) {
- $prev['status'] ?: $lines['offline'][] = '{ x: ' . ($now->getTimestamp() * 1000) . ', y:0.1}';
+ $prev['status'] ?: $lines['offline'][] =
+ '{ x: ' . ($now->getTimestamp() * 1000) . ', y:' . $highest_latency . '}';
$data['uptime'] = 100 - ($downtime / ($end_time->getTimestamp() - $start_time->getTimestamp()));
}
diff --git a/src/templates/default/module/server/history.tpl.html b/src/templates/default/module/server/history.tpl.html
index 7f76bc69..91027166 100644
--- a/src/templates/default/module/server/history.tpl.html
+++ b/src/templates/default/module/server/history.tpl.html
@@ -20,7 +20,7 @@
{% endif %}
- {{ graph.info.0.label }}: {{ graph.info.0.value }}s
+ {{ graph.info.0.label }}: {{ graph.info.0.value * 1000 }} ms
{% if graph.id == 'history_short' %}
diff --git a/src/templates/default/module/server/server/list.tpl.html b/src/templates/default/module/server/server/list.tpl.html
index 110c1261..8fd94464 100644
--- a/src/templates/default/module/server/server/list.tpl.html
+++ b/src/templates/default/module/server/server/list.tpl.html
@@ -9,7 +9,7 @@
{{ label_last_online }}: {{ server.last_online_nice }}
{{ label_last_offline }}: {{ server.last_offline_nice }} {{ server.last_offline_duration_nice }}
- {{ label_rtime }}: {{ server.rtime }}
+ {{ label_rtime }}: {{ (server.rtime * 1000)|round(2) }} ms