summaryrefslogtreecommitdiff
path: root/app/php/controls/PasswordChange.php
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-06-07 15:06:56 +0200
committeremkael <emkael@tlen.pl>2016-06-10 11:46:37 +0200
commit5d0cd43954513295c813d3557e8cc6d83ba4a134 (patch)
tree36e11d67f6f0d2bf368b2997cb93f76d849a8071 /app/php/controls/PasswordChange.php
parent83efd023c884adfa54a308825beaff264e67fac1 (diff)
* i18nized texts
Diffstat (limited to 'app/php/controls/PasswordChange.php')
-rw-r--r--app/php/controls/PasswordChange.php4
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);