cahng laravel translation, move route for languages from api to web, fix contact formular

This commit is contained in:
Milos Holba
2021-03-23 21:00:25 +01:00
parent df5d5cb75f
commit 4142f829be
17 changed files with 152 additions and 196 deletions

View File

@@ -117,7 +117,7 @@ class FileSharingController extends Controller
// Check password
if (!Hash::check($request->password, $shared->password)) {
abort(401, __('vuefilemanager.incorrect_password'));
abort(401, __t('incorrect_password'));
}
// Get owner of shared content
@@ -258,7 +258,7 @@ class FileSharingController extends Controller
return [
[
'unique_id' => $shared->item_id,
'name' => __('vuefilemanager.home'),
'name' => __t('home'),
'location' => 'public',
'folders' => $folders,
]
@@ -289,7 +289,7 @@ class FileSharingController extends Controller
return [
[
'unique_id' => $shared->item_id,
'name' => __('vuefilemanager.home'),
'name' => __t('home'),
'location' => 'public',
'folders' => $folders,
]