Fix loading front-end i18n texts of plugins
This commit is contained in:
parent
c387794e17
commit
e62ad371f1
|
|
@ -37,6 +37,7 @@ class AppServiceProvider extends ServiceProvider
|
|||
'site_name' => option_localized('site_name'),
|
||||
'route' => request()->path(),
|
||||
'extra' => [],
|
||||
'i18n' => ['_' => null],
|
||||
];
|
||||
$event->addContent('<script>var blessing = '.json_encode($blessing).';</script>');
|
||||
});
|
||||
|
|
|
|||
|
|
@ -14,3 +14,4 @@
|
|||
|
||||
- Fixed renaming item in closet.
|
||||
- Fixed Font Awesome of bottom of home page.
|
||||
- Fixed loading front-end i18n texts of plugins.
|
||||
|
|
|
|||
|
|
@ -14,3 +14,4 @@
|
|||
|
||||
- 修复不能重命名衣柜物品的问题
|
||||
- 修复首页底部 Font Awesome 的问题
|
||||
- 修复插件系统中加载前端国际化文本的问题
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user