protonemedia / laravel-verify-new-email

This package adds support for verifying new email addresses: when a user updates its email address, it won't replace the old one until the new one is verified.
https://protone.media/en/blog/an-add-on-to-laravels-built-in-email-verification-only-update-a-users-email-address-if-the-new-one-is-verified-as-well
MIT License
404 stars 30 forks source link

localized email templates #15

Open Saifallak opened 2 years ago

Saifallak commented 2 years ago

first email :

@component('mail::message')
    # {{ \Illuminate\Support\Facades\Lang::get('Verify Email Address') }}

    # {{ \Illuminate\Support\Facades\Lang::get('Please click the button below to verify your email address.') }}

    @component('mail::button', ['url' => $url])
        # {{ \Illuminate\Support\Facades\Lang::get('Verify Email Address') }}
    @endcomponent

    {{ \Illuminate\Support\Facades\Lang::get('If you did not create an account, no further action is required.') }}

    {{ \Illuminate\Support\Facades\Lang::get('Thanks') }},<br>
    {{ config('app.name') }}
@endcomponent

new email

@component('mail::message')
    # {{ \Illuminate\Support\Facades\Lang::get('Verify New Email Address') }}

    # {{ \Illuminate\Support\Facades\Lang::get('Please click the button below to verify your new email address.') }}

    @component('mail::button', ['url' => $url])
        # {{ \Illuminate\Support\Facades\Lang::get('Verify Email New Address') }}
    @endcomponent

    {{ \Illuminate\Support\Facades\Lang::get('If you did not update your email address, no further action is required.') }}

    {{ \Illuminate\Support\Facades\Lang::get('Thanks') }},<br>
    {{ config('app.name') }}
@endcomponent
MDylan commented 2 years ago

Any update about this?