mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-09 10:22:51 +03:00
Notifications: Aligned how user language is used
- This ensures content notifications are not translated to receiver language. - This adds actual plaintext support for content notifications (Was previously just HTML as text view). - Shares same base class across all mail notifications. - Also cleaned up existing notification classes. Future cleanup requested via #4501
This commit is contained in:
@@ -159,7 +159,7 @@ $style = [
|
||||
<tr>
|
||||
<td style="{{ $fontFamily }}">
|
||||
<p style="{{ $style['paragraph-sub'] }}">
|
||||
{{ trans('common.email_action_help', ['actionText' => $actionText]) }}
|
||||
{{ trans('common.email_action_help', ['actionText' => $actionText], $language) }}
|
||||
</p>
|
||||
|
||||
<p style="{{ $style['paragraph-sub'] }}">
|
||||
@@ -187,7 +187,7 @@ $style = [
|
||||
<p style="{{ $style['paragraph-sub'] }}">
|
||||
© {{ date('Y') }}
|
||||
<a style="{{ $style['anchor'] }}" href="{{ url('/') }}" target="_blank">{{ setting('app-name') }}</a>.
|
||||
{{ trans('common.email_rights') }}
|
||||
{{ trans('common.email_rights', [], $language) }}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
Reference in New Issue
Block a user