frontend translations

This commit is contained in:
Sky Mulley
2026-11-23 14:51:03 +00:00
parent 9ac86842e9
commit 7ee3757a57
281 changed files with 3239 additions and 1662 deletions
@@ -74,7 +74,7 @@ class TwoFactorController extends ClientApiController
public function index(Request $request, SetsUpTwoFactor $twoFactor): JsonResponse
{
$user = $this->authenticatedUser($request);
throw_if($user->use_totp, BadRequestHttpException::class, 'Two-factor authentication is already enabled on this account.');
throw_if($user->use_totp, BadRequestHttpException::class, __('exceptions.account.two_factor_enabled'));
return new JsonResponse([
'data' => $twoFactor->setup($user),