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/facades | |
parent | 83efd023c884adfa54a308825beaff264e67fac1 (diff) |
* i18nized texts
Diffstat (limited to 'app/php/facades')
-rw-r--r-- | app/php/facades/UserFacade.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/php/facades/UserFacade.php b/app/php/facades/UserFacade.php index 3fbd62d..1604a70 100644 --- a/app/php/facades/UserFacade.php +++ b/app/php/facades/UserFacade.php @@ -55,7 +55,9 @@ class UserFacade extends Facade { public function setTimezonePreference(DbUser $user, string $timezone) { if ($user->IsGuest) { throw new TInvalidDataException( - 'Timezone preference change impossible for guest user' + Prado::localize( + 'Timezone preference change impossible for guest user' + ) ); } $user->DbRecord->Timezone = $timezone; |