You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 22, 2020. It is now read-only.
@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.
The text was updated successfully, but these errors were encountered:
CAPITALIZED LETTERS ARE HARD TO READ AND SHOW YOU'RE RUDE.
Just use normal English style and give the reason. I don't see emotions can help you code.
2017-03-06 9:20 GMT+08:00 NeverBehave <[email protected]<mailto:[email protected]>>:
@wsjnohyeah<https://github.com/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)[http://d.laravel-china.org/docs/5.3/localization] 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 FOLLOW THE STYLE: IT IS ALSO AN IMPORTANT SKILL TO READ OTHERS‘ CODE RATHER THAN CLEAR THEM OUT AND APPLY YOUR IDEA DIRECTLY. THESE CODE ARE WRITTEN FOR REASONS. On the other hand, custom error looks good. _
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#23>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AFA_P9v_hrhEYB9e1wSofZaqoEvWrq7Oks5ri19TgaJpZM4MToac>.
@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.
The text was updated successfully, but these errors were encountered: