Translations changed

This commit is contained in:
Arturo Gonzalez 2017-05-29 12:35:31 +02:00
parent 0fe95248c1
commit a1063e9b50
2 changed files with 7 additions and 7 deletions

View File

@ -223,7 +223,7 @@ echo '<div class="login_page">';
$reset_pass_link = 'reset_pass.php'; $reset_pass_link = 'reset_pass.php';
// Reset password link // Reset password link
echo '<div style="width:70%; height:40px; margin-right:auto; margin-left:auto; margin-top:20px; text-align:center;">'; echo '<div style="width:70%; height:40px; margin-right:auto; margin-left:auto; margin-top:20px; text-align:center;">';
echo '<a style="color: white !important;" href="index.php?reset=true&first=true">' . __('Forgotten your password?'); echo '<a style="color: white !important;" href="index.php?reset=true&first=true">' . __('Forgot your password?');
echo '</a>'; echo '</a>';
echo '</div>'; echo '</div>';
} }
@ -286,7 +286,7 @@ if ($process_error_message == '' && $mail != "") {
echo '<div class="content_message_alert">'; echo '<div class="content_message_alert">';
echo '<div class="text_message_alert">'; echo '<div class="text_message_alert">';
echo '<h1>' . __('INFO') . '</h1>'; echo '<h1>' . __('INFO') . '</h1>';
echo '<p>' . __('An email has been sent to the user\'s address') . '</p>'; echo '<p>' . __('An email has been sent to your email address') . '</p>';
echo '</div>'; echo '</div>';
echo '<div class="button_message_alert">'; echo '<div class="button_message_alert">';
html_print_submit_button("Ok", 'reset_correct_button', false); html_print_submit_button("Ok", 'reset_correct_button', false);

View File

@ -621,7 +621,7 @@ if (! isset ($config['id_user'])) {
if (!$check_user) { if (!$check_user) {
$reset = false; $reset = false;
$error = __('User no exists in db'); $error = __('User doesn\'t exist in database');
$show_error = true; $show_error = true;
} }
else { else {
@ -629,7 +629,7 @@ if (! isset ($config['id_user'])) {
if (!$check_mail) { if (!$check_mail) {
$reset = false; $reset = false;
$error = __('User no have any email direction asociated'); $error = __('This user doesn\'t have a valid email address');
$show_error = true; $show_error = true;
} }
else { 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)); $cod_hash = $user_reset_pass . "::::" . md5(rand(10, 1000000) . rand(10, 1000000) . rand(10, 1000000));
$subject = '[Pandora] '.__('Reset password'); $subject = '[Pandora] '.__('Reset password');
$body = __('This is the automatic message to the user'); $body = __('This is an automatically sent message for user ');
$body .= ' "<strong>' . $user_reset_pass . '"</strong>'; $body .= ' "<strong>' . $user_reset_pass . '"</strong>';
$body .= '<p />'; $body .= '<p />';
$body .= __('Please, click in the link below to reset your password'); $body .= __('Please click the link below to reset your password');
$body .= '<p />'; $body .= '<p />';
$body .= '<a href="' . $config['homeurl'] . 'index.php?reset_hash=' . $cod_hash . '">' . __('Reset your password') . '</a>'; $body .= '<a href="' . $config['homeurl'] . 'index.php?reset_hash=' . $cod_hash . '">' . __('Reset your password') . '</a>';
$body .= '<p />'; $body .= '<p />';
$body .= 'Pandora FMS'; $body .= 'Pandora FMS';
$body .= '<p />'; $body .= '<p />';
$body .= '<em>'.__('Please do not answer or reply to this email').'</em>'; $body .= '<em>'.__('Please do not reply to this email.').'</em>';
$result = send_email_to_user($mail, $body, $subject); $result = send_email_to_user($mail, $body, $subject);