Adding media translations to the vuejs app

parent 2d970595
......@@ -11,6 +11,7 @@ class TranslationsViewComposer
$staticTranslations = json_encode([
'page' => array_dot(trans('page::pages')),
'core' => array_dot(trans('core::core')),
'media' => array_dot(trans('media::media')),
]);
$view->with(compact('staticTranslations'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment