From f190177d778faeb4b0675440ccfad70f906a050c Mon Sep 17 00:00:00 2001 From: Jan Date: Tue, 28 May 2024 00:04:24 +0200 Subject: [PATCH] CM-810: fix translations --- src/components/tasks/GroupImportTasks.js | 4 +++- src/translations/en.json | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/tasks/GroupImportTasks.js b/src/components/tasks/GroupImportTasks.js index 531f484..6676174 100644 --- a/src/components/tasks/GroupImportTasks.js +++ b/src/components/tasks/GroupImportTasks.js @@ -40,6 +40,7 @@ const useStyles = makeStyles((theme) => ({ })); function GroupUploadTaskDisplay({ + // eslint-disable-next-line no-unused-vars businessData, setAdditionalData, jsonExt, }) { const { @@ -259,7 +260,7 @@ function GroupUploadTaskDisplay({ onConfirm={onConfirm} onClose={onClose} module="individual" - confirmTitle="taskConfirmation.title" + confirmTitle="groupTaskConfirmation.title" confirmMessage={ formatMessageWithValues(intl, 'socialProtection', 'atomicApprove', { count: selectedRecords.length }) } @@ -345,6 +346,7 @@ const GroupUploadResolutionItemFormatters = () => [ ), ]; +// eslint-disable-next-line no-unused-vars function GroupUploadConfirmationPanel({ defaultAction, defaultDisabled }) { const intl = useIntl(); const classes = useStyles(); diff --git a/src/translations/en.json b/src/translations/en.json index 8f17c7b..68b5c00 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -258,5 +258,8 @@ "moveToNewGroup": "New Group", "createGroupFromColumns": "Create groups from column:", "groupAggregationInfo": "To specify recipients include header 'recipient_info' with possible values: '1' - head, '0' or empty - recipient.", - "validation_import_group_valid_items.tasks.title": "Import Group Valid Items" + "validation_import_group_valid_items.tasks.title": "Import Group Valid Items", + "groupTaskConfirmation.title": "Group Upload Confirmation", + "dialogActions.continue": "Continue", + "dialogActions.goBack": "Cancel" } \ No newline at end of file