From 5d0cd43954513295c813d3557e8cc6d83ba4a134 Mon Sep 17 00:00:00 2001 From: emkael Date: Tue, 7 Jun 2016 15:06:56 +0200 Subject: * i18nized texts --- app/php/controls/PasswordChange.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app/php/controls/PasswordChange.php') 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); -- cgit v1.2.3