Uses the translation cachet.subscriber.manage.

When a component's status changes or when an incident is
created/updated, an email is sent to every people that has subscribed.
At the end of the mail a link to manage its subscription has been
introduced.
Now, it uses the translation.
This commit is contained in:
A 2018-01-30 15:39:36 +01:00
parent 81fd5f4420
commit 763d74687f

View File

@ -89,8 +89,7 @@ class ComponentStatusChangedNotification extends Notification
->line($content)
->action(trans('notifications.component.status_update.mail.action'), cachet_route('status-page'))
->line(trans('cachet.subscriber.unsubscribe', ['link' => cachet_route('subscribe.unsubscribe', $notifiable->verify_code)]))
//TODO: Translate the text below
->line('Manage your subscriptions at ' . cachet_route('subscribe.manage', $notifiable->verify_code));
->line(trans('cachet.subscriber.manage') . ' ' . cachet_route('subscribe.manage', $notifiable->verify_code));
}
/**