diff options
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; |