diff options
Diffstat (limited to 'app/php/controls/TimezoneSelect.php')
| -rw-r--r-- | app/php/controls/TimezoneSelect.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/php/controls/TimezoneSelect.php b/app/php/controls/TimezoneSelect.php index 7ef30cb..25af453 100644 --- a/app/php/controls/TimezoneSelect.php +++ b/app/php/controls/TimezoneSelect.php @@ -16,7 +16,9 @@ class TimezoneSelect extends FacadeTemplateControl { public function setUserToChange(DbUser $user) { if ($user->IsGuest && !$this->Page->IsCallBack) { throw new TInvalidDataValueException( - 'Timezone preference change impossible for guest user' + Prado::localize( + 'Timezone preference change impossible for guest user' + ) ); } $this->setControlState('user', $user); |
