From 1ad340ba2f4dfa6c4966fe54a73d7811db7d771f Mon Sep 17 00:00:00 2001 From: James Brooks Date: Sat, 6 May 2017 10:09:18 +0100 Subject: [PATCH] New translations notifications.php (English) --- resources/lang/en-US/notifications.php | 97 +++++++++++++++++++------- 1 file changed, 70 insertions(+), 27 deletions(-) diff --git a/resources/lang/en-US/notifications.php b/resources/lang/en-US/notifications.php index 4db80e7c..ceb3d72a 100644 --- a/resources/lang/en-US/notifications.php +++ b/resources/lang/en-US/notifications.php @@ -12,54 +12,97 @@ return [ 'component' => [ 'status_update' => [ - 'subject' => 'Component Status Updated', - 'title' => 'A component\'s status was updated!', - 'content' => ':name status changed from :old_status to :new_status.', + 'mail' => [ + 'subject' => 'Component Status Updated', + 'greeting' => 'A component\'s status was updated!', + 'content' => ':name status changed from :old_status to :new_status.', + 'action' => 'View', + ], + 'slack' => [ + 'title' => 'Component Status Updated', + 'content' => ':name status changed from :old_status to :new_status.', + ], + 'sms' => [ + 'content' => ':name status changed from :old_status to :new_status.', + ], ], ], 'incident' => [ 'new' => [ - 'subject' => 'New Incident Reported', - 'content' => ':name was reported', - 'title' => 'A new incident was reported at :app_name status page.', - 'action' => 'View', + 'mail' => [ + 'subject' => 'New Incident Reported', + 'greeting' => 'A new incident was reported at :app_name.', + 'content' => 'Incident :name was reported', + 'action' => 'View', + ], + 'slack' => [ + 'title' => 'Incident :name Reported', + 'content' => 'A new incident was reported at :app_name', + ], + 'sms' => [ + 'content' => 'A new incident was reported at :app_name.', + ], ], 'update' => [ - 'subject' => 'Incident Updated', - 'content' => ':name was updated', - 'title' => ':name was updated to :new_status', - 'action' => 'View', + 'mail' => [ + 'subject' => 'Incident Updated', + 'content' => ':name was updated', + 'title' => ':name was updated to :new_status', + 'action' => 'View', + ], + 'slack' => [ + 'title' => ':name Updated', + 'content' => ':name was updated to :new_status', + ], + 'sms' => [ + 'content' => 'Incident :name was updated', + ], ], ], 'schedule' => [ 'new' => [ - 'subject' => 'New Schedule Created', - 'content' => ':name was scheduled for :date', - 'title' => 'A new scheduled maintenance was created.', - 'action' => 'View', + 'mail' => [ + 'subject' => 'New Schedule Created', + 'content' => ':name was scheduled for :date', + 'title' => 'A new scheduled maintenance was created.', + 'action' => 'View', + ], + 'slack' => [ + 'title' => 'New Schedule Created!', + 'content' => ':name was scheduled for :date', + ], + 'sms' => [ + 'content' => ':name was scheduled for :date', + ], ], ], 'subscriber' => [ 'verify' => [ - 'subject' => 'Verify Your Subscription', - 'content' => 'Click to verify your subscription to :app_name status page.', - 'title' => 'Verify your subscription to :app_name status page.', - 'action' => 'Verify', + 'mail' => [ + 'subject' => 'Verify Your Subscription', + 'content' => 'Click to verify your subscription to :app_name status page.', + 'title' => 'Verify your subscription to :app_name status page.', + 'action' => 'Verify', + ], ], ], 'system' => [ 'test' => [ - 'subject' => 'Ping from Cachet!', - 'content' => 'This is a test notification from Cachet!', - 'title' => '🔔', + 'mail' => [ + 'subject' => 'Ping from Cachet!', + 'content' => 'This is a test notification from Cachet!', + 'title' => '🔔', + ], ], ], 'user' => [ 'invite' => [ - 'subject' => 'Your invitation is inside...', - 'content' => 'You have been invited to join :app_name status page.', - 'title' => 'You\'re invited to join :app_name status page.', - 'action' => 'Accept', + 'mail' => [ + 'subject' => 'Your invitation is inside...', + 'content' => 'You have been invited to join :app_name status page.', + 'title' => 'You\'re invited to join :app_name status page.', + 'action' => 'Accept', + ], ], ], -]; +]; \ No newline at end of file