Fixes #14968 - translate forbidden page

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-06-26 11:21:56 +01:00
parent bca6dd41d2
commit adee99db34
2 changed files with 2 additions and 1 deletions

View file

@ -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' =>
[

View file

@ -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>