diff --git a/src/composables/useSubmission.js b/src/composables/useSubmission.js index 5416538e3..7ea842a5a 100644 --- a/src/composables/useSubmission.js +++ b/src/composables/useSubmission.js @@ -15,13 +15,13 @@ export const ExtendedStages = { export const ExtendedStagesLabels = { incomplete: tk('submissions.incomplete'), - submission: tk('dashboard.stage.submission'), + submission: tk('manager.publication.submissionStage'), internalReview: tk('todo'), - externalReview: tk('dashboard.stage.reviewWithRound'), - editing: tk('dashboard.stage.copyediting'), - productionQueued: tk('dashboard.stage.production'), - productionScheduled: tk('dashboard.stage.scheduledForPublication'), - productionPublished: tk('dashboard.stage.published'), + externalReview: tk('submission.stage.externalReviewWithRound'), + editing: tk('submission.copyediting'), + productionQueued: tk('manager.publication.productionStage'), + productionScheduled: tk('submission.dashboard.view.scheduled'), + productionPublished: tk('submission.dashboard.view.published'), declined: tk('submissions.declined'), }; diff --git a/src/managers/FileManager/useFileManagerConfig.js b/src/managers/FileManager/useFileManagerConfig.js index 535dcf4db..cf6c0df4c 100644 --- a/src/managers/FileManager/useFileManagerConfig.js +++ b/src/managers/FileManager/useFileManagerConfig.js @@ -41,8 +41,8 @@ export const FileManagerConfigurations = { Actions.FILE_SEE_NOTES, ], fileStage: pkp.const.SUBMISSION_FILE_SUBMISSION, - titleKey: tk('dashboard.summary.deskReviewFiles'), - descriptionKey: tk('dashboard.summary.deskReviewFilesDescription'), + titleKey: tk('submission.submit.submissionFiles'), + descriptionKey: tk('fileManager.submissionFilesDescription'), wizardTitleKey: tk('submission.submit.uploadSubmissionFile'), }), EDITOR_REVIEW_FILES: ({stageId}) => ({ @@ -75,8 +75,8 @@ export const FileManagerConfigurations = { ? pkp.const.SUBMISSION_FILE_INTERNAL_REVIEW_FILE : pkp.const.SUBMISSION_FILE_REVIEW_FILE, gridComponent: 'grid.files.review.EditorReviewFilesGridHandler', - titleKey: tk('dashboard.summary.filesForReview'), - descriptionKey: tk('dashboard.summary.deskReviewFilesDescription'), + titleKey: tk('fileManager.filesForReview'), + descriptionKey: tk('fileManager.submissionFilesDescription'), uploadSelectTitleKey: tk('editor.submission.review.currentFiles'), }), WORKFLOW_REVIEW_REVISIONS: ({stageId}) => ({ @@ -117,8 +117,8 @@ export const FileManagerConfigurations = { stageId === pkp.const.WORKFLOW_STAGE_ID_INTERNAL_REVIEW ? pkp.const.SUBMISSION_FILE_INTERNAL_REVIEW_REVISION : pkp.const.SUBMISSION_FILE_REVIEW_REVISION, - titleKey: tk('dashboard.summary.revisionsUploaded'), - descriptionKey: tk('dashboard.summary.revisionsUploadedDescription'), + titleKey: tk('submission.list.revisionsSubmitted'), + descriptionKey: tk('fileManager.revisionsUploadedDescription'), wizardTitleKey: tk('editor.submissionReview.uploadFile'), }), // TODO after triage @@ -128,8 +128,8 @@ export const FileManagerConfigurations = { actions: [], fileStage: pkp.const.SUBMISSION_FILE_REVIEW_ATTACHMENT, gridComponent: 'grid.files.attachment.authorReviewAttachmentsGridHandler', - titleKey: tk('dashboard.summary.filesForReview'), - descriptionKey: tk('dashboard.summary.deskReviewFilesDescription'), + titleKey: tk('fileManager.filesForReview'), + descriptionKey: tk('fileManager.deskReviewFilesDescription'), uploadSelectTitleKey: tk('editor.submission.review.currentFiles'), }), COPYEDITED_FILES: ({stageId}) => ({ @@ -162,8 +162,8 @@ export const FileManagerConfigurations = { Actions.FILE_SEE_NOTES, ], fileStage: pkp.const.SUBMISSION_FILE_COPYEDIT, - titleKey: tk('dashboard.summary.copyeditedFiles'), - descriptionKey: tk('dashboard.summary.copyeditedFilesDescription'), + titleKey: tk('fileManager.copyeditedFiles'), + descriptionKey: tk('fileManager.copyeditedFilesDescription'), gridComponent: 'grid.files.copyedit.CopyeditFilesGridHandler', uploadSelectTitleKey: tk('editor.submissionReview.uploadFile'), }), @@ -193,8 +193,8 @@ export const FileManagerConfigurations = { Actions.FILE_SEE_NOTES, ], fileStage: pkp.const.SUBMISSION_FILE_FINAL, - titleKey: tk('dashboard.summary.draftFiles'), - descriptionKey: tk('dashboard.summary.draftFilesDescription'), + titleKey: tk('submission.finalDraft'), + descriptionKey: tk('fileManager.draftFilesDescription'), gridComponent: 'grid.files.final.FinalDraftFilesGridHandler', uploadSelectTitleKey: tk('editor.submission.uploadSelectFiles'), }), @@ -224,8 +224,8 @@ export const FileManagerConfigurations = { Actions.FILE_SEE_NOTES, ], fileStage: pkp.const.SUBMISSION_FILE_PRODUCTION_READY, - titleKey: tk('dashboard.summary.productionReadyFiles'), - descriptionKey: tk('dashboard.summary.productionReadyFilesDescription'), + titleKey: tk('editor.submission.production.productionReadyFiles'), + descriptionKey: tk('fileManager.productionReadyFilesDescription'), wizardTitleKey: tk('submission.upload.productionReady'), }), }; diff --git a/src/managers/ParticipantManager/ParticipantManager.vue b/src/managers/ParticipantManager/ParticipantManager.vue index 5bfb81958..a2d5c16f2 100644 --- a/src/managers/ParticipantManager/ParticipantManager.vue +++ b/src/managers/ParticipantManager/ParticipantManager.vue @@ -35,7 +35,7 @@ v-if="participant.recommendOnly" class="mt-0.5 text-xs-normal text-heading" > - {{ t('dashboard.recommendOnly.onlyAllowedToRecommend') }} + {{ t('participantManager.onlyAllowedToRecommend') }} diff --git a/src/managers/ReviewerManager/ReviewerManager.vue b/src/managers/ReviewerManager/ReviewerManager.vue index f42bc8f4e..cecfc1f8d 100644 --- a/src/managers/ReviewerManager/ReviewerManager.vue +++ b/src/managers/ReviewerManager/ReviewerManager.vue @@ -6,7 +6,7 @@ > - {{ t('dashboard.summary.reviewer') }} + {{ t('user.role.reviewer') }} - {{ t('dashboard.summary.reviewerStatus') }} + {{ t('reviewerManager.reviewerStatus') }} {{ t('common.type') }} {{ t('grid.columns.actions') }} diff --git a/src/pages/dashboard/composables/useEditorialLogic.js b/src/pages/dashboard/composables/useEditorialLogic.js index dd82d3c68..9d7bc3b9e 100644 --- a/src/pages/dashboard/composables/useEditorialLogic.js +++ b/src/pages/dashboard/composables/useEditorialLogic.js @@ -22,7 +22,7 @@ export function useEditorialLogic() { component: 'CellSubmissionActivityActionAlert', props: { actionName: ParticipantManagerActions.PARTICIPANT_ASSIGN, - actionLabel: t('dashboard.assignEditor'), + actionLabel: t('submission.list.assignEditor'), actionArgs: {submissionId: submission.id}, }, }, @@ -100,7 +100,7 @@ export function useEditorialLogic() { { component: 'CellSubmissionActivityActionAlert', props: { - alert: t('dashboard.revisionsSubmitted'), + alert: t('submission.list.revisionsSubmitted'), }, }, { @@ -158,7 +158,7 @@ export function useEditorialLogic() { { component: 'CellSubmissionActivityActionAlert', props: { - alert: t('dashboard.revisionsSubmitted'), + alert: t('submission.list.revisionsSubmitted'), }, }, { diff --git a/src/pages/dashboard/dashboardPageStore.js b/src/pages/dashboard/dashboardPageStore.js index e64d8f66e..9107e7166 100644 --- a/src/pages/dashboard/dashboardPageStore.js +++ b/src/pages/dashboard/dashboardPageStore.js @@ -24,9 +24,9 @@ import DashboardModalFilters from '@/pages/dashboard/modals/DashboardModalFilter const {t, tk} = useLocalize(); const TitleTranslations = { - editorialDashboard: tk('dashboard.dashboards'), - myReviewAssignments: tk('dashboard.reviewAssignments'), - mySubmissions: tk('dashboard.mySubmissions'), + editorialDashboard: tk('navigation.dashboards'), + myReviewAssignments: tk('navigation.reviewAssignments'), + mySubmissions: tk('navigation.mySubmissions'), }; const TitleIcons = { diff --git a/src/pages/dashboard/modals/DashboardModalFilters.vue b/src/pages/dashboard/modals/DashboardModalFilters.vue index 5dbb5d971..cc4620dd9 100644 --- a/src/pages/dashboard/modals/DashboardModalFilters.vue +++ b/src/pages/dashboard/modals/DashboardModalFilters.vue @@ -14,7 +14,7 @@
- {{ t('dashboard.clearFilters') }} + {{ t('common.filtersClear') }} {{ t('dashboard.applyFilters') }} diff --git a/src/pages/workflow/composables/useWorkflowConfig/workflowConfigEditorialOJS.js b/src/pages/workflow/composables/useWorkflowConfig/workflowConfigEditorialOJS.js index 99a45e47d..d8ff213c2 100644 --- a/src/pages/workflow/composables/useWorkflowConfig/workflowConfigEditorialOJS.js +++ b/src/pages/workflow/composables/useWorkflowConfig/workflowConfigEditorialOJS.js @@ -352,7 +352,7 @@ export const WorkflowConfig = { { component: 'WorkflowActionButton', props: { - label: t('dashboard.summary.requestRevisions'), + label: t('editor.submission.decision.requestRevisions'), isSecondary: true, action: WorkflowActions.WORKFLOW_REQUEST_REVISION, actionArgs, @@ -718,7 +718,7 @@ export const PublicationConfig = { items.push({ component: 'WorkflowActionButton', props: { - label: t('dashboard.summary.preview'), + label: t('common.preview'), isSecondary: true, action: Actions.WORKFLOW_PREVIEW_PUBLICATION, }, diff --git a/src/pages/workflow/composables/useWorkflowConfig/workflowConfigEditorialOMP.js b/src/pages/workflow/composables/useWorkflowConfig/workflowConfigEditorialOMP.js index 4c49be364..bc5f33520 100644 --- a/src/pages/workflow/composables/useWorkflowConfig/workflowConfigEditorialOMP.js +++ b/src/pages/workflow/composables/useWorkflowConfig/workflowConfigEditorialOMP.js @@ -270,7 +270,7 @@ export const WorkflowConfig = { { component: 'WorkflowActionButton', props: { - label: t('dashboard.summary.requestRevisions'), + label: t('editor.submission.decision.requestRevisions'), isSecondary: true, action: DecisionActions.DECISION_PENDING_REVISIONS_INTERNAL, actionArgs, @@ -485,7 +485,7 @@ export const PublicationConfig = { items.push({ component: 'WorkflowActionButton', props: { - label: t('dashboard.summary.preview'), + label: t('common.preview'), isSecondary: true, action: WorkflowActions.WORKFLOW_PREVIEW_PUBLICATION, }, diff --git a/src/pages/workflow/composables/useWorkflowConfig/workflowConfigEditorialOPS.js b/src/pages/workflow/composables/useWorkflowConfig/workflowConfigEditorialOPS.js index 11874789e..e8f739e37 100644 --- a/src/pages/workflow/composables/useWorkflowConfig/workflowConfigEditorialOPS.js +++ b/src/pages/workflow/composables/useWorkflowConfig/workflowConfigEditorialOPS.js @@ -232,7 +232,7 @@ export const PublicationConfig = { items.push({ component: 'WorkflowActionButton', props: { - label: t('dashboard.summary.preview'), + label: t('common.preview'), isSecondary: true, action: WorkflowActions.WORKFLOW_PREVIEW_PUBLICATION, }, diff --git a/src/pages/workflow/composables/useWorkflowNavigationConfig/useWorkflowNavigationConfigOJS.js b/src/pages/workflow/composables/useWorkflowNavigationConfig/useWorkflowNavigationConfigOJS.js index 69b08bac1..48120ce6f 100644 --- a/src/pages/workflow/composables/useWorkflowNavigationConfig/useWorkflowNavigationConfigOJS.js +++ b/src/pages/workflow/composables/useWorkflowNavigationConfig/useWorkflowNavigationConfigOJS.js @@ -80,7 +80,7 @@ export function getReviewItems({submission, stageId, title}) { export function getReviewItem({stageId, reviewRound, isActive, title}) { return { key: `workflow_${stageId}_${reviewRound.id}`, - label: t('dashboard.workflow.reviewRoundN', {number: reviewRound.round}), + label: t('workflow.reviewRoundN', {number: reviewRound.round}), colorStripe: isActive ? StageColors[stageId] : null, action: 'selectMenu', actionArgs: { @@ -104,7 +104,7 @@ export function useWorkflowNavigationConfigOJS(pageInitConfig) { const externalReviewItems = getReviewItems({ submission, stageId: pkp.const.WORKFLOW_STAGE_ID_EXTERNAL_REVIEW, - title: t('dashboard.stage.review'), + title: t('manager.publication.reviewStage'), }); const items = []; @@ -112,7 +112,7 @@ export function useWorkflowNavigationConfigOJS(pageInitConfig) { items.push( getWorkflowItem({ stageId: pkp.const.WORKFLOW_STAGE_ID_SUBMISSION, - label: t('dashboard.stage.submission'), + label: t('manager.publication.submissionStage'), isActive: activeStage.id === pkp.const.WORKFLOW_STAGE_ID_SUBMISSION, }), ); @@ -120,7 +120,7 @@ export function useWorkflowNavigationConfigOJS(pageInitConfig) { items.push( getWorkflowItem({ stageId: pkp.const.WORKFLOW_STAGE_ID_EXTERNAL_REVIEW, - label: t('dashboard.stage.review'), + label: t('manager.publication.reviewStage'), isActive: activeStage.id === pkp.const.WORKFLOW_STAGE_ID_EXTERNAL_REVIEW, isDisabled: externalReviewItems.length, @@ -131,7 +131,7 @@ export function useWorkflowNavigationConfigOJS(pageInitConfig) { items.push( getWorkflowItem({ stageId: pkp.const.WORKFLOW_STAGE_ID_EDITING, - label: t('dashboard.stage.copyediting'), + label: t('submission.copyediting'), isActive: activeStage.id === pkp.const.WORKFLOW_STAGE_ID_EDITING, }), ); @@ -139,7 +139,7 @@ export function useWorkflowNavigationConfigOJS(pageInitConfig) { items.push( getWorkflowItem({ stageId: pkp.const.WORKFLOW_STAGE_ID_PRODUCTION, - label: t('dashboard.stage.production'), + label: t('manager.publication.productionStage'), isActive: activeStage.id === pkp.const.WORKFLOW_STAGE_ID_PRODUCTION, }), ); diff --git a/src/pages/workflow/composables/useWorkflowNavigationConfig/useWorkflowNavigationConfigOMP.js b/src/pages/workflow/composables/useWorkflowNavigationConfig/useWorkflowNavigationConfigOMP.js index 2b532d720..1b1abf587 100644 --- a/src/pages/workflow/composables/useWorkflowNavigationConfig/useWorkflowNavigationConfigOMP.js +++ b/src/pages/workflow/composables/useWorkflowNavigationConfig/useWorkflowNavigationConfigOMP.js @@ -56,7 +56,7 @@ export function useWorkflowNavigationConfigOMP(pageInitConfig) { items.push( getWorkflowItem({ stageId: pkp.const.WORKFLOW_STAGE_ID_SUBMISSION, - label: t('dashboard.stage.submission'), + label: t('manager.publication.submissionStage'), isActive: activeStage.id === pkp.const.WORKFLOW_STAGE_ID_SUBMISSION, }), ); @@ -86,7 +86,7 @@ export function useWorkflowNavigationConfigOMP(pageInitConfig) { items.push( getWorkflowItem({ stageId: pkp.const.WORKFLOW_STAGE_ID_EDITING, - label: t('dashboard.stage.copyediting'), + label: t('submission.copyediting'), isActive: activeStage.id === pkp.const.WORKFLOW_STAGE_ID_EDITING, }), ); @@ -94,7 +94,7 @@ export function useWorkflowNavigationConfigOMP(pageInitConfig) { items.push( getWorkflowItem({ stageId: pkp.const.WORKFLOW_STAGE_ID_PRODUCTION, - label: t('dashboard.stage.production'), + label: t('manager.publication.productionStage'), isActive: activeStage.id === pkp.const.WORKFLOW_STAGE_ID_PRODUCTION, }), ); diff --git a/src/pages/workflow/composables/useWorkflowNavigationConfig/useWorkflowNavigationConfigOPS.js b/src/pages/workflow/composables/useWorkflowNavigationConfig/useWorkflowNavigationConfigOPS.js index 31f13d8f7..c2d36a1e0 100644 --- a/src/pages/workflow/composables/useWorkflowNavigationConfig/useWorkflowNavigationConfigOPS.js +++ b/src/pages/workflow/composables/useWorkflowNavigationConfig/useWorkflowNavigationConfigOPS.js @@ -32,7 +32,7 @@ export function useWorkflowNavigationConfigOPS(pageInitConfig) { items.push( getWorkflowItem({ stageId: pkp.const.WORKFLOW_STAGE_ID_PRODUCTION, - label: t('dashboard.stage.production'), + label: t('manager.publication.productionStage'), isActive: activeStage.id === pkp.const.WORKFLOW_STAGE_ID_PRODUCTION, }), );