Adding all module translations

parent 7e182b44
...@@ -10,11 +10,22 @@ class TranslationsViewComposer ...@@ -10,11 +10,22 @@ class TranslationsViewComposer
{ {
$staticTranslations = json_encode([ $staticTranslations = json_encode([
'page' => array_dot(trans('page::pages')), 'page' => array_dot(trans('page::pages')),
'pages' => array_dot(trans('page::pages')),
'core' => array_dot(trans('core::core')), 'core' => array_dot(trans('core::core')),
'media' => array_dot(trans('media::media')), 'media' => array_dot(trans('media::media')),
'folders' => array_dot(trans('media::folders')), 'folders' => array_dot(trans('media::folders')),
'roles' => array_dot(trans('user::roles')), 'roles' => array_dot(trans('user::roles')),
'users' => array_dot(trans('user::users')), 'users' => array_dot(trans('user::users')),
'sidebar' => array_dot(trans('core::sidebar')),
'dashboard' => array_dot(trans('dashboard::dashboard')),
'menu' => array_dot(trans('menu::menu')),
'menu-items' => array_dot(trans('menu::menu-items')),
'settings' => array_dot(trans('setting::settings')),
'tags' => array_dot(trans('tag::tags')),
'translations' => array_dot(trans('translation::translations')),
'workshop' => array_dot(trans('workshop::workshop')),
'modules' => array_dot(trans('workshop::modules')),
'themes' => array_dot(trans('workshop::themes')),
]); ]);
$view->with(compact('staticTranslations')); $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