From 763d74687f3706f8fdc1012b575b10aa71b41081 Mon Sep 17 00:00:00 2001 From: A Date: Tue, 30 Jan 2018 15:39:36 +0100 Subject: [PATCH] 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. --- .../Component/ComponentStatusChangedNotification.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Notifications/Component/ComponentStatusChangedNotification.php b/app/Notifications/Component/ComponentStatusChangedNotification.php index 9c10ede5..f2eb5b40 100644 --- a/app/Notifications/Component/ComponentStatusChangedNotification.php +++ b/app/Notifications/Component/ComponentStatusChangedNotification.php @@ -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)); } /**