From 8c59a4c24317b7ac85053452e11f67eea20c5c2a Mon Sep 17 00:00:00 2001 From: Blesilda Ramirez Date: Mon, 29 Sep 2025 03:15:15 -0400 Subject: [PATCH 1/3] pkp/pkp-lib#11826 Add translation keys for task template manager --- locale/en/common.po | 12 ++++++++++ locale/en/submission.po | 51 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/locale/en/common.po b/locale/en/common.po index 8e4481df4c2..41446b7696d 100644 --- a/locale/en/common.po +++ b/locale/en/common.po @@ -148,6 +148,9 @@ msgstr "Action" msgid "common.moreActions" msgstr "More Actions" +msgid "common.months" +msgstr "months" + msgid "common.activate" msgstr "Activate" @@ -264,6 +267,9 @@ msgstr "Cancelled" msgid "common.warning" msgstr "Warning" +msgid "common.weeks" +msgstr "weeks" + msgid "common.error" msgstr "Error" @@ -739,6 +745,12 @@ msgstr "or" msgid "common.other" msgstr "Other" +msgid "common.oneWeek" +msgstr "1 week" + +msgid "common.oneMonth" +msgstr "1 month" + msgid "common.overdue" msgstr "Overdue" diff --git a/locale/en/submission.po b/locale/en/submission.po index 008aa9c9e4a..427e788bdc5 100644 --- a/locale/en/submission.po +++ b/locale/en/submission.po @@ -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" @@ -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?" From 2b9157cd92186213b78374943827ea1949099eb9 Mon Sep 17 00:00:00 2001 From: Blesilda Ramirez Date: Mon, 29 Sep 2025 03:15:51 -0400 Subject: [PATCH 2/3] pkp/pkp-lib#11826 Add task and discussions tabs to the workflow settings page --- templates/management/workflow.tpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/management/workflow.tpl b/templates/management/workflow.tpl index 55a16d26e28..2f86e6f5a32 100644 --- a/templates/management/workflow.tpl +++ b/templates/management/workflow.tpl @@ -95,6 +95,9 @@ /> {call_hook name="Template::Settings::workflow::emails"} + + + {call_hook name="Template::Settings::workflow"} {/block} From 78f01105a9bd28bf14f64a6b14d320af634afac0 Mon Sep 17 00:00:00 2001 From: Blesilda Ramirez Date: Fri, 3 Oct 2025 14:19:17 -0400 Subject: [PATCH 3/3] pkp/pkp-lib#11826 Add locale key for taks and discussions text --- locale/en/manager.po | 3 +++ 1 file changed, 3 insertions(+) diff --git a/locale/en/manager.po b/locale/en/manager.po index 674eee339c0..2765241c2a3 100644 --- a/locale/en/manager.po +++ b/locale/en/manager.po @@ -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"