allow to customize fallback locale

This commit is contained in:
Pig Fang 2020-07-01 15:33:50 +08:00
parent a12b8aeefa
commit a26ddfbf19
No known key found for this signature in database
GPG Key ID: A8198F548DADA9E2
4 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,6 @@
APP_DEBUG=false
APP_ENV=production
APP_FALLBACK_LOCALE=
ASSET_ENV=production
ASSET_URL=

View File

@ -116,7 +116,7 @@ return [
|
*/
'fallback_locale' => 'en',
'fallback_locale' => env('APP_FALLBACK_LOCALE', 'en'),
/*
|--------------------------------------------------------------------------

View File

@ -28,6 +28,7 @@
- Added support of installing plugin by submitting remote URL.
- Added support of clicking on the uploader's nickname in skin library to view other uploads of that user.
- Added `php artisan update` command for updating by CLI.
- Allowed to customize fallback locale.
## Changed

View File

@ -28,6 +28,7 @@
- 可通过提交 URL 来安装插件
- 皮肤库中可通过点击上传者昵称来查看该用户的其它上传
- 增加 `php artisan update` 命令以便通过命令行进行升级数据库
- 支持自定义 fallback locale
## 调整