Skip to content

Commit

Permalink
Uses the translation cachet.subscriber.manage.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
uxen-ab committed Mar 27, 2018
1 parent 81fd5f4 commit 763d746
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@ public function toMail($notifiable)
->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));
}

/**
Expand Down

0 comments on commit 763d746

Please sign in to comment.