From a1063e9b50f3b3f2c4d6dee91d1933dc2932f5b4 Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Date: Mon, 29 May 2017 12:35:31 +0200 Subject: [PATCH] Translations changed --- pandora_console/general/login_page.php | 4 ++-- pandora_console/index.php | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pandora_console/general/login_page.php b/pandora_console/general/login_page.php index 4f75cfab98..4ae9b6828f 100755 --- a/pandora_console/general/login_page.php +++ b/pandora_console/general/login_page.php @@ -223,7 +223,7 @@ echo '
'; $reset_pass_link = 'reset_pass.php'; // Reset password link echo '
'; - echo '' . __('Forgotten your password?'); + echo '' . __('Forgot your password?'); echo ''; echo '
'; } @@ -286,7 +286,7 @@ if ($process_error_message == '' && $mail != "") { echo '
'; echo '
'; echo '

' . __('INFO') . '

'; - echo '

' . __('An email has been sent to the user\'s address') . '

'; + echo '

' . __('An email has been sent to your email address') . '

'; echo '
'; echo '
'; html_print_submit_button("Ok", 'reset_correct_button', false); diff --git a/pandora_console/index.php b/pandora_console/index.php index 70c80eb27c..79aaca3ffb 100755 --- a/pandora_console/index.php +++ b/pandora_console/index.php @@ -621,7 +621,7 @@ if (! isset ($config['id_user'])) { if (!$check_user) { $reset = false; - $error = __('User no exists in db'); + $error = __('User doesn\'t exist in database'); $show_error = true; } else { @@ -629,7 +629,7 @@ if (! isset ($config['id_user'])) { if (!$check_mail) { $reset = false; - $error = __('User no have any email direction asociated'); + $error = __('This user doesn\'t have a valid email address'); $show_error = true; } else { @@ -648,16 +648,16 @@ if (! isset ($config['id_user'])) { $cod_hash = $user_reset_pass . "::::" . md5(rand(10, 1000000) . rand(10, 1000000) . rand(10, 1000000)); $subject = '[Pandora] '.__('Reset password'); - $body = __('This is the automatic message to the user'); + $body = __('This is an automatically sent message for user '); $body .= ' "' . $user_reset_pass . '"'; $body .= '

'; - $body .= __('Please, click in the link below to reset your password'); + $body .= __('Please click the link below to reset your password'); $body .= '

'; $body .= '' . __('Reset your password') . ''; $body .= '

'; $body .= 'Pandora FMS'; $body .= '

'; - $body .= ''.__('Please do not answer or reply to this email').''; + $body .= ''.__('Please do not reply to this email.').''; $result = send_email_to_user($mail, $body, $subject);