diff options
author | emkael <emkael@tlen.pl> | 2016-06-07 15:06:56 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2016-06-10 11:46:37 +0200 |
commit | 5d0cd43954513295c813d3557e8cc6d83ba4a134 (patch) | |
tree | 36e11d67f6f0d2bf368b2997cb93f76d849a8071 /app/php/controls/PasswordChange.php | |
parent | 83efd023c884adfa54a308825beaff264e67fac1 (diff) |
* i18nized texts
Diffstat (limited to 'app/php/controls/PasswordChange.php')
-rw-r--r-- | app/php/controls/PasswordChange.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/php/controls/PasswordChange.php b/app/php/controls/PasswordChange.php index 0f0300c..45ce656 100644 --- a/app/php/controls/PasswordChange.php +++ b/app/php/controls/PasswordChange.php @@ -14,7 +14,9 @@ class PasswordChange extends FacadeTemplateControl { public function setUserToChange(DbUser $user) { if ($user->IsGuest && !$this->Page->IsCallBack) { throw new TInvalidDataValueException( - 'Password change impossible for guest user' + Prado::localize( + 'Password change impossible for guest user' + ) ); } $this->setControlState('user', $user); |