Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #14968 - translate forbidden page #14971

Merged
merged 1 commit into from
Jun 26, 2024

Conversation

snipe
Copy link
Owner

@snipe snipe commented Jun 26, 2024

This makes the forbidden page translatable into other languages.

Copy link

what-the-diff bot commented Jun 26, 2024

PR Summary

  • Introduction of a New Translation String
    The general.php file located within the en-US language resources, now includes a new translation string referenced as sad_panda. The actual text for this translation reads, 'Sad panda. You are not authorized to do the thing. Maybe <a href=":link">return to the dashboard</a>, or contact your administrator.'.

  • Updated Unauthorized Access Message
    In the 403.blade.php error file, the static text message for unauthorized access has been replaced. It now uses the newly introduced sad_panda translation string. This enhancement allows the application to dynamically present the unauthorized access message in different languages.

@snipe snipe merged commit e905550 into develop Jun 26, 2024
8 of 9 checks passed
@snipe snipe deleted the fixes/updated_translation_string branch June 26, 2024 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant