Skip to content

Commit 63714f2

Browse files
feat:[lar-152] update mail subject with translation
1 parent 7a10560 commit 63714f2

File tree

4 files changed

+14
-12
lines changed

4 files changed

+14
-12
lines changed

app/Mail/SendSponsorThanksMail.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function __construct(string $name) {}
1919
public function envelope(): Envelope
2020
{
2121
return new Envelope(
22-
subject: 'Send Sponsor Thanks Mail',
22+
subject: __('emails.subject'),
2323
);
2424
}
2525

lang/en/emails/sponsor.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44

55
return [
66

7-
'greeting' => 'Chèr(e) :name,',
8-
'thanks' => 'Nous souhaitons vous exprimer notre sincère gratitude pour votre soutien précieux à la communauté Laravel.',
9-
'impact' => 'Votre soutien renforce l\'impact de notre communauté et nous permet de poursuivre notre mission.',
10-
'closing' => 'Cordialement,',
11-
'team' => 'L\'équipe Laravel Cameroun',
7+
'subject' => 'Thank you for your valuable support to the Laravel community.',
8+
'greeting' => 'Dear :name,',
9+
'thanks' => 'We would like to express our sincere gratitude for your valuable support to the Laravel community.',
10+
'impact' => 'Your support strengthens the impact of our community and allows us to continue pursuing our mission.',
11+
'closing' => 'Best regards,',
12+
'team' => 'The Laravel Cameroon Team',
1213

1314
];

lang/fr/emails/sponsor.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44

55
return [
66

7-
'greeting' => 'Dear :name,',
8-
'thanks' => 'We would like to express our sincere gratitude for your valuable support to the Laravel community.',
9-
'impact' => 'Your support strengthens the impact of our community and allows us to continue pursuing our mission.',
10-
'closing' => 'Best regards,',
11-
'team' => 'The Laravel Cameroon Team',
7+
'subject' => 'Merci pour votre soutien précieux à la communauté Laravel Cameroun',
8+
'greeting' => 'Chèr(e) :name,',
9+
'thanks' => 'Nous souhaitons vous exprimer notre sincère gratitude pour votre soutien précieux à la communauté Laravel.',
10+
'impact' => 'Votre soutien renforce l\'impact de notre communauté et nous permet de poursuivre notre mission.',
11+
'closing' => 'Cordialement,',
12+
'team' => 'L\'équipe Laravel Cameroun',
1213

1314
];

resources/views/emails/send-sponsor-thanks-mail.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<x-mail::panel>
44

5-
{!! __('emails.greeting', ['name' => $user->name]) !!}
5+
{!! __('emails.greeting', ['name' => $name]) !!}
66

77
{!! __('emails.thanks') !!}
88

0 commit comments

Comments
 (0)