Move locales to single json files & Replace laravel-vue-i18n with vue-i18n

This commit is contained in:
Bubka
2025-06-20 18:14:21 +02:00
parent 01e56284ca
commit 6f419cfbcb
412 changed files with 3531 additions and 30057 deletions

View File

@ -19,7 +19,7 @@ class WebAuthnManageController extends Controller
public function index(Request $request)
{
if (Gate::denies('manage-webauthn-credentials')) {
throw new AccessDeniedHttpException(__('errors.unsupported_with_sso_only'));
throw new AccessDeniedHttpException(__('error.unsupported_with_sso_only'));
}
$allUserCredentials = $request->user()->webAuthnCredentials()->WhereEnabled()->get();
@ -54,7 +54,7 @@ class WebAuthnManageController extends Controller
Log::info('Deletion of security device requested');
if (Gate::denies('manage-webauthn-credentials')) {
throw new AccessDeniedHttpException(__('errors.unsupported_with_sso_only'));
throw new AccessDeniedHttpException(__('error.unsupported_with_sso_only'));
}
$user = $request->user();