From 315e963cdbed671103af79c9806ba10c8a0e6136 Mon Sep 17 00:00:00 2001 From: Sami Nieminen Date: Thu, 4 Jun 2015 10:52:11 +0000 Subject: [PATCH 1/8] Added Finnish translation, work in progress --- src/lang/fi_FI.lang.php | 300 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 300 insertions(+) create mode 100644 src/lang/fi_FI.lang.php diff --git a/src/lang/fi_FI.lang.php b/src/lang/fi_FI.lang.php new file mode 100644 index 00000000..86c0b1d2 --- /dev/null +++ b/src/lang/fi_FI.lang.php @@ -0,0 +1,300 @@ +. + * + * @package phpservermon + * @author Sami Nieminen + * @copyright Copyright (c) 2008-2015 Pepijn Over + * @license http://www.gnu.org/licenses/gpl.txt GNU GPL v3 + * @version Release: @package_version@ + * @link http://www.phpservermonitor.org/ + **/ + +$sm_lang = array( + 'name' => 'Finnish', + 'locale' => array('fi_FI.UTF-8', 'fi_FI', 'finnish', 'finnish-fi'), + 'system' => array( + 'title' => 'Server Monitor', + 'install' => 'Asenna', + 'action' => 'Toiminta', + 'save' => 'Tallenna', + 'edit' => 'Muokka', + 'delete' => 'Poista', + 'date' => 'Päivä', + 'message' => 'Viesti', + 'yes' => 'Kyllä', + 'no' => 'Ei', + 'insert' => 'Aseta', + 'add_new' => 'Lisää uusi', + 'update_available' => 'A new version ({version}) is available from http://www.phpservermonitor.org.', + 'back_to_top' => 'Takaisin ylös', + 'go_back' => 'Takaisin', + 'ok' => 'OK', + 'cancel' => 'Peruuta', + // date/time format according the strftime php function format parameter http://php.net/manual/function.strftime.php + 'short_day_format' => '%B %e', + 'long_day_format' => '%B %e, %Y', + 'yesterday_format' => 'Eilen klo %k:%M', + 'other_day_format' => '%A klo %k:%M', + 'never' => 'Ei koskaan', + 'hours_ago' => '%d tuntia sitten', + 'an_hour_ago' => 'noin tunti sitten', + 'minutes_ago' => '%d minuuttia sitten', + 'a_minute_ago' => 'noin minuutti sitten', + 'seconds_ago' => '%d sekuntia sitten', + 'a_second_ago' => 'sekunti sitten', + ), + 'menu' => array( + 'config' => 'Asetukset', + 'server' => 'Palvelimet', + 'server_log' => 'Tapahtumat', + 'server_status' => 'Tila', + 'server_update' => 'Päivitä', + 'user' => 'Käyttäjät', + 'help' => 'Apua', + ), + 'users' => array( + 'user' => 'Käyttäjä', + 'name' => 'Nimi', + 'user_name' => 'Käyttäjänimi', + 'password' => 'Salasana', + 'password_repeat' => 'Salasana uudestaan', + 'password_leave_blank' => 'Jätä tyhjäksi jos et halua vaihtaa', + 'level' => 'Taso', + 'level_10' => 'Järjestelmänvalvoja', + 'level_20' => 'Käyttäjä', + 'level_description' => 'Administrators have full access: they can manage servers, users and edit the global configuration.
Users can only view and run the updater for the servers that have been assigned to them.', + 'mobile' => 'Mobiili', + 'email' => 'Sähköposti', + 'pushover' => 'Pushover', + 'pushover_description' => 'Pushover is a service that makes it easy to get real-time notifications. See their website for more info.', + 'pushover_key' => 'Pushover avain', + 'pushover_device' => 'Pushover laite', + 'pushover_device_description' => 'Device name to send the message to. Leave empty to send it to all devices.', + 'delete_title' => 'Poista käyttäjä', + 'delete_message' => 'Haluatko varmasti poistaa käyttäjän \'%1\'?', + 'deleted' => 'Käyttäjä poistettu.', + 'updated' => 'Käyttäjä päivitetty.', + 'inserted' => 'Käyttäjä lisätty.', + 'profile' => 'Profiili', + 'profile_updated' => 'Profiilisi on päivitetty.', + 'error_user_name_bad_length' => 'Käyttäjänimi saa olla 2-64 merkkiä pitkä.', + 'error_user_name_invalid' => 'The username may only contain alphabetic characters (a-z, A-Z), digits (0-9) and underscores (_).', + 'error_user_name_exists' => 'Annettu käyttäjänimi on jo tietokannassa.', + 'error_user_email_bad_length' => 'Sähköpostiosoitteen täytyy olla 5-255 merkkiä pitkä.', + 'error_user_email_invalid' => 'Annettu sähköposti ei kelpaa.', + 'error_user_level_invalid' => 'Annettu käyttäjän taso ei kelpaa.', + 'error_user_no_match' => 'Käyttäjää ei löydetty tietokannasta.', + 'error_user_password_invalid' => 'Annettu salasana on väärin.', + 'error_user_password_no_match' => 'Annetut salasanat eivät täsmää.', + ), + 'log' => array( + 'title' => 'Tapahtumamerkinnät', + 'type' => 'Tyyppi', + 'status' => 'Tila', + 'email' => 'Sähköposti', + 'sms' => 'SMS', + 'pushover' => 'Pushover', + 'no_logs' => 'Ei tapahtumia', + ), + 'servers' => array( + 'server' => 'Palvelin', + 'status' => 'Tilan', + 'label' => 'Nimi', + 'domain' => 'Isäntänimi/IP', + 'timeout' => 'Aikakatkaisu', + 'timeout_description' => 'Kuinka monta sekuntia odottaa kunnes palvelin merkataan sammuneeksi.', + 'port' => 'Portti', + 'type' => 'Tyyppi', + 'type_website' => 'Verkkosivu', + 'type_service' => 'Palvelu', + 'pattern' => 'Etsi sarja/kuvio', + 'pattern_description' => 'If this pattern is not found on the website, the server will be marked offline. Regular expressions are allowed.', + 'last_check' => 'Viimeisin tarkistus', + 'last_online' => 'Viimeksi päällä', + 'monitoring' => 'Valvonta', + 'no_monitoring' => 'Ei valvontaa', + 'email' => 'Sähköposti', + 'send_email' => 'Lähetä sähköposti', + 'sms' => 'SMS', + 'send_sms' => 'Lähetä SMS', + 'pushover' => 'Pushover', + 'users' => 'Käyttäjät', + 'delete_title' => 'Poista palvelin', + 'delete_message' => 'Haluatko varmasti poistaa palvelimen \'%1\'?', + 'deleted' => 'Palvelin poistettu.', + 'updated' => 'Palvelin päivitetty.', + 'inserted' => 'Palvelin lisätty.', + 'latency' => 'Viive', + 'latency_max' => 'Viive (maksimi)', + 'latency_min' => 'Viive (minimi)', + 'latency_avg' => 'Viive (keskiarvo)', + 'uptime' => 'Päälläoloaika', + 'year' => 'Vuosi', + 'month' => 'Kuukausi', + 'week' => 'Viikko', + 'day' => 'Päivä', + 'hour' => 'Tunti', + 'warning_threshold' => 'Varoituskynnys', + 'warning_threshold_description' => 'Number of failed checks required before it is marked offline.', + 'chart_last_week' => 'Viime viikolla', + 'chart_history' => 'Historia', + // Charts date format according jqPlot date format http://www.jqplot.com/docs/files/plugins/jqplot-dateAxisRenderer-js.html + 'chart_day_format' => '%Y-%m-%d', + 'chart_long_date_format' => '%Y-%m-%d %H:%M:%S', + 'chart_short_date_format' => '%m/%d %H:%M', + 'chart_short_time_format' => '%H:%M', + 'warning_notifications_disabled_sms' => 'SMS ilmoitukset on poistettu käytöstä.', + 'warning_notifications_disabled_email' => 'Sähköposti ilmoitukset on poistettu käytöstä.', + 'warning_notifications_disabled_pushover' => 'Pushover ilmoitukset on poistettu käytöstä.', + 'error_server_no_match' => 'Palvelinta ei löydetty.', + 'error_server_label_bad_length' => 'Nimen pitää olla 1-255 merkkiä pitkä.', + 'error_server_ip_bad_length' => 'Isäntänimen / IP:n pitää olla 1-255 merkkiä pitkä.', + 'error_server_ip_bad_service' => 'Annettu IP osoite ei kelpaa.', + 'error_server_ip_bad_website' => 'Annettu verkkosivun osoite ei kelpaa.', + 'error_server_type_invalid' => 'Valittu palvelintyyppi ei kelpaa.', + 'error_server_warning_threshold_invalid' => 'Varoituskynnyksen arvo pitää olla suurempi kuin 0.', + ), + 'config' => array( + 'general' => 'Yleiset', + 'language' => 'Kieli', + 'show_update' => 'Tarkista päivitykset?', + 'email_status' => 'Salli sähköpostin lähettäminen', + 'email_from_email' => 'Lähettäjän osoite', + 'email_from_name' => 'Lähettäjän nimi', + 'email_smtp' => 'Käytä SMTP:tä', + 'email_smtp_host' => 'SMTP isäntä', + 'email_smtp_port' => 'SMTP portti', + 'email_smtp_security' => 'SMTP turvallisuus', + 'email_smtp_security_none' => 'Ei mitään', + 'email_smtp_username' => 'SMTP käyttäjänimi', + 'email_smtp_password' => 'SMTP salasana', + 'email_smtp_noauth' => 'Jätä tyhjäksi jos ei varmennusta', + 'sms_status' => 'Salli tekstiviestien lähetys', + 'sms_gateway' => 'Gateway to use for sending messages', + 'sms_gateway_mosms' => 'Mosms', + 'sms_gateway_mollie' => 'Mollie', + 'sms_gateway_spryng' => 'Spryng', + 'sms_gateway_inetworx' => 'Inetworx', + 'sms_gateway_clickatell' => 'Clickatell', + 'sms_gateway_textmarketer' => 'Textmarketer', + 'sms_gateway_smsglobal' => 'SMSGlobal', + 'sms_gateway_smsit' => 'Smsit', + 'sms_gateway_freevoipdeal' => 'FreeVoipDeal', + 'sms_gateway_username' => 'Gateway username', + 'sms_gateway_password' => 'Gateway password', + 'sms_from' => 'Sender\'s phone number', + 'pushover_status' => 'Salli Pushover viestien lähetys', + 'pushover_description' => 'Pushover is a service that makes it easy to get real-time notifications. See their website for more info.', + 'pushover_clone_app' => 'Click here to create your Pushover app', + 'pushover_api_token' => 'Pushover App API Token', + 'pushover_api_token_description' => 'Before you can use Pushover, you need to register an App at their website and enter the App API Token here.', + 'alert_type' => 'Select when you\'d like to be notified.', + 'alert_type_description' => 'Status change: '. + 'You will receive a notifcation when a server has a change in status. So from online -> offline or offline -> online.
'. + '
Offline: '. + 'You will receive a notification when a server goes offline for the *FIRST TIME ONLY*. For example, '. + 'your cronjob is every 15 mins and your server goes down at 1 am and stays down till 6 am. '. + 'You will get 1 notification at 1 am and thats it.
'. + '
Always: '. + 'You will receive a notification every time the script runs and a site is down, even if the site has been offline for hours.', + 'alert_type_status' => 'Tilan muutos', + 'alert_type_offline' => 'Sammunut', + 'alert_type_always' => 'Aina', + 'log_status' => 'Log status', + 'log_status_description' => 'If log status is set to TRUE, the monitor will log the event whenever the Notification settings are passed.', + 'log_email' => 'Log emails sent by the script', + 'log_sms' => 'Log text messages sent by the script', + 'log_pushover' => 'Log pushover messages sent by the script', + 'updated' => 'The configuration has been updated.', + 'tab_email' => 'Sähköposti', + 'tab_sms' => 'SMS', + 'tab_pushover' => 'Pushover', + 'settings_email' => 'Sähköposti asetukset', + 'settings_sms' => 'Tekstiviesti asetukset', + 'settings_pushover' => 'Pushover asetukset', + 'settings_notification' => 'Ilmoitusasetukset', + 'settings_log' => 'Log settings', + 'auto_refresh' => 'Auto-refresh', + 'auto_refresh_servers' => + 'Auto-refresh servers page.
'. + ''. + 'Time in seconds, if 0 the page won\'t refresh.'. + '', + 'seconds' => 'sekuntia', + 'test' => 'Testi', + '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.', + 'test_pushover' => 'A Pushover notification will be sent to the user key/device specified in your user profile.', + 'send' => 'Lähetä', + 'test_subject' => 'Testi', + 'test_message' => 'Testiviesti', + 'email_sent' => 'Sähköposti lähetetty', + 'email_error' => 'Virhe sähköpostin lähetyksessä', + 'sms_sent' => 'Tekstiviesti lähetetty', + 'sms_error' => 'Virhe tekstiviestin lähetyksessä', + 'sms_error_nomobile' => 'Unable to send test SMS: no valid phone number found in your profile.', + 'pushover_sent' => 'Pushover ilmoitus lähetetty', + 'pushover_error' => 'An error has occurred while sending the Pushover notification: %s', + 'pushover_error_noapp' => 'Unable to send test notification: no Pushover App API token found in the global configuration.', + 'pushover_error_nokey' => 'Unable to send test notification: no Pushover key found in your profile.', + 'log_retention_period' => 'Log retention period', + 'log_retention_period_description' => 'Number of days to keep logs of notifications and archives of server uptime. Enter 0 to disable log cleanup.', + 'log_retention_days' => 'päivää', + ), + // for newlines in the email messages use
+ 'notifications' => array( + 'off_sms' => 'Server \'%LABEL%\' is DOWN: ip=%IP%, port=%PORT%. Error=%ERROR%', + 'off_email_subject' => 'IMPORTANT: Server \'%LABEL%\' is DOWN', + 'off_email_body' => "Failed to connect to the following server:

Server: %LABEL%
IP: %IP%
Port: %PORT%
Error: %ERROR%
Date: %DATE%", + 'off_pushover_title' => 'Server \'%LABEL%\' is DOWN', + 'off_pushover_message' => "Failed to connect to the following server:

Server: %LABEL%
IP: %IP%
Port: %PORT%
Error: %ERROR%
Date: %DATE%", + 'on_sms' => 'Server \'%LABEL%\' is RUNNING: ip=%IP%, port=%PORT%', + 'on_email_subject' => 'IMPORTANT: Server \'%LABEL%\' is RUNNING', + 'on_email_body' => "Server '%LABEL%' is running again:

Server: %LABEL%
IP: %IP%
Port: %PORT%
Date: %DATE%", + 'on_pushover_title' => 'Server \'%LABEL%\' is RUNNING', + 'on_pushover_message' => 'Server \'%LABEL%\' is running again:

Server: %LABEL%
IP: %IP%
Port: %PORT%
Date: %DATE%', + ), + 'login' => array( + 'welcome_usermenu' => 'Tervetuloa, %user_name%', + 'title_sign_in' => 'Ole hyvä ja kirjaudu sisään', + 'title_forgot' => 'Unohtuiko salasanasi?', + 'title_reset' => 'Resetoi salasanasi', + 'submit' => 'Lähetä', + 'remember_me' => 'Muista minut', + 'login' => 'Kirjaudu sisään', + 'logout' => 'Kirjaudu ulos', + 'username' => 'Käyttäjänimi', + 'password' => 'Salasana', + 'password_repeat' => 'Salasana uudestaan', + 'password_forgot' => 'Unohtuiko salasanasi?', + 'password_reset' => 'Resetoi salasanasi', + 'password_reset_email_subject' => 'Resetoi salasanasi PHP Server Monitoriin', + 'password_reset_email_body' => 'Ole hyvä ja käytä seuraavaa linkkiä restoidaksesi salasanasi. Huomaa että linkki vanhentuu tunnin sisällä.

%link%', + 'error_user_incorrect' => 'Annettua käyttäjänimeä ei löydetty.', + 'error_login_incorrect' => 'Antamasi tiedot eivät ole oikein.', + 'error_login_passwords_nomatch' => 'Annetut salasanat eivät täsmää.', + 'error_reset_invalid_link' => 'Resetointilinkkisi on väärä.', + 'success_password_forgot' => 'Sähköpostiisi on lähetetty ohjeet kuinka resetoida salasanasi.', + 'success_password_reset' => 'Salasanasi on resetoitu onnistuneesti, ole hyvä ja kirjaudu sisään.', + ), + 'error' => array( + '401_unauthorized' => 'Ei käyttöoikeuksia', + '401_unauthorized_description' => 'Sinulla ei ole käyttöoikeuksia katsoa tätä sivua.', + ), +); From bcfeaba773615874d61e1d07f2c0bfca2a5fced0 Mon Sep 17 00:00:00 2001 From: Sami Nieminen Date: Mon, 8 Jun 2015 11:29:04 +0000 Subject: [PATCH 2/8] Updated more strings, work in progress --- src/lang/fi_FI.lang.php | 54 ++++++++++++++++++++--------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/src/lang/fi_FI.lang.php b/src/lang/fi_FI.lang.php index 86c0b1d2..f1db5fee 100644 --- a/src/lang/fi_FI.lang.php +++ b/src/lang/fi_FI.lang.php @@ -33,7 +33,7 @@ $sm_lang = array( 'install' => 'Asenna', 'action' => 'Toiminta', 'save' => 'Tallenna', - 'edit' => 'Muokka', + 'edit' => 'Muokkaa', 'delete' => 'Poista', 'date' => 'Päivä', 'message' => 'Viesti', @@ -41,7 +41,7 @@ $sm_lang = array( 'no' => 'Ei', 'insert' => 'Aseta', 'add_new' => 'Lisää uusi', - 'update_available' => 'A new version ({version}) is available from http://www.phpservermonitor.org.', + 'update_available' => 'Uusi versio ({version}) on ladattavissa osoitteessa http://www.phpservermonitor.org.', 'back_to_top' => 'Takaisin ylös', 'go_back' => 'Takaisin', 'ok' => 'OK', @@ -78,14 +78,14 @@ $sm_lang = array( 'level' => 'Taso', 'level_10' => 'Järjestelmänvalvoja', 'level_20' => 'Käyttäjä', - 'level_description' => 'Administrators have full access: they can manage servers, users and edit the global configuration.
Users can only view and run the updater for the servers that have been assigned to them.', + 'level_description' => 'Järjestelmänvalvojilla on täydet oikeudet: he voivat hallita palvelimia, käyttäjiä ja muokata ohjelmiston asetuksia.
Käyttäjät voivat vain nähdä ja päivittää palvelimia jotka on asetettu heille.', 'mobile' => 'Mobiili', 'email' => 'Sähköposti', 'pushover' => 'Pushover', - 'pushover_description' => 'Pushover is a service that makes it easy to get real-time notifications. See their website for more info.', + 'pushover_description' => 'Pushover on palvelu jolla on helppo lähettää reaaliaikaisia tilaviestejä. Katso verkkosivuilta lisäinfoa.', 'pushover_key' => 'Pushover avain', 'pushover_device' => 'Pushover laite', - 'pushover_device_description' => 'Device name to send the message to. Leave empty to send it to all devices.', + 'pushover_device_description' => 'Laitteen nimi johon viesti lähetetään. Jätä tyhjäksi lähettääksesi kaikkiin laitteisiin.', 'delete_title' => 'Poista käyttäjä', 'delete_message' => 'Haluatko varmasti poistaa käyttäjän \'%1\'?', 'deleted' => 'Käyttäjä poistettu.', @@ -94,7 +94,7 @@ $sm_lang = array( 'profile' => 'Profiili', 'profile_updated' => 'Profiilisi on päivitetty.', 'error_user_name_bad_length' => 'Käyttäjänimi saa olla 2-64 merkkiä pitkä.', - 'error_user_name_invalid' => 'The username may only contain alphabetic characters (a-z, A-Z), digits (0-9) and underscores (_).', + 'error_user_name_invalid' => 'Käyttäjänimessä saa olla vain kirjaimia (a-z, A-Z), numeroita (0-9) ja alaviivoja (_).', 'error_user_name_exists' => 'Annettu käyttäjänimi on jo tietokannassa.', 'error_user_email_bad_length' => 'Sähköpostiosoitteen täytyy olla 5-255 merkkiä pitkä.', 'error_user_email_invalid' => 'Annettu sähköposti ei kelpaa.', @@ -108,7 +108,7 @@ $sm_lang = array( 'type' => 'Tyyppi', 'status' => 'Tila', 'email' => 'Sähköposti', - 'sms' => 'SMS', + 'sms' => 'Tekstiviesti', 'pushover' => 'Pushover', 'no_logs' => 'Ei tapahtumia', ), @@ -118,21 +118,21 @@ $sm_lang = array( 'label' => 'Nimi', 'domain' => 'Isäntänimi/IP', 'timeout' => 'Aikakatkaisu', - 'timeout_description' => 'Kuinka monta sekuntia odottaa kunnes palvelin merkataan sammuneeksi.', + 'timeout_description' => 'Kuinka monta sekuntia odottaa kunnes palvelin merkitään sammuneeksi.', 'port' => 'Portti', 'type' => 'Tyyppi', 'type_website' => 'Verkkosivu', 'type_service' => 'Palvelu', 'pattern' => 'Etsi sarja/kuvio', - 'pattern_description' => 'If this pattern is not found on the website, the server will be marked offline. Regular expressions are allowed.', + 'pattern_description' => 'Jos määriteltyä sarjaa ei löydetä verkkosivuilta, palvelin merkitään sammuneeksi. REGEX on sallittua.', 'last_check' => 'Viimeisin tarkistus', - 'last_online' => 'Viimeksi päällä', + 'last_online' => 'Viimeksi nähty', 'monitoring' => 'Valvonta', 'no_monitoring' => 'Ei valvontaa', 'email' => 'Sähköposti', 'send_email' => 'Lähetä sähköposti', - 'sms' => 'SMS', - 'send_sms' => 'Lähetä SMS', + 'sms' => 'Tekstiviesti', + 'send_sms' => 'Lähetä tekstiviesti', 'pushover' => 'Pushover', 'users' => 'Käyttäjät', 'delete_title' => 'Poista palvelin', @@ -151,7 +151,7 @@ $sm_lang = array( 'day' => 'Päivä', 'hour' => 'Tunti', 'warning_threshold' => 'Varoituskynnys', - 'warning_threshold_description' => 'Number of failed checks required before it is marked offline.', + 'warning_threshold_description' => 'Epäonnistuneiden tarkistuksien määrä kunnes se merkataan sammuneeksi.', 'chart_last_week' => 'Viime viikolla', 'chart_history' => 'Historia', // Charts date format according jqPlot date format http://www.jqplot.com/docs/files/plugins/jqplot-dateAxisRenderer-js.html @@ -159,9 +159,9 @@ $sm_lang = array( 'chart_long_date_format' => '%Y-%m-%d %H:%M:%S', 'chart_short_date_format' => '%m/%d %H:%M', 'chart_short_time_format' => '%H:%M', - 'warning_notifications_disabled_sms' => 'SMS ilmoitukset on poistettu käytöstä.', - 'warning_notifications_disabled_email' => 'Sähköposti ilmoitukset on poistettu käytöstä.', - 'warning_notifications_disabled_pushover' => 'Pushover ilmoitukset on poistettu käytöstä.', + 'warning_notifications_disabled_sms' => 'Tekstiviesti-ilmoitukset on poistettu käytöstä.', + 'warning_notifications_disabled_email' => 'Sähköposti-ilmoitukset on poistettu käytöstä.', + 'warning_notifications_disabled_pushover' => 'Pushover-ilmoitukset on poistettu käytöstä.', 'error_server_no_match' => 'Palvelinta ei löydetty.', 'error_server_label_bad_length' => 'Nimen pitää olla 1-255 merkkiä pitkä.', 'error_server_ip_bad_length' => 'Isäntänimen / IP:n pitää olla 1-255 merkkiä pitkä.', @@ -186,7 +186,7 @@ $sm_lang = array( 'email_smtp_password' => 'SMTP salasana', 'email_smtp_noauth' => 'Jätä tyhjäksi jos ei varmennusta', 'sms_status' => 'Salli tekstiviestien lähetys', - 'sms_gateway' => 'Gateway to use for sending messages', + 'sms_gateway' => 'Palvelu jonka kautta tekstiviestit lähetetään', 'sms_gateway_mosms' => 'Mosms', 'sms_gateway_mollie' => 'Mollie', 'sms_gateway_spryng' => 'Spryng', @@ -196,15 +196,15 @@ $sm_lang = array( 'sms_gateway_smsglobal' => 'SMSGlobal', 'sms_gateway_smsit' => 'Smsit', 'sms_gateway_freevoipdeal' => 'FreeVoipDeal', - 'sms_gateway_username' => 'Gateway username', - 'sms_gateway_password' => 'Gateway password', - 'sms_from' => 'Sender\'s phone number', - 'pushover_status' => 'Salli Pushover viestien lähetys', - 'pushover_description' => 'Pushover is a service that makes it easy to get real-time notifications. See their website for more info.', - 'pushover_clone_app' => 'Click here to create your Pushover app', - 'pushover_api_token' => 'Pushover App API Token', - 'pushover_api_token_description' => 'Before you can use Pushover, you need to register an App at their website and enter the App API Token here.', - 'alert_type' => 'Select when you\'d like to be notified.', + 'sms_gateway_username' => 'Palvelun käyttäjänimi', + 'sms_gateway_password' => 'Palvelun salasana', + 'sms_from' => 'Lähettäjän puhelinnumero', + 'pushover_status' => 'Salli Pushover-viestien lähetys', + 'pushover_description' => 'Pushover on palvelu jolla on helppo lähettää reaaliaikaisia tilaviestejä. Katso verkkosivuilta lisäinfoa.', + 'pushover_clone_app' => 'Paina tästä luodaksesi Pushover-sovelluksesi', + 'pushover_api_token' => 'Pushover API-avain', + 'pushover_api_token_description' => 'Ennen kuin voit käyttää Pushoveria, sinun täytyy rekisteröidä sovellus heidän nettisivuillaan, ja kopioida API-avain tänne.', + 'alert_type' => 'Valitse milloin haluat ilmoituksia.', 'alert_type_description' => 'Status change: '. 'You will receive a notifcation when a server has a change in status. So from online -> offline or offline -> online.
'. '
Offline: '. @@ -223,7 +223,7 @@ $sm_lang = array( 'log_pushover' => 'Log pushover messages sent by the script', 'updated' => 'The configuration has been updated.', 'tab_email' => 'Sähköposti', - 'tab_sms' => 'SMS', + 'tab_sms' => 'Tekstiviesti', 'tab_pushover' => 'Pushover', 'settings_email' => 'Sähköposti asetukset', 'settings_sms' => 'Tekstiviesti asetukset', From 53ee67773e28901274bdcbdb22b9f226641f33f4 Mon Sep 17 00:00:00 2001 From: Sami Nieminen Date: Mon, 8 Jun 2015 12:13:44 +0000 Subject: [PATCH 3/8] Translation done, testing begins... --- src/lang/fi_FI.lang.php | 74 ++++++++++++++++++++--------------------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/src/lang/fi_FI.lang.php b/src/lang/fi_FI.lang.php index f1db5fee..c1760b84 100644 --- a/src/lang/fi_FI.lang.php +++ b/src/lang/fi_FI.lang.php @@ -79,7 +79,7 @@ $sm_lang = array( 'level_10' => 'Järjestelmänvalvoja', 'level_20' => 'Käyttäjä', 'level_description' => 'Järjestelmänvalvojilla on täydet oikeudet: he voivat hallita palvelimia, käyttäjiä ja muokata ohjelmiston asetuksia.
Käyttäjät voivat vain nähdä ja päivittää palvelimia jotka on asetettu heille.', - 'mobile' => 'Mobiili', + 'mobile' => 'Puhelin', 'email' => 'Sähköposti', 'pushover' => 'Pushover', 'pushover_description' => 'Pushover on palvelu jolla on helppo lähettää reaaliaikaisia tilaviestejä. Katso verkkosivuilta lisäinfoa.', @@ -206,22 +206,22 @@ $sm_lang = array( 'pushover_api_token_description' => 'Ennen kuin voit käyttää Pushoveria, sinun täytyy rekisteröidä sovellus heidän nettisivuillaan, ja kopioida API-avain tänne.', 'alert_type' => 'Valitse milloin haluat ilmoituksia.', 'alert_type_description' => 'Status change: '. - 'You will receive a notifcation when a server has a change in status. So from online -> offline or offline -> online.
'. - '
Offline: '. - 'You will receive a notification when a server goes offline for the *FIRST TIME ONLY*. For example, '. - 'your cronjob is every 15 mins and your server goes down at 1 am and stays down till 6 am. '. - 'You will get 1 notification at 1 am and thats it.
'. - '
Always: '. - 'You will receive a notification every time the script runs and a site is down, even if the site has been offline for hours.', + 'Saat ilmoituksen kun palvelimen tila vaihtuu. Eli tilasta päällä -> sammunut tai sammunut -> päällä.
'. + '
Sammunut: '. + 'Saat yhden ilmoituksen kun palvelimen tila vaihtuu sammuneeksi, mutta *VAIN ENSIMMÄISEN KERRAN*. Esimerkiksi, '. + 'jos tarkistus tehdään joka 15 minuutti, ja palvelin sammuu klo 1 ja pysyy sammuneena klo 6 asti. '. + 'Saat vain yhden ilmoituksen klo 1, ei muuta.
'. + '
Aina: '. + 'Saat ilmoituksen joka kerta kun palvelin tarkistetaan, vaikka palvelin olisi ollut sammuneena tunteja.', 'alert_type_status' => 'Tilan muutos', 'alert_type_offline' => 'Sammunut', 'alert_type_always' => 'Aina', - 'log_status' => 'Log status', - 'log_status_description' => 'If log status is set to TRUE, the monitor will log the event whenever the Notification settings are passed.', - 'log_email' => 'Log emails sent by the script', - 'log_sms' => 'Log text messages sent by the script', - 'log_pushover' => 'Log pushover messages sent by the script', - 'updated' => 'The configuration has been updated.', + 'log_status' => 'Merkitse tapahtumat', + 'log_status_description' => 'Jos arvo on tosi, palvelin tallentaa tapahtumamerkinnän jokaisesta tilan muutoksesta.', + 'log_email' => 'Tallenna lähetetyt sähköpostitapahtumat', + 'log_sms' => 'Tallenna lähetetyt tekstiviestitapahtumat', + 'log_pushover' => 'Tallenna lähetetyt Pushover-tapahtumat', + 'updated' => 'Asetukset tallennettu ja päivitetty.', 'tab_email' => 'Sähköposti', 'tab_sms' => 'Tekstiviesti', 'tab_pushover' => 'Pushover', @@ -229,18 +229,18 @@ $sm_lang = array( 'settings_sms' => 'Tekstiviesti asetukset', 'settings_pushover' => 'Pushover asetukset', 'settings_notification' => 'Ilmoitusasetukset', - 'settings_log' => 'Log settings', - 'auto_refresh' => 'Auto-refresh', + 'settings_log' => 'Tapahtumamerkintöjen asetukset', + 'auto_refresh' => 'Automaattipäivitys', 'auto_refresh_servers' => - 'Auto-refresh servers page.
'. + 'Päivittää automaattisesti palvelimet-sivun.
'. ''. - 'Time in seconds, if 0 the page won\'t refresh.'. + 'Aika sekunteina, jos 0, sivu ei päivity automaattisesti.'. '', 'seconds' => 'sekuntia', 'test' => 'Testi', - '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.', - 'test_pushover' => 'A Pushover notification will be sent to the user key/device specified in your user profile.', + 'test_email' => 'Testisähköposti lähetetään profiilisi sähköpostiosoitteeseen.', + 'test_sms' => 'Testitekstiviesti lähetetään profiilisi numeroon.', + 'test_pushover' => 'Pushover-ilmoitus lähetetään profiilissa asetettuun laitteeseen.', 'send' => 'Lähetä', 'test_subject' => 'Testi', 'test_message' => 'Testiviesti', @@ -248,27 +248,27 @@ $sm_lang = array( 'email_error' => 'Virhe sähköpostin lähetyksessä', 'sms_sent' => 'Tekstiviesti lähetetty', 'sms_error' => 'Virhe tekstiviestin lähetyksessä', - 'sms_error_nomobile' => 'Unable to send test SMS: no valid phone number found in your profile.', + 'sms_error_nomobile' => 'Testitektiviestin lähetys epäonnistui: toimivaa numeroa ei löydetty profiilistasi.', 'pushover_sent' => 'Pushover ilmoitus lähetetty', - 'pushover_error' => 'An error has occurred while sending the Pushover notification: %s', - 'pushover_error_noapp' => 'Unable to send test notification: no Pushover App API token found in the global configuration.', - 'pushover_error_nokey' => 'Unable to send test notification: no Pushover key found in your profile.', - 'log_retention_period' => 'Log retention period', - 'log_retention_period_description' => 'Number of days to keep logs of notifications and archives of server uptime. Enter 0 to disable log cleanup.', + 'pushover_error' => 'Virhe Pushover-ilmoitusta lähetettäessä: %s', + 'pushover_error_noapp' => 'Virhe lähetettäessä Pushover-ilmoitusta: Pushover API-avainta ei löydetty asetuksista.', + 'pushover_error_nokey' => 'Virhe lähetettäessä Pushover-ilmoitusta: Pushover avainta ei löydetty profiilistasi.', + 'log_retention_period' => 'Tapahtumien säilytysaika', + 'log_retention_period_description' => 'Kuinka monta päivää pitää palvelinten päälläoloaikoja ja muita tapahtumia. Aseta arvoksi 0 jos haluat pitää ne loputtomasti.', 'log_retention_days' => 'päivää', ), // for newlines in the email messages use
'notifications' => array( - 'off_sms' => 'Server \'%LABEL%\' is DOWN: ip=%IP%, port=%PORT%. Error=%ERROR%', - 'off_email_subject' => 'IMPORTANT: Server \'%LABEL%\' is DOWN', - 'off_email_body' => "Failed to connect to the following server:

Server: %LABEL%
IP: %IP%
Port: %PORT%
Error: %ERROR%
Date: %DATE%", - 'off_pushover_title' => 'Server \'%LABEL%\' is DOWN', - 'off_pushover_message' => "Failed to connect to the following server:

Server: %LABEL%
IP: %IP%
Port: %PORT%
Error: %ERROR%
Date: %DATE%", - 'on_sms' => 'Server \'%LABEL%\' is RUNNING: ip=%IP%, port=%PORT%', - 'on_email_subject' => 'IMPORTANT: Server \'%LABEL%\' is RUNNING', - 'on_email_body' => "Server '%LABEL%' is running again:

Server: %LABEL%
IP: %IP%
Port: %PORT%
Date: %DATE%", - 'on_pushover_title' => 'Server \'%LABEL%\' is RUNNING', - 'on_pushover_message' => 'Server \'%LABEL%\' is running again:

Server: %LABEL%
IP: %IP%
Port: %PORT%
Date: %DATE%', + 'off_sms' => 'Palvelin \'%LABEL%\' on SAMMUNUT: ip=%IP%, portti=%PORT%. Virhe=%ERROR%', + 'off_email_subject' => 'TÄRKEÄÄ: Palvelin \'%LABEL%\' on SAMMUNUT', + 'off_email_body' => "Virhe yhdistettäessä seuraavaan palvelimeen:

Palvelin: %LABEL%
IP: %IP%
Portti: %PORT%
Virhe: %ERROR%
Aika: %DATE%", + 'off_pushover_title' => 'Palvelin \'%LABEL%\' on sammunut', + 'off_pushover_message' => "Virhe yhdistettäessä seuraavaan palvelimeen:

Palvelin: %LABEL%
IP: %IP%
Portti: %PORT%
Virhe: %ERROR%
Aika: %DATE%", + 'on_sms' => 'Palvelin \'%LABEL%\' on PÄÄLLÄ: ip=%IP%, portti=%PORT%', + 'on_email_subject' => 'TÄRKEÄÄ: Palvelin \'%LABEL%\' on PÄÄLLÄ', + 'on_email_body' => "Palvelin '%LABEL%' on takaisin päällä:

PAlvelin: %LABEL%
IP: %IP%
Portti: %PORT%
Aika: %DATE%", + 'on_pushover_title' => 'Palvelin \'%LABEL%\' on PÄÄLLÄ', + 'on_pushover_message' => 'Server \'%LABEL%\' on takaisin päällä:

Palvelin: %LABEL%
IP: %IP%
Portti: %PORT%
Aika: %DATE%', ), 'login' => array( 'welcome_usermenu' => 'Tervetuloa, %user_name%', From 4bce8e24dd7416aa2cf520808d342b97c5164ff4 Mon Sep 17 00:00:00 2001 From: Sami Nieminen Date: Mon, 8 Jun 2015 12:28:00 +0000 Subject: [PATCH 4/8] Finnish translation done and tested. Feedback appreciated! --- src/lang/fi_FI.lang.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/lang/fi_FI.lang.php b/src/lang/fi_FI.lang.php index c1760b84..8f33870c 100644 --- a/src/lang/fi_FI.lang.php +++ b/src/lang/fi_FI.lang.php @@ -26,7 +26,7 @@ **/ $sm_lang = array( - 'name' => 'Finnish', + 'name' => 'Suomi - Finnish', 'locale' => array('fi_FI.UTF-8', 'fi_FI', 'finnish', 'finnish-fi'), 'system' => array( 'title' => 'Server Monitor', @@ -39,7 +39,7 @@ $sm_lang = array( 'message' => 'Viesti', 'yes' => 'Kyllä', 'no' => 'Ei', - 'insert' => 'Aseta', + 'insert' => 'Asetukset', 'add_new' => 'Lisää uusi', 'update_available' => 'Uusi versio ({version}) on ladattavissa osoitteessa http://www.phpservermonitor.org.', 'back_to_top' => 'Takaisin ylös', @@ -114,7 +114,7 @@ $sm_lang = array( ), 'servers' => array( 'server' => 'Palvelin', - 'status' => 'Tilan', + 'status' => 'Tila', 'label' => 'Nimi', 'domain' => 'Isäntänimi/IP', 'timeout' => 'Aikakatkaisu', @@ -123,11 +123,11 @@ $sm_lang = array( 'type' => 'Tyyppi', 'type_website' => 'Verkkosivu', 'type_service' => 'Palvelu', - 'pattern' => 'Etsi sarja/kuvio', + 'pattern' => 'Etsittävä sarja/kuvio', 'pattern_description' => 'Jos määriteltyä sarjaa ei löydetä verkkosivuilta, palvelin merkitään sammuneeksi. REGEX on sallittua.', 'last_check' => 'Viimeisin tarkistus', 'last_online' => 'Viimeksi nähty', - 'monitoring' => 'Valvonta', + 'monitoring' => 'Valvottava', 'no_monitoring' => 'Ei valvontaa', 'email' => 'Sähköposti', 'send_email' => 'Lähetä sähköposti', @@ -205,7 +205,7 @@ $sm_lang = array( 'pushover_api_token' => 'Pushover API-avain', 'pushover_api_token_description' => 'Ennen kuin voit käyttää Pushoveria, sinun täytyy rekisteröidä sovellus heidän nettisivuillaan, ja kopioida API-avain tänne.', 'alert_type' => 'Valitse milloin haluat ilmoituksia.', - 'alert_type_description' => 'Status change: '. + 'alert_type_description' => 'Tilan muutos: '. 'Saat ilmoituksen kun palvelimen tila vaihtuu. Eli tilasta päällä -> sammunut tai sammunut -> päällä.
'. '
Sammunut: '. 'Saat yhden ilmoituksen kun palvelimen tila vaihtuu sammuneeksi, mutta *VAIN ENSIMMÄISEN KERRAN*. Esimerkiksi, '. @@ -216,7 +216,7 @@ $sm_lang = array( 'alert_type_status' => 'Tilan muutos', 'alert_type_offline' => 'Sammunut', 'alert_type_always' => 'Aina', - 'log_status' => 'Merkitse tapahtumat', + 'log_status' => 'Tallenna tapahtumat', 'log_status_description' => 'Jos arvo on tosi, palvelin tallentaa tapahtumamerkinnän jokaisesta tilan muutoksesta.', 'log_email' => 'Tallenna lähetetyt sähköpostitapahtumat', 'log_sms' => 'Tallenna lähetetyt tekstiviestitapahtumat', From 03617ff58d40b273f23e29ccd609618e495c5a21 Mon Sep 17 00:00:00 2001 From: Sami Nieminen Date: Tue, 9 Jun 2015 06:14:08 +0000 Subject: [PATCH 5/8] Added finnish translation, email messages are in english, as some email clients show finnish letters wrong. --- src/lang/fi_FI.lang.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/lang/fi_FI.lang.php b/src/lang/fi_FI.lang.php index 8f33870c..d0665d0d 100644 --- a/src/lang/fi_FI.lang.php +++ b/src/lang/fi_FI.lang.php @@ -259,16 +259,16 @@ $sm_lang = array( ), // for newlines in the email messages use
'notifications' => array( - 'off_sms' => 'Palvelin \'%LABEL%\' on SAMMUNUT: ip=%IP%, portti=%PORT%. Virhe=%ERROR%', - 'off_email_subject' => 'TÄRKEÄÄ: Palvelin \'%LABEL%\' on SAMMUNUT', - 'off_email_body' => "Virhe yhdistettäessä seuraavaan palvelimeen:

Palvelin: %LABEL%
IP: %IP%
Portti: %PORT%
Virhe: %ERROR%
Aika: %DATE%", - 'off_pushover_title' => 'Palvelin \'%LABEL%\' on sammunut', - 'off_pushover_message' => "Virhe yhdistettäessä seuraavaan palvelimeen:

Palvelin: %LABEL%
IP: %IP%
Portti: %PORT%
Virhe: %ERROR%
Aika: %DATE%", - 'on_sms' => 'Palvelin \'%LABEL%\' on PÄÄLLÄ: ip=%IP%, portti=%PORT%', - 'on_email_subject' => 'TÄRKEÄÄ: Palvelin \'%LABEL%\' on PÄÄLLÄ', - 'on_email_body' => "Palvelin '%LABEL%' on takaisin päällä:

PAlvelin: %LABEL%
IP: %IP%
Portti: %PORT%
Aika: %DATE%", - 'on_pushover_title' => 'Palvelin \'%LABEL%\' on PÄÄLLÄ', - 'on_pushover_message' => 'Server \'%LABEL%\' on takaisin päällä:

Palvelin: %LABEL%
IP: %IP%
Portti: %PORT%
Aika: %DATE%', + 'off_sms' => 'Server \'%LABEL%\' is DOWN: ip=%IP%, port=%PORT%. Error=%ERROR%', + 'off_email_subject' => 'IMPORTANT: Server \'%LABEL%\' is DOWN', + 'off_email_body' => "Failed to connect to the following server:

Server: %LABEL%
IP: %IP%
Port: %PORT%
Error: %ERROR%
Date: %DATE%", + 'off_pushover_title' => 'Server \'%LABEL%\' is DOWN', + 'off_pushover_message' => "Failed to connect to the following server:

Server: %LABEL%
IP: %IP%
Port: %PORT%
Error: %ERROR%
Date: %DATE%", + 'on_sms' => 'Server \'%LABEL%\' is RUNNING: ip=%IP%, port=%PORT%', + 'on_email_subject' => 'IMPORTANT: Server \'%LABEL%\' is RUNNING', + 'on_email_body' => "Server '%LABEL%' is running again:

Server: %LABEL%
IP: %IP%
Port: %PORT%
Date: %DATE%", + 'on_pushover_title' => 'Server \'%LABEL%\' is RUNNING', + 'on_pushover_message' => 'Server \'%LABEL%\' is running again:

Server: %LABEL%
IP: %IP%
Port: %PORT%
Date: %DATE%', ), 'login' => array( 'welcome_usermenu' => 'Tervetuloa, %user_name%', From c0bed021512279f539e2e230d5574e348534d730 Mon Sep 17 00:00:00 2001 From: Sami Nieminen Date: Tue, 16 Jun 2015 07:05:06 +0000 Subject: [PATCH 6/8] Added Chrome mobile statusbar color per material design guidelines --- src/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.html b/src/index.html index 02e60c73..facf4d8a 100644 --- a/src/index.html +++ b/src/index.html @@ -1,6 +1,7 @@ + From 2fcb65036b95f1944e9b2bba4e6076b9d74c9ced Mon Sep 17 00:00:00 2001 From: Sami Nieminen Date: Tue, 16 Jun 2015 07:14:06 +0000 Subject: [PATCH 7/8] Fixed the statusbar color code place --- src/templates/default/main/body.tpl.html | 1 + 1 file changed, 1 insertion(+) diff --git a/src/templates/default/main/body.tpl.html b/src/templates/default/main/body.tpl.html index 8b00ed8e..84a40d2d 100644 --- a/src/templates/default/main/body.tpl.html +++ b/src/templates/default/main/body.tpl.html @@ -7,6 +7,7 @@ + From dbb24dd38e50a847da45152e04993f106d73d70d Mon Sep 17 00:00:00 2001 From: Sami Nieminen Date: Tue, 16 Jun 2015 07:15:40 +0000 Subject: [PATCH 8/8] Fixed the statusbar color code place --- src/index.html | 1 - 1 file changed, 1 deletion(-) diff --git a/src/index.html b/src/index.html index facf4d8a..02e60c73 100644 --- a/src/index.html +++ b/src/index.html @@ -1,7 +1,6 @@ -