-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'craft-4' of https://github.com/verbb/workflow into craft-5
# Conflicts: # CHANGELOG.md # composer.json # src/translations/en/workflow.php # src/translations/nb/workflow.php
- Loading branch information
Showing
4 changed files
with
34 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,22 @@ | ||
<?php | ||
|
||
return [ | ||
// | ||
// Email Messages | ||
// | ||
// | ||
// Email Messages | ||
// | ||
'workflow_publisher_notification_heading' => 'Når en skribent sender et utkast til godkjenning:', | ||
'workflow_publisher_notification_subject' => '"{{ submission.owner.title }}" har blitt sendt inn for godkjenning på {{ siteName }}.', | ||
'workflow_publisher_notification_body' => "Hei {{ user.friendlyName }},\n\n" . | ||
"{{ submission.editor }} har sendt utkastet \"{{ submission.owner.title }}\" til godkjenning på {{ siteName }}.\n\n" . | ||
"{% if submission.editorNotes %}Merknad: \"{{ submission.editorNotes }}\"\n\n{% endif %}" . | ||
"For å gå gjennom det, vennligst logg inn i kontrollpanelet.\n\n" . | ||
"{{ submission.cpEditUrl }}", | ||
|
||
'workflow_publisher_notification_heading' => 'Når en skribent sender et utkast til godkjenning:', | ||
'workflow_publisher_notification_subject' => '"{{ submission.owner.title }}" har blitt sendt inn for godkjenning på {{ siteName }}.', | ||
'workflow_publisher_notification_body' => "Hei {{ user.friendlyName }},\n\n" . | ||
"{{ submission.editor }} har sendt utkastet \"{{ submission.owner.title }}\" til godkjenning på {{ siteName }}.\n\n" . | ||
"{% if submission.editorNotes %}Merknad: \"{{ submission.editorNotes }}\"\n\n{% endif %}" . | ||
"For å gå gjennom det, vennligst logg inn i kontrollpanelet.\n\n" . | ||
"{{ submission.getCpEditUrl() }}", | ||
|
||
'workflow_editor_notification_heading' => 'Når en redaktør godkjenner eller avslår et utkast fra en skribent:', | ||
'workflow_editor_notification_subject' => 'Ditt utkast til "{{ submission.owner.title }}" har blitt {{ submission.status }} på {{ siteName }}.', | ||
'workflow_editor_notification_body' => "Hei {{ user.friendlyName }},\n\n" . | ||
"Ditt utkast til {{ submission.owner.title }} har blitt {{ submission.status }} {{ (submission.status == 'approved') ? submission.dateApproved | date : submission.dateRejected | date }} på {{ siteName }}.\n\n" . | ||
"{% if submission.publisherNotes %}Merknad: \"{{ submission.publisherNotes }}\"\n\n{% endif %}" . | ||
"Se ditt utkast ved å logge inn i kontrollpanelet.\n\n" . | ||
"{{ submission.getCpEditUrl() }}", | ||
]; | ||
'workflow_editor_notification_heading' => 'Når en redaktør godkjenner eller avslår et utkast fra en skribent:', | ||
'workflow_editor_notification_subject' => 'Ditt utkast til "{{ submission.owner.title }}" har blitt {{ submission.status }} på {{ siteName }}.', | ||
'workflow_editor_notification_body' => "Hei {{ user.friendlyName }},\n\n" . | ||
"Ditt utkast til {{ submission.owner.title }} har blitt {{ submission.status }} {{ (submission.status == 'approved') ? submission.dateApproved | date : submission.dateRejected | date }} på {{ siteName }}.\n\n" . | ||
"{% if submission.publisherNotes %}Merknad: \"{{ submission.publisherNotes }}\"\n\n{% endif %}" . | ||
"Se ditt utkast ved å logge inn i kontrollpanelet.\n\n" . | ||
"{{ submission.cpEditUrl }}", | ||
]; |