fixes #487 replace "Invalid password" by "Invalid username or password" (#489)

* fixes #487 replace "Invalid password" by "Invalid username or password"

* missing space before exclamation mark
This commit is contained in:
jeremydurand 2016-05-30 14:35:24 +02:00 committed by Pierrick Le Gall
parent bd0d2ae645
commit 022bfd2493
3 changed files with 7 additions and 5 deletions

View file

@ -65,7 +65,7 @@ if (isset($_POST['login']))
}
else
{
$page['errors'][] = l10n('Invalid password!');
$page['errors'][] = l10n('Invalid username or password!');
}
}
}

View file

@ -426,4 +426,5 @@ $lang['Album name, A → Z'] = 'Album name, A → Z';
$lang['Album name, Z → A'] = 'Album name, Z → A';
$lang['Link: %s'] = 'Link: %s';
$lang['Your authentication key is no longer valid.'] = 'Your authentication key is no longer valid.';
$lang['Invalid username or password!'] = 'Invalid username or password!';
?>

View file

@ -426,3 +426,4 @@ $lang['Album name, A → Z'] = 'Nom de l\'album, A → Z';
$lang['Album name, Z → A'] = 'Nom de l\'album, Z → A';
$lang['Link: %s'] = 'Lien: %s';
$lang['Your authentication key is no longer valid.'] = 'Votre clef d\'identification n\'est plus valide.';
$lang['Invalid username or password!'] = 'Nom d\'utilisateur ou mot de passe invalide !';