Skip to content

Add Brazilian Portuguese language support for two-factor authentication#84

Merged
stephenjude merged 1 commit intostephenjude:3.xfrom
Mapexss:3.x
Sep 18, 2025
Merged

Add Brazilian Portuguese language support for two-factor authentication#84
stephenjude merged 1 commit intostephenjude:3.xfrom
Mapexss:3.x

Conversation

@Mapexss
Copy link
Copy Markdown
Contributor

@Mapexss Mapexss commented Sep 18, 2025

Add Brazilian Portuguese language support for two-factor authentication

<div>
@if($message = session()->get('authenticatePasskey::message'))
<x-filament::link tag="a" weight="light" color="danger">{{ $message }}</x-filament::link>
<x-filament::link tag="a" weight="light" color="danger">{{ __('filament-two-factor-authentication::components.passkey.error', ['message' => $message]) }}</x-filament::link>
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The error message were not being translated, so I added the key in components.php -> passkey.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Mapexss I am reverting this part as the error message has already been translated.

protected function invalidPasskeyResponse(): RedirectResponse
{
    session()->flash('authenticatePasskey::message', __('passkeys::passkeys.invalid'));

    return back();
}

@stephenjude stephenjude merged commit 405fdaf into stephenjude:3.x Sep 18, 2025
1 check passed
@stephenjude
Copy link
Copy Markdown
Owner

Thanks! @Mapexss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants