Skip to content

Commit

Permalink
use markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland committed Sep 18, 2023
1 parent d3f4b5f commit a3d6127
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions framework/core/locale/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -734,8 +734,8 @@ core:
confirm_button: Confirm
immediate_helptext: You will be immediately unsubscribed once you confirm.
confirm_message: "You have requested to unsubscribe from \"{type}\" email notifications from {forumTitle}."
success_message: "You have successfully unsubscribed from \"{type}\" notification from {forumTitle}. If you wish to receive them again, please <a href=\"{settingsLink}\">update your settings</a>."
invalid_message: "This unsubscribe link is invalid or has already been used. For any changes in your email notifications from {forumTitle}, please <a href=\"{settingsLink}\">check your settings</a>."
success_message: "You have successfully unsubscribed from \"{type}\" notification from {forumTitle}. If you wish to receive them again, please [update your settings]({settingsLink})."
invalid_message: "This unsubscribe link is invalid or has already been used. For any changes in your email notifications from {forumTitle}, please [check your settings]({settingsLink})."

# Translations in this namespace are used in messages output by the API.
api:
Expand Down
2 changes: 1 addition & 1 deletion framework/core/views/unsubscribe-confirmation.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

@section('content')
<h2>{{ $translator->trans('core.views.unsubscribe_email.title') }}</h2>
<p>{!! $message !!}</p>
<p>{!! $formatter->convert($message) !!}</p>
<p>{{ $translator->trans('core.views.unsubscribe_email.immediate_helptext') }}</p>

<form action="{{ $url->to('forum')->route('notifications.unsubscribe.confirm') }}" method="post">
Expand Down

0 comments on commit a3d6127

Please sign in to comment.