A free open source IT asset/license management system
Fixes #14968 - translate forbidden page
snipeadee99db3494
diff --git a/resources/lang/en-US/general.php b/resources/lang/en-US/general.phpindex 85f2ba8cf7..5b1d0e9b3c 100644--- a/resources/lang/en-US/general.php+++ b/resources/lang/en-US/general.php@@ -528,6 +528,7 @@ return ['permission_denied_superuser_demo' => 'Permission denied. You cannot update user information for superadmins on the demo.','pwd_reset_not_sent' => 'User is not activated, is LDAP synced, or does not have an email address','error_sending_email' => 'Error sending email',+ 'sad_panda' => 'Sad panda. You are not authorized to do the thing. Maybe <a href=":link">return to the dashboard</a>, or contact your administrator.','bulk' => ['delete' =>[diff --git a/resources/views/errors/403.blade.php b/resources/views/errors/403.blade.phpindex d7405ba0f6..e2a8642ca6 100644--- a/resources/views/errors/403.blade.php+++ b/resources/views/errors/403.blade.php@@ -20,7 +20,7 @@<div class="error-content"><h2><i class="fas fa-exclamation-triangle text-yellow"></i> 403 Forbidden.</h2><p>- Sad panda. You are not authorized to do the thing. Maybe <a href="{{ config('app.url') }}">return to the dashboard</a>, or contact your administrator.+ {!! trans('general.sad_panda', ['link' => config('app.url')]) !!}</p></div>