From 973a7528d779409969a3a9bf63c3cf597634b539 Mon Sep 17 00:00:00 2001 From: Benjamin Takats Date: Sat, 17 Dec 2022 20:29:06 +0100 Subject: [PATCH] translations added --- config/translation.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config/translation.php b/config/translation.php index cb7cc237..67361795 100644 --- a/config/translation.php +++ b/config/translation.php @@ -11,7 +11,7 @@ return [ | Supported: "file", "database" | */ - 'driver' => 'database', + 'driver' => 'database', /* |-------------------------------------------------------------------------- @@ -22,8 +22,8 @@ return [ | configuration here to configure the routes with your preferred group options. | */ - 'route_group_config' => [ - 'middleware' => 'auth', + 'route_group_config' => [ + 'middleware' => 'can:translate', ], /* @@ -46,7 +46,7 @@ return [ | looking for missing translations. | */ - 'scan_paths' => [app_path(), resource_path()], + 'scan_paths' => [app_path(), resource_path()], /* |-------------------------------------------------------------------------- @@ -56,7 +56,7 @@ return [ | Define the URL used to access the language management too. | */ - 'ui_url' => 'languages', + 'ui_url' => 'languages', /* |-------------------------------------------------------------------------- @@ -66,7 +66,7 @@ return [ | Define the settings for the database driver here. | */ - 'database' => [ + 'database' => [ 'connection' => '',