We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
When i try to translate the error message i get errors. How would i accomplish this.
<?php return [ /* |-------------------------------------------------------------------------- | Laratrust Middleware |-------------------------------------------------------------------------- | | This configuration helps to customize the Laratrust middleware behavior. | */ 'middleware' => [ 'register' => true, 'handling' => 'abort', 'handlers' => [ 'abort' => [ 'code' => 403, 'message' => '', // Translation functions do not work in the configuration files. ], 'redirect' => [ 'url' => '/home', 'message' => [ 'key' => 'error', 'content' => '', ] ] ] ], ]; ?>
The text was updated successfully, but these errors were encountered:
I think you need to make a publishable language file for this package. In Laravel translation of texts should not be done in the configuration files.
Sorry, something went wrong.
It will be fixed by #650
No branches or pull requests
When i try to translate the error message i get errors. How would i accomplish this.
The text was updated successfully, but these errors were encountered: