X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fpasswordsettings.php;h=46d95efcbe0596940b031543880d0f5af566816f;hb=a159352b6553cf69420739f237a7dbfaf4bc865a;hp=3bb8e3bb9f9d1e6fedf058c27c8e2ceb4877e9b6;hpb=a3a2168292855ce99246b6244084be58552e8172;p=quix0rs-gnu-social.git diff --git a/actions/passwordsettings.php b/actions/passwordsettings.php index 3bb8e3bb9f..46d95efcbe 100644 --- a/actions/passwordsettings.php +++ b/actions/passwordsettings.php @@ -106,11 +106,11 @@ class PasswordsettingsAction extends AccountSettingsAction } $this->elementStart('li'); $this->password('newpassword', _('New password'), - _('6 or more characters')); + _('6 or more characters.')); $this->elementEnd('li'); $this->elementStart('li'); $this->password('confirm', _('Confirm'), - _('Same as password above')); + _('Same as password above.')); $this->elementEnd('li'); $this->elementEnd('ul'); @@ -128,7 +128,6 @@ class PasswordsettingsAction extends AccountSettingsAction * * @return void */ - function handlePost() { // CSRF protection @@ -183,7 +182,7 @@ class PasswordsettingsAction extends AccountSettingsAction } if (!$user->update($original)) { - $this->serverError(_('Can\'t save new password.')); + $this->serverError(_('Cannot save new password.')); return; } Event::handle('EndChangePassword', array($user));