diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2011-10-14 16:23:16 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2011-11-14 18:54:12 +0100 |
commit | 14af18cb1b81e5dcee70c9eccb35d19f17af6948 (patch) | |
tree | 4377c16a56e77a85ef233664db4931277dad6410 /phpBB/language | |
parent | 86f8851c403bb9f31b43a9656e844e5c925da19a (diff) | |
download | forums-14af18cb1b81e5dcee70c9eccb35d19f17af6948.tar forums-14af18cb1b81e5dcee70c9eccb35d19f17af6948.tar.gz forums-14af18cb1b81e5dcee70c9eccb35d19f17af6948.tar.bz2 forums-14af18cb1b81e5dcee70c9eccb35d19f17af6948.tar.xz forums-14af18cb1b81e5dcee70c9eccb35d19f17af6948.zip |
[ticket/9361] View correct error messages when editing account information
Currently the "current password" is only checked, when you change something.
This means you get "Your profile has been updated." although you enter a wrong
password. I also added proper error messages, when you leave the confirm fields
empty, and sorted them in the order of the field appearances on the html page.
PHPBB3-9361
Diffstat (limited to 'phpBB/language')
-rw-r--r-- | phpBB/language/en/ucp.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/language/en/ucp.php b/phpBB/language/en/ucp.php index c1e3c06c43..3ebc863447 100644 --- a/phpBB/language/en/ucp.php +++ b/phpBB/language/en/ucp.php @@ -138,6 +138,7 @@ $lang = array_merge($lang, array( 'CURRENT_IMAGE' => 'Current image', 'CURRENT_PASSWORD' => 'Current password', 'CURRENT_PASSWORD_EXPLAIN' => 'You must confirm your current password if you wish to change it, alter your e-mail address or username.', + 'CUR_PASSWORD_EMPTY' => 'You did not enter your current password.', 'CUR_PASSWORD_ERROR' => 'The current password you entered is incorrect.', 'CUSTOM_DATEFORMAT' => 'Custom…', @@ -268,9 +269,11 @@ $lang = array_merge($lang, array( 'MOVE_TO_FOLDER' => 'Move to folder', 'MOVE_UP' => 'Move up', + 'NEW_EMAIL_CONFIRM_EMPTY' => 'You did not enter a confirm e-mail address.', 'NEW_EMAIL_ERROR' => 'The e-mail addresses you entered do not match.', 'NEW_FOLDER_NAME' => 'New folder name', 'NEW_PASSWORD' => 'New password', + 'NEW_PASSWORD_CONFIRM_EMPTY' => 'You did not enter a confirm password.', 'NEW_PASSWORD_ERROR' => 'The passwords you entered do not match.', 'NOTIFY_METHOD' => 'Notification method', 'NOTIFY_METHOD_BOTH' => 'Both', |