mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-22 09:32:14 +00:00
cahng laravel translation, move route for languages from api to web, fix contact formular
This commit is contained in:
@@ -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,
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user