Skip to content
This repository was archived by the owner on Jun 22, 2020. It is now read-only.
This repository was archived by the owner on Jun 22, 2020. It is now read-only.

Hard-Code error message in errors view #23

@NeverBehave

Description

@NeverBehave

@wsjnohyeah Please don't hard code the error message in the error pages.
You can use {{ trans('messages.welcome') }} or @lang('messages.welcome') function if you need to insert a fixed message in the view.

You can check out the documentation here if you need some example, or you can check out the history version of 404.blade.php.

I have written some of the error messages so please follow the instruction XD, we need a Chinese version at the I18n Day.

NEXT TIME PLEASE READ AND FOLLOW THE EXISTING CODES:
IT IS ALSO AN IMPORTANT SKILL TO READ OTHERS CODES
RATHER THAN CLEAR THEM OUT AND APPLY YOUR IDEA DIRECTLY
THESE CODES ARE WRITTEN FOR REASONS
On the other hand, custom error looks good.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions