Skip to content

Commit

Permalink
Update English translations
Browse files Browse the repository at this point in the history
  • Loading branch information
engram-design committed Jul 29, 2024
1 parent e1b620f commit 91af3ee
Showing 1 changed file with 35 additions and 12 deletions.
47 changes: 35 additions & 12 deletions src/translations/en/workflow.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,41 @@
<?php

return [
//
// Email Messages
//
'workflow_publisher_notification_heading' => 'When an editor submits entry for approval:',
'workflow_publisher_notification_subject' => '"{{ submission.ownerTitle }}" has been submitted for approval on {{ submission.getOwnerSite() }}.',
'workflow_publisher_notification_body' => "Hey {{ user.friendlyName }},\n\n" .
"{{ review.user }} has submitted the entry \"{{ submission.ownerTitle }}\" for approval on {{ submission.ownerSite }}.\n\n" .
"{% if review.notes %}{{ review.roleName }} Notes: \"{{ review.notes }}\"\n\n{% endif %}" .
"To review it please log into your control panel.\n\n" .
"{{ submission.ownerCpUrl }}",

'workflow_editor_review_notification_heading' => 'When a reviewer approves or rejects an editor submission:',
'workflow_editor_review_notification_subject' => 'Your submission for "{{ submission.ownerTitle }}" has been {{ review.status }} on {{ submission.ownerSite }}.',
'workflow_editor_review_notification_body' => "Hey {{ user.friendlyName }},\n\n" .
"Your submission for {{ submission.ownerTitle }} has been {{ review.status }} {{ review.dateCreated | date }} on {{ submission.ownerSite }}.\n\n" .
"{% if review.notes %}{{ review.roleName }} Notes: \"{{ review.notes }}\"\n\n{% endif %}" .
"View your submission by logging into your control panel.\n\n" .
"{{ submission.ownerCpUrl }}",

'workflow_editor_notification_heading' => 'When a publisher approves or rejects an editor submission:',
'workflow_editor_notification_subject' => 'Your submission for "{{ submission.ownerTitle }}" has been {{ review.status }} on {{ submission.ownerSite }}.',
'workflow_editor_notification_body' => "Hey {{ user.friendlyName }},\n\n" .
"Your submission for {{ submission.ownerTitle }} has been {{ review.status }} {{ review.dateCreated | date }} on {{ submission.ownerSite }}.\n\n" .
"{% if review.notes %}{{ review.roleName }} Notes: \"{{ review.notes }}\"\n\n{% endif %}" .
"View your submission by logging into your control panel.\n\n" .
"{{ submission.ownerCpUrl }}",

'workflow_published_author_notification_heading' => 'When a publisher approves and publishes an entry to notify the entry author:',
'workflow_published_author_notification_subject' => 'Your entry "{{ submission.ownerTitle }}" has been published on {{ submission.ownerSite }}.',
'workflow_published_author_notification_body' => "Hey {{ user.friendlyName }},\n\n" .
"Your entry {{ submission.ownerTitle }} has been published {{ review.dateCreated | date }} on {{ submission.ownerSite }}.\n\n" .
"View your entry by logging into your control panel.\n\n" .
"{{ submission.ownerCpUrl }}",


'Action #{num}' => 'Action #{num}',
'Add a user group' => 'Add a user group',
'All' => 'All',
Expand Down Expand Up @@ -126,18 +161,6 @@
'Whether publishers are required to enter a note in their submissions.' => 'Whether publishers are required to enter a note in their submissions.',
'Workflow' => 'Workflow',
'Workflow Submissions' => 'Workflow Submissions',
'workflow_editor_notification_body' => 'workflow_editor_notification_body',
'workflow_editor_notification_heading' => 'workflow_editor_notification_heading',
'workflow_editor_notification_subject' => 'workflow_editor_notification_subject',
'workflow_editor_review_notification_body' => 'workflow_editor_review_notification_body',
'workflow_editor_review_notification_heading' => 'workflow_editor_review_notification_heading',
'workflow_editor_review_notification_subject' => 'workflow_editor_review_notification_subject',
'workflow_published_author_notification_body' => 'workflow_published_author_notification_body',
'workflow_published_author_notification_heading' => 'workflow_published_author_notification_heading',
'workflow_published_author_notification_subject' => 'workflow_published_author_notification_subject',
'workflow_publisher_notification_body' => 'workflow_publisher_notification_body',
'workflow_publisher_notification_heading' => 'workflow_publisher_notification_heading',
'workflow_publisher_notification_subject' => 'workflow_publisher_notification_subject',
'You cannot approve your own submission.' => 'You cannot approve your own submission.',
'You cannot change a submission to pending once created.' => 'You cannot change a submission to pending once created.',
'[Deleted element]' => '[Deleted element]',
Expand Down

0 comments on commit 91af3ee

Please sign in to comment.