Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions locale/en/common.po
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ msgstr "Action"
msgid "common.moreActions"
msgstr "More Actions"

msgid "common.months"
msgstr "months"

msgid "common.activate"
msgstr "Activate"

Expand Down Expand Up @@ -264,6 +267,9 @@ msgstr "Cancelled"
msgid "common.warning"
msgstr "Warning"

msgid "common.weeks"
msgstr "weeks"

msgid "common.error"
msgstr "Error"

Expand Down Expand Up @@ -739,6 +745,12 @@ msgstr "or"
msgid "common.other"
msgstr "Other"

msgid "common.oneWeek"
msgstr "1 week"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@asmecher Any suggestion how we go about pluralisation? As its somewhat language specific.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jardakotesovec Here's how it's supposed to work in PO files:

https://www.gnu.org/software/gettext/manual/html_node/Translating-plural-forms.html

We haven't used these formulations in OJS, but since we're now using Laravel for PO file parsing, it should be supported, I think.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will merge this PR for now, and address the pluralization on a separate PR.


msgid "common.oneMonth"
msgstr "1 month"

msgid "common.overdue"
msgstr "Overdue"

Expand Down
3 changes: 3 additions & 0 deletions locale/en/manager.po
Original file line number Diff line number Diff line change
Expand Up @@ -3755,6 +3755,9 @@ msgstr "Validate XML before the export and registration."
msgid "manager.selectCategories"
msgstr "Select Categories"

msgid "manager.template.tasksAndDiscussions"
msgstr "Tasks and Discussions"

msgid "manager.userComment.deleteReport"
msgstr "Delete Report"

Expand Down
51 changes: 51 additions & 0 deletions locale/en/submission.po
Original file line number Diff line number Diff line change
Expand Up @@ -3194,6 +3194,18 @@ msgstr "This task template auto-fills the task name, due date, description, and
msgid "discussion.title"
msgstr "Desk Review Tasks & Discussions"

msgid "stage.submission"
msgstr "Submission Stage"

msgid "stage.review"
msgstr "Review Stage"

msgid "stage.copyediting"
msgstr "Copyediting Stage"

msgid "stage.production"
msgstr "Production Stage"

msgid "task.closeThisTask"
msgstr "Close this Task"

Expand Down Expand Up @@ -3226,3 +3238,42 @@ msgstr "Apply Template"

msgid "taskTemplate.applyConfirmation"
msgstr "Applying this template will replace information in related fields on the form. These changes won't be saved unless you choose to save. Continue?"

msgid "taskTemplates.title"
msgstr "Tasks and Discussions Templates"

msgid "taskTemplates.description"
msgstr "Use this space to create templates for tasks and discussions. These templates automatically fill in the task name, due date, description, and roles, giving you a head start."

msgid "taskTemplates.templateName"
msgstr "Task and discussion template name"

msgid "taskTemplates.templateAutoAdd"
msgstr "Automatically add this task and discussion when a submission reaches a specific stage"

msgid "taskTemplates.templateAutoAddInStage"
msgstr "Automatically add this task and/or discussion when a submission reaches the stage"

msgid "taskTemplates.add"
msgstr "Add template"

msgid "taskTemplates.addInStage"
msgstr "Add Task and Discussion Template in {$stage}"

msgid "taskTemplates.edit"
msgstr "Edit Task and Discussion Template"

msgid "taskTemplates.dueDateFromCreationDate"
msgstr "{$dueDate} from the creation date"

msgid "taskTemplates.confirmAutoAdd"
msgstr "Confirm Automatic Addition"

msgid "taskTemplates.confirmAutoAddEnable"
msgstr "Are you sure you want this task/discussion template to be automatically added when a submission reaches the {$stage}?"

msgid "taskTemplates.confirmAutoAddDisable"
msgstr "Are you sure you want to stop automatically adding this task/discussion template when a submission reaches the {$stage}?"

msgid "taskTemplates.confirmEmailTemplate"
msgstr "Applying this email template will replace the discussion text in the form. The changes will not be saved unless you choose to save. Do you want to continue?"
3 changes: 3 additions & 0 deletions templates/management/workflow.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@
/>
{call_hook name="Template::Settings::workflow::emails"}
</tab>
<tab id="taskTemplates" label="{translate key="manager.template.tasksAndDiscussions"}">
<task-template-manager />
</tab>
{call_hook name="Template::Settings::workflow"}
</tabs>
{/block}