mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-29 11:15:58 +00:00
cahng laravel translation, move route for languages from api to web, fix contact formular
This commit is contained in:
@@ -13,7 +13,7 @@ use App\FileManagerFile;
|
||||
use App\Http\Tools\Demo;
|
||||
use App\FileManagerFolder;
|
||||
use Illuminate\Http\Request;
|
||||
use App\Mail\SendSupportForm;
|
||||
use App\Http\Mail\SendSupportForm;
|
||||
use App\Http\Resources\PageResource;
|
||||
use Illuminate\Support\Facades\Mail;
|
||||
use Illuminate\Support\Facades\Cache;
|
||||
|
||||
@@ -33,7 +33,7 @@ class AuthController extends Controller
|
||||
];
|
||||
|
||||
// Abort with 404, user not found
|
||||
return abort('404', __('vuefilemanager.user_not_fount'));
|
||||
return abort('404', __t('user_not_fount'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -188,7 +188,7 @@ class BrowseController extends Controller
|
||||
return [
|
||||
[
|
||||
'unique_id' => 0,
|
||||
'name' => __('vuefilemanager.home'),
|
||||
'name' => __t('home'),
|
||||
'location' => 'base',
|
||||
'folders' => $folders,
|
||||
]
|
||||
|
||||
@@ -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