Skip to content

Instantly share code, notes, and snippets.

@engram-design
Created September 25, 2016 07:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save engram-design/a065751babcbafad8ffc1ee136556e18 to your computer and use it in GitHub Desktop.
Save engram-design/a065751babcbafad8ffc1ee136556e18 to your computer and use it in GitHub Desktop.
Workflow static translation
<?php
return array(
"Workflow" => "Workflow",
"Entry submitted for approval." => "Entry submitted for approval.",
"Could not submit for approval." => "Could not submit for approval.",
"Submission revoked." => "Submission revoked.",
"Could not revoke submission." => "Could not revoke submission.",
"Entry approved and published." => "Entry approved and published.",
"Could not approve and publish." => "Could not approve and publish.",
"Submission rejected." => "Submission rejected.",
"Could not reject submission." => "Could not reject submission.",
"Workflow Submission" => "Workflow Submission",
"Rejected" => "Rejected",
"Revoked" => "Revoked",
"All Submissions" => "All Submissions",
"Editor" => "Editor",
"Date Submitted" => "Date Submitted",
"Publisher" => "Publisher",
"Date Approved" => "Date Approved",
"Date Rejected" => "Date Rejected",
"Approved submission" => "Approved submission",
"approved this entry on {date}." => "approved this entry on {date}.",
"Rejected submission" => "Rejected submission",
"rejected this entry on {date}." => "rejected this entry on {date}.",
"Awaiting approval" => "Awaiting approval",
"This entry has been submitted for review on {date} and is awaiting approval. Changes cannot be made until approved." => "This entry has been submitted for review on {date} and is awaiting approval. Changes cannot be made until approved.",
"Revoke submission" => "Revoke submission",
"Revoked submission" => "Revoked submission",
"revoked this entry on {date}." => "revoked this entry on {date}.",
"Submit for review" => "Submit for review",
"Submitting this entry for review will lock further edits and notify your publisher that this entry is ready for approval." => "Submitting this entry for review will lock further edits and notify your publisher that this entry is ready for approval.",
"Notes about your response." => "Notes about your response.",
"revoked this submission on {date}." => "revoked this submission on {date}.",
"Submission awaiting approval" => "Submission awaiting approval",
"has submitted this entry for review on {date}. Please review this entry before publishing." => "has submitted this entry for review on {date}. Please review this entry before publishing.",
"Approve & publish entry" => "Approve & publish entry",
"Reject" => "Reject",
"Drafts" => "Drafts",
"Date created" => "Date created",
"Date updated" => "Date updated",
"No draft entries." => "No draft entries.",
"Select which sections you require editor-publisher workflow enabled for." => "Select which sections you require editor-publisher workflow enabled for.",
"Editor User Group" => "Editor User Group",
"Select the user group that your editors belong to. Editors are users that can edit content, but not publish live." => "Select the user group that your editors belong to. Editors are users that can edit content, but not publish live.",
"Publisher User Group" => "Publisher User Group",
"Select the user group that your publishers belong to. Publishers are users who are notified when an editor submits content for review, and can approve content to be published live." => "Select the user group that your publishers belong to. Publishers are users who are notified when an editor submits content for review, and can approve content to be published live.",
//
// Email Messages
//
'workflow_publisher_notification_heading' => 'When an editor submits entry for approval:',
'workflow_publisher_notification_subject' => '"{{ submission.owner.title }}" has been submitted for approval on {{ siteName }}.',
'workflow_publisher_notification_body' => "Hey {{ user.friendlyName }},\n\n" .
"{{ submission.editor }} has submitted the entry \"{{ submission.owner.title }}\" for approval on {{ siteName }}.\n\n" .
"To review it please log into your control panel.\n\n" .
"{{ submission.cpEditUrl }}",
'workflow_editor_notification_heading' => 'When a publisher approves or rejects an editor submission:',
'workflow_editor_notification_subject' => 'Your submission for "{{ submission.owner.title }}" has been {{ submission.status }} on {{ siteName }}.',
'workflow_editor_notification_body' => "Hey {{ user.friendlyName }},\n\n" .
"Your submission for {{ submission.owner.title }} has been {{ submission.status }} {{ (submission.status == 'approved') ? submission.dateApproved | date : submission.dateRejected | date }} on {{ siteName }}.\n\n" .
"{% if submission.notes %}Notes: \"{{ submission.notes }}\"\n\n{% endif %}" .
"View your submission by logging into your control panel.\n\n" .
"{{ submission.cpEditUrl }}",
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment