Skip to content

Commit

Permalink
Fixed translation in email footer
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoraddatz committed Apr 22, 2024
1 parent f88d105 commit 9b85aa7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
13 changes: 7 additions & 6 deletions resources/lang/de/notification.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

return [
'mail' => [
'subject' => 'Ihr Anmeldecode für :app',
'greeting' => 'Hallo :name,',
'line-1' => 'Es gab eine Anmeldeanforderung von :ip. Hier ist Ihr Code, gültig bis :valid_until:',
'line-2' => 'Falls Sie dies nicht waren: Kein Grund zur Panik. Weitere Informationen zu unserem Anmeldeverfahren finden Sie hier: https://google.com',
'line-3' => 'Vielen Dank, dass Sie unsere Dienste nutzen. Bei Fragen stehen wir Ihnen gerne zur Verfügung!',
'cta' => 'Jetzt anmelden',
'subject' => 'Ihr Anmeldecode für :app',
'greeting' => 'Hallo :name,',
'line-1' => 'Es gab eine Anmeldeanforderung von :ip. Hier ist Ihr Code, gültig bis :valid_until:',
'line-2' => 'Falls Sie dies nicht waren: kein Grund zur Panik. Weitere Informationen zu unserem Anmeldeverfahren finden Sie hier: https://google.com',
'line-3' => 'Vielen Dank, dass Sie unsere Dienste nutzen. Bei Fragen stehen wir Ihnen gerne zur Verfügung!',
'cta' => 'Jetzt anmelden',
'salutation' => 'Viele Grüße<br>:app-Team',
],
];
13 changes: 7 additions & 6 deletions resources/lang/en/notification.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

return [
'mail' => [
'subject' => 'Your login code for :app',
'greeting' => 'Hello :name,',
'line-1' => 'There was a login request from :ip. Here is your code, which is valid until :valid_until:',
'line-2' => "If it wasn't you: no reason to panic. You can find more information about our login process here: https://google.com",
'line-3' => "Thank you for using our services. If you have any questions, please contact us. We're happy to help!",
'cta' => 'Sign in now',
'subject' => 'Your login code for :app',
'greeting' => 'Hello :name,',
'line-1' => 'There was a login request from :ip. Here is your code, which is valid until :valid_until:',
'line-2' => "If it wasn't you: no reason to panic. You can find more information about our login process here: https://google.com",
'line-3' => "Thank you for using our services. If you have any questions, please contact us. We're happy to help!",
'cta' => 'Sign in now',
'salutation' => 'Best regards,<br>:app-Team',
],
];
2 changes: 1 addition & 1 deletion resources/views/notification.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@

{!! $introLines[2] !!}

{!! __('notification.email.salutation', ['app' => config('app.name')], $notifiable->locale) !!}
{!! __('totp-login::notification.mail.salutation', ['app' => config('app.name')], $notifiable->locale) !!}

</x-mail::message>

0 comments on commit 9b85aa7

Please sign in to comment.