-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fully translatable email notifications
- Loading branch information
Showing
11 changed files
with
98 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
Hey {{ $user->username }}, | ||
|
||
{{ $blueprint->actor->username }} made the private discussion '{{ $blueprint->discussion->title }}' public. It's contents are now viewable by anyone who can see the tag it's under. | ||
|
||
View it here: {{ app()->url() }}/d/{{ $blueprint->discussion->id }}-{{ $blueprint->discussion->slug }} (You may need to login first) | ||
{!! $translator->trans('fof-byobu.email.body.made_public', [ | ||
'{recipient_display_name}' => $user->display_name, | ||
'{actor_display_name}' => $blueprint->actor->display_name, | ||
'{discussion_title}' => $blueprint->discussion->title, | ||
'{discussion_url}' => $url->to('forum')->route('discussion', ['id' => $blueprint->discussion->id]), | ||
]) !!} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
Hey {{ $user->username }}, | ||
|
||
{{ $blueprint->user->username }} left the private discussion '{{ $blueprint->discussion->title }}'. They'll no longer be able to view any of it's content. | ||
|
||
View it here: {{ app()->url() }}/d/{{ $blueprint->discussion->id }}-{{ $blueprint->discussion->slug }} (You may need to login first) | ||
{!! $translator->trans('fof-byobu.email.body.recipient_removed', [ | ||
'{recipient_display_name}' => $user->display_name, | ||
'{actor_display_name}' => $blueprint->user->display_name, | ||
'{discussion_title}' => $blueprint->discussion->title, | ||
'{discussion_url}' => $url->to('forum')->route('discussion', ['id' => $blueprint->discussion->id]), | ||
]) !!} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
Hey {{ $user->username }}, | ||
|
||
{{ $blueprint->actor->username }} added you to an existing private discussion, titled '{{ $blueprint->discussion->title }}'. | ||
|
||
View it here: {{ app()->url() }}/d/{{ $blueprint->discussion->id }}-{{ $blueprint->discussion->slug }} (You may need to login first) | ||
{!! $translator->trans('fof-byobu.email.body.private_discussion_added', [ | ||
'{recipient_display_name}' => $user->display_name, | ||
'{actor_display_name}' => $blueprint->actor->display_name, | ||
'{discussion_title}' => $blueprint->discussion->title, | ||
'{discussion_url}' => $url->to('forum')->route('discussion', ['id' => $blueprint->discussion->id]), | ||
]) !!} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
Hey {{ $user->username }}, | ||
|
||
{{ $blueprint->discussion->user->username }} started a new private discussion with you as recipient, titled '{{ $blueprint->discussion->title }}'. | ||
|
||
View it here: {{ app()->url() }}/d/{{ $blueprint->discussion->id }}-{{ $blueprint->discussion->slug }} (You may need to login first) | ||
{!! $translator->trans('fof-byobu.email.body.private_discussion_created', [ | ||
'{recipient_display_name}' => $user->display_name, | ||
'{actor_display_name}' => $blueprint->discussion->user->display_name, | ||
'{discussion_title}' => $blueprint->discussion->title, | ||
'{discussion_url}' => $url->to('forum')->route('discussion', ['id' => $blueprint->discussion->id]), | ||
]) !!} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
Hey {{ $user->username }}, | ||
|
||
{{ $blueprint->post->user->username }} posted in a private discussion with you as recipient, titled '{{ $blueprint->post->discussion->title }}'. | ||
|
||
View it here: {{ app()->url() }}/d/{{ $blueprint->post->discussion->id }}-{{ $blueprint->post->discussion->slug }}/{{ $blueprint->post->number }} (You may need to login first) | ||
{!! $translator->trans('fof-byobu.email.body.private_discussion_replied', [ | ||
'{recipient_display_name}' => $user->display_name, | ||
'{actor_display_name}' => $blueprint->post->user->display_name, | ||
'{discussion_title}' => $blueprint->post->discussion->title, | ||
'{post_url}' => $url->to('forum')->route('discussion', ['id' => $blueprint->post->discussion_id, 'near' => $blueprint->post->number]), | ||
]) !!} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters