2014-01-07 20:24:48 +01:00
< ? php
2014-01-07 23:32:57 +01:00
/**
* PHP Server Monitor
* Monitor your servers and websites .
2014-01-07 20:24:48 +01:00
*
* This file is part of PHP Server Monitor .
* PHP Server Monitor is free software : you can redistribute it and / or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation , either version 3 of the License , or
* ( at your option ) any later version .
*
* PHP Server Monitor is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU General Public License for more details .
*
* You should have received a copy of the GNU General Public License
* along with PHP Server Monitor . If not , see < http :// www . gnu . org / licenses />.
2014-01-07 23:32:57 +01:00
*
* @ package phpservermon
* @ author Pepijn Over < pep @ neanderthal - technology . com >
* @ copyright Copyright ( c ) 2008 - 2014 Pepijn Over < pep @ neanderthal - technology . com >
* @ license http :// www . gnu . org / licenses / gpl . txt GNU GPL v3
* @ version Release : @ package_version @
2014-02-10 23:48:43 +01:00
* @ link http :// www . phpservermonitor . org /
2014-01-07 23:32:57 +01:00
**/
2014-01-07 20:24:48 +01:00
$sm_lang = array (
2014-03-25 23:53:21 +01:00
'name' => 'English' ,
2014-04-03 01:14:28 +02:00
'locale' => array ( 'en_US.UTF-8' , 'en_US' , 'american' , 'english-us' ),
2014-01-07 20:24:48 +01:00
'system' => array (
'title' => 'Server Monitor' ,
2014-02-08 18:40:22 +01:00
'install' => 'Install' ,
2014-01-07 20:24:48 +01:00
'action' => 'Action' ,
'save' => 'Save' ,
'edit' => 'Edit' ,
'delete' => 'Delete' ,
'date' => 'Date' ,
'message' => 'Message' ,
'yes' => 'Yes' ,
'no' => 'No' ,
'insert' => 'Insert' ,
2014-03-28 17:00:23 +01:00
'add_new' => 'Add new' ,
2014-03-31 22:03:12 +02:00
'update_available' => 'A new version ({version}) is available from <a href="http://www.phpservermonitor.org" target="_blank">http://www.phpservermonitor.org</a>.' ,
2014-01-10 13:09:12 +01:00
'back_to_top' => 'Back to top' ,
2014-03-14 15:24:03 +01:00
'go_back' => 'Go back' ,
2014-04-13 02:46:31 +02:00
'ok' => 'OK' ,
'cancel' => 'Cancel' ,
2014-03-27 22:31:39 +01:00
// date/time format according the strftime php function format parameter http://php.net/manual/function.strftime.php
'short_day_format' => '%B %e' ,
2014-03-25 23:53:21 +01:00
'long_day_format' => '%B %e, %Y' ,
2014-03-27 22:31:39 +01:00
'yesterday_format' => 'Yesterday at %k:%M' ,
'other_day_format' => '%A at %k:%M' ,
2014-03-25 23:53:21 +01:00
'never' => 'Never' ,
'hours_ago' => '%d hours ago' ,
'an_hour_ago' => 'about an hour ago' ,
'minutes_ago' => '%d minutes ago' ,
'a_minute_ago' => 'about a minute ago' ,
'seconds_ago' => '%d seconds ago' ,
'a_second_ago' => 'a second ago' ,
2014-01-07 20:24:48 +01:00
),
2014-03-15 00:35:35 +01:00
'menu' => array (
'config' => 'Config' ,
'server' => 'Servers' ,
'server_log' => 'Log' ,
'server_status' => 'Status' ,
'server_update' => 'Update' ,
'user' => 'Users' ,
'help' => 'Help' ,
),
2014-01-07 20:24:48 +01:00
'users' => array (
2014-04-18 01:42:26 +02:00
'user' => 'User' ,
2014-01-07 20:24:48 +01:00
'name' => 'Name' ,
2014-03-14 15:24:03 +01:00
'user_name' => 'Username' ,
'password' => 'Password' ,
'password_repeat' => 'Password repeat' ,
'password_leave_blank' => 'Leave blank to keep unchanged' ,
'level' => 'Level' ,
'level_10' => 'Administrator' ,
'level_20' => 'User' ,
2014-03-18 23:19:32 +01:00
'level_description' => '<b>Administrators</b> have full access: they can manage servers, users and edit the global configuration.<br/><b>Users</b> can only view and run the updater for the servers that have been assigned to them.' ,
2014-01-07 20:24:48 +01:00
'mobile' => 'Mobile' ,
'email' => 'Email' ,
2014-06-13 17:34:09 +02:00
'pushover' => 'Pushover' ,
2014-07-31 14:37:27 +02:00
'pushover_description' => 'Pushover is a service that makes it easy to get real-time notifications. See <a href="https://pushover.net/">their website</a> for more info.' ,
2014-06-13 17:34:09 +02:00
'pushover_key' => 'Pushover Key' ,
'pushover_device' => 'Pushover Device' ,
2014-07-31 14:37:27 +02:00
'pushover_device_description' => 'Device name to send the message to. Leave empty to send it to all devices.' ,
2014-04-13 02:46:31 +02:00
'delete_title' => 'Delete User' ,
'delete_message' => 'Are you sure you want to delete user \'%1\'?' ,
'deleted' => 'User deleted.' ,
2014-01-07 20:24:48 +01:00
'updated' => 'User updated.' ,
'inserted' => 'User added.' ,
2014-03-15 21:47:55 +01:00
'profile' => 'Profile' ,
'profile_updated' => 'Your profile has been updated.' ,
2014-03-14 15:24:03 +01:00
'error_user_name_bad_length' => 'Usernames must be between 2 and 64 characters.' ,
2014-03-15 21:47:55 +01:00
'error_user_name_invalid' => 'The username may only contain alphabetic characters (a-z, A-Z), digits (0-9) and underscores (_).' ,
2014-03-14 15:24:03 +01:00
'error_user_name_exists' => 'The given username already exists in the database.' ,
'error_user_email_bad_length' => 'Email addresses must be between 5 and 255 characters.' ,
'error_user_email_invalid' => 'The email address is invalid.' ,
'error_user_level_invalid' => 'The given user level is invalid.' ,
'error_user_no_match' => 'The user could not be found in the database.' ,
'error_user_password_invalid' => 'The entered password is invalid.' ,
'error_user_password_no_match' => 'The entered passwords do not match.' ,
2014-01-07 20:24:48 +01:00
),
'log' => array (
'title' => 'Log entries' ,
'type' => 'Type' ,
2014-01-10 12:45:20 +01:00
'status' => 'Status' ,
'email' => 'Email' ,
'sms' => 'SMS' ,
2014-06-13 17:34:09 +02:00
'pushover' => 'Pushover' ,
2014-04-19 15:21:36 +02:00
'no_logs' => 'No logs' ,
2014-01-07 20:24:48 +01:00
),
'servers' => array (
'server' => 'Server' ,
2014-04-14 01:59:45 +02:00
'status' => 'Status' ,
2014-01-07 20:24:48 +01:00
'label' => 'Label' ,
'domain' => 'Domain/IP' ,
2014-06-27 14:26:26 +02:00
'timeout' => 'Timeout' ,
2014-07-28 11:10:23 +02:00
'timeout_description' => 'Number of seconds to wait for the server to respond.' ,
2014-01-07 20:24:48 +01:00
'port' => 'Port' ,
'type' => 'Type' ,
2014-03-25 23:53:21 +01:00
'type_website' => 'Website' ,
'type_service' => 'Service' ,
2014-02-08 20:14:49 +01:00
'pattern' => 'Search string/pattern' ,
2014-03-21 16:38:48 +01:00
'pattern_description' => 'If this pattern is not found on the website, the server will be marked offline. Regular expressions are allowed.' ,
2014-01-07 20:24:48 +01:00
'last_check' => 'Last check' ,
'last_online' => 'Last online' ,
'monitoring' => 'Monitoring' ,
2014-04-12 17:06:16 +02:00
'no_monitoring' => 'No monitoring' ,
2014-04-12 13:41:32 +02:00
'email' => 'Email' ,
2014-01-07 20:24:48 +01:00
'send_email' => 'Send Email' ,
2014-04-12 13:41:32 +02:00
'sms' => 'SMS' ,
2014-01-07 20:24:48 +01:00
'send_sms' => 'Send SMS' ,
2014-07-31 12:11:32 +02:00
'pushover' => 'Pushover' ,
2014-07-30 14:30:41 +02:00
'users' => 'Users' ,
'delete_title' => 'Delete server' ,
2014-04-13 02:46:31 +02:00
'delete_message' => 'Are you sure you want to delete server \'%1\'?' ,
'deleted' => 'Server deleted.' ,
2014-01-07 20:24:48 +01:00
'updated' => 'Server updated.' ,
'inserted' => 'Server added.' ,
2014-03-30 03:48:48 +02:00
'latency' => 'Latency' ,
'latency_max' => 'Latency (maximum)' ,
'latency_min' => 'Latency (minimum)' ,
'latency_avg' => 'Latency (average)' ,
2014-04-13 23:44:20 +02:00
'uptime' => 'Uptime' ,
2014-03-30 03:48:48 +02:00
'year' => 'Year' ,
2014-03-24 02:29:22 +01:00
'month' => 'Month' ,
'week' => 'Week' ,
'day' => 'Day' ,
'hour' => 'Hour' ,
2014-03-21 16:38:48 +01:00
'warning_threshold' => 'Warning threshold' ,
'warning_threshold_description' => 'Number of failed checks required before it is marked offline.' ,
2014-03-30 03:48:48 +02:00
'chart_last_week' => 'Last week' ,
'chart_history' => 'History' ,
2014-03-24 21:18:53 +01:00
// Charts date format according jqPlot date format http://www.jqplot.com/docs/files/plugins/jqplot-dateAxisRenderer-js.html
2014-03-30 03:48:48 +02:00
'chart_day_format' => '%Y-%m-%d' ,
2014-03-24 21:18:53 +01:00
'chart_long_date_format' => '%Y-%m-%d %H:%M:%S' ,
'chart_short_date_format' => '%m/%d %H:%M' ,
'chart_short_time_format' => '%H:%M' ,
2014-08-01 15:04:36 +02:00
'warning_notifications_disabled_sms' => 'SMS notifications are disabled.' ,
'warning_notifications_disabled_email' => 'Email notifications are disabled.' ,
'warning_notifications_disabled_pushover' => 'Pushover notifications are disabled.' ,
2014-05-06 16:56:46 +02:00
'error_server_no_match' => 'Server not found.' ,
'error_server_label_bad_length' => 'The label must be between 1 and 255 characters.' ,
'error_server_ip_bad_length' => 'The domain / IP must be between 1 and 255 characters.' ,
'error_server_ip_bad_service' => 'The IP address is not valid.' ,
'error_server_ip_bad_website' => 'The website URL is not valid.' ,
'error_server_type_invalid' => 'The selected server type is invalid.' ,
'error_server_warning_threshold_invalid' => 'The warning threshold must be a valid integer greater than 0.' ,
2014-01-07 20:24:48 +01:00
),
'config' => array (
'general' => 'General' ,
'language' => 'Language' ,
2014-08-06 10:21:08 +02:00
'show_update' => 'Check for updates?' ,
2014-04-09 02:19:09 +02:00
'email_status' => 'Allow sending email' ,
2014-01-07 20:24:48 +01:00
'email_from_email' => 'Email from address' ,
'email_from_name' => 'Email from name' ,
2014-02-11 18:16:00 +01:00
'email_smtp' => 'Enable SMTP' ,
'email_smtp_host' => 'SMTP host' ,
'email_smtp_port' => 'SMTP port' ,
2014-11-06 14:29:11 +01:00
'email_smtp_security' => 'SMTP security' ,
'email_smtp_security_none' => 'None' ,
2014-02-11 18:16:00 +01:00
'email_smtp_username' => 'SMTP username' ,
'email_smtp_password' => 'SMTP password' ,
'email_smtp_noauth' => 'Leave blank for no authentication' ,
2014-04-09 15:10:07 +02:00
'sms_status' => 'Allow sending text messages' ,
2014-01-07 20:24:48 +01:00
'sms_gateway' => 'Gateway to use for sending messages' ,
2014-01-10 11:32:15 +01:00
'sms_gateway_mosms' => 'Mosms' ,
2014-01-07 20:24:48 +01:00
'sms_gateway_mollie' => 'Mollie' ,
'sms_gateway_spryng' => 'Spryng' ,
'sms_gateway_inetworx' => 'Inetworx' ,
2014-01-07 20:27:21 +01:00
'sms_gateway_clickatell' => 'Clickatell' ,
2014-01-12 06:19:14 +01:00
'sms_gateway_textmarketer' => 'Textmarketer' ,
2014-07-05 09:28:02 +02:00
'sms_gateway_smsglobal' => 'SMSGlobal' ,
2014-04-24 08:59:12 +02:00
'sms_gateway_smsit' => 'Smsit' ,
2014-12-11 13:16:06 +01:00
'sms_gateway_freevoipdeal' => 'FreeVoipDeal' ,
2014-01-07 20:24:48 +01:00
'sms_gateway_username' => 'Gateway username' ,
'sms_gateway_password' => 'Gateway password' ,
'sms_from' => 'Sender\'s phone number' ,
2014-07-31 16:08:26 +02:00
'pushover_status' => 'Allow sending Pushover messages' ,
'pushover_description' => 'Pushover is a service that makes it easy to get real-time notifications. See <a href="https://pushover.net/">their website</a> for more info.' ,
2014-08-05 15:49:17 +02:00
'pushover_clone_app' => 'Click here to create your Pushover app' ,
2014-06-13 17:34:09 +02:00
'pushover_api_token' => 'Pushover App API Token' ,
2014-08-05 15:49:17 +02:00
'pushover_api_token_description' => 'Before you can use Pushover, you need to <a href="%1$s" target="_blank">register an App</a> at their website and enter the App API Token here.' ,
2014-08-01 16:40:20 +02:00
'alert_type' => 'Select when you\'d like to be notified.' ,
2014-01-10 11:03:07 +01:00
'alert_type_description' => '<b>Status change:</b> ' .
'You will receive a notifcation when a server has a change in status. So from online -> offline or offline -> online.<br/>' .
'<br /><b>Offline:</b> ' .
'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.<br/>' .
'<br><b>Always:</b> ' .
2014-07-31 12:11:32 +02:00
'You will receive a notification every time the script runs and a site is down, even if the site has been offline for hours.' ,
2014-01-07 20:24:48 +01:00
'alert_type_status' => 'Status change' ,
'alert_type_offline' => 'Offline' ,
'alert_type_always' => 'Always' ,
2014-04-09 15:10:07 +02:00
'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' ,
2014-06-13 17:34:09 +02:00
'log_pushover' => 'Log pushover messages sent by the script' ,
2014-01-07 20:24:48 +01:00
'updated' => 'The configuration has been updated.' ,
2014-04-09 02:19:09 +02:00
'tab_email' => 'Email' ,
'tab_sms' => 'SMS' ,
2014-06-13 17:34:09 +02:00
'tab_pushover' => 'Pushover' ,
2014-01-07 20:24:48 +01:00
'settings_email' => 'Email settings' ,
'settings_sms' => 'Text message settings' ,
2014-06-13 17:34:09 +02:00
'settings_pushover' => 'Pushover settings' ,
2014-01-07 20:24:48 +01:00
'settings_notification' => 'Notification settings' ,
'settings_log' => 'Log settings' ,
2014-04-09 15:10:07 +02:00
'auto_refresh' => 'Auto-refresh' ,
2014-01-07 20:27:21 +01:00
'auto_refresh_servers' =>
2014-04-09 15:10:07 +02:00
'Auto-refresh servers page.<br/>' .
'<span class="small">' .
2014-01-07 20:27:21 +01:00
'Time in seconds, if 0 the page won\'t refresh.' .
2014-04-09 15:10:07 +02:00
'</span>' ,
'seconds' => 'seconds' ,
2014-04-23 16:09:45 +02:00
'test' => 'Test' ,
'test_email' => 'An email will be sent to the address specified in your user profile.' ,
2014-04-25 00:28:55 +02:00
'test_sms' => 'An SMS will be sent to the phone number specified in your user profile.' ,
2014-07-31 16:08:26 +02:00
'test_pushover' => 'A Pushover notification will be sent to the user key/device specified in your user profile.' ,
2014-04-23 16:09:45 +02:00
'send' => 'Send' ,
2014-07-31 16:08:26 +02:00
'test_subject' => 'Test' ,
2014-04-23 16:09:45 +02:00
'test_message' => 'Test message' ,
'email_sent' => 'Email sent' ,
'email_error' => 'Error in email sending' ,
'sms_sent' => 'Sms sent' ,
'sms_error' => 'Error in sms sending' ,
2014-07-28 09:46:48 +02:00
'sms_error_nomobile' => 'Unable to send test SMS: no valid phone number found in your profile.' ,
2014-07-31 16:08:26 +02:00
'pushover_sent' => 'Pushover notification sent' ,
'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.' ,
2014-08-06 10:21:08 +02:00
'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' => 'days' ,
2014-01-07 20:24:48 +01:00
),
// for newlines in the email messages use <br/>
'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:<br/><br/>Server: %LABEL%<br/>IP: %IP%<br/>Port: %PORT%<br/>Error: %ERROR%<br/>Date: %DATE% " ,
2014-07-31 12:11:32 +02:00
'off_pushover_title' => 'Server \'%LABEL%\' is DOWN' ,
'off_pushover_message' => " Failed to connect to the following server:<br/><br/>Server: %LABEL%<br/>IP: %IP%<br/>Port: %PORT%<br/>Error: %ERROR%<br/>Date: %DATE% " ,
2014-01-07 20:24:48 +01:00
'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:<br/><br/>Server: %LABEL%<br/>IP: %IP%<br/>Port: %PORT%<br/>Date: %DATE% " ,
2014-07-31 12:11:32 +02:00
'on_pushover_title' => 'Server \'%LABEL%\' is RUNNING' ,
'on_pushover_message' => 'Server \'%LABEL%\' is running again:<br/><br/>Server: %LABEL%<br/>IP: %IP%<br/>Port: %PORT%<br/>Date: %DATE%' ,
2014-01-07 20:24:48 +01:00
),
2014-03-14 15:24:03 +01:00
'login' => array (
'welcome_usermenu' => 'Welcome, %user_name%' ,
'title_sign_in' => 'Please sign in' ,
'title_forgot' => 'Forgot your password?' ,
'title_reset' => 'Reset your password' ,
'submit' => 'Submit' ,
'remember_me' => 'Remember me' ,
'login' => 'Login' ,
'logout' => 'Logout' ,
'username' => 'Username' ,
'password' => 'Password' ,
'password_repeat' => 'Repeat password' ,
'password_forgot' => 'Forgot password?' ,
'password_reset' => 'Reset password' ,
'password_reset_email_subject' => 'Reset your password for PHP Server Monitor' ,
'password_reset_email_body' => 'Please use the following link to reset your password. Please note it expires in 1 hour.<br/><br/>%link%' ,
'error_user_incorrect' => 'The provided username could not be found.' ,
'error_login_incorrect' => 'The information is incorrect.' ,
'error_login_passwords_nomatch' => 'The provided passwords do not match.' ,
'error_reset_invalid_link' => 'The reset link you provided is invalid.' ,
'success_password_forgot' => 'An email has been sent to you with information how to reset your password.' ,
'success_password_reset' => 'Your password has been reset successfully. Please login.' ,
),
2014-07-30 13:47:06 +02:00
'error' => array (
'401_unauthorized' => 'Unauthorized' ,
'401_unauthorized_description' => 'You do not have the privileges to view this page.' ,
),
2014-01-07 20:24:48 +01:00
);