Skip to content

Commit

Permalink
CM-810: fix translations
Browse files Browse the repository at this point in the history
  • Loading branch information
jdolkowski committed May 27, 2024
1 parent b9c59ed commit f190177
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/components/tasks/GroupImportTasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const useStyles = makeStyles((theme) => ({
}));

function GroupUploadTaskDisplay({
// eslint-disable-next-line no-unused-vars
businessData, setAdditionalData, jsonExt,
}) {
const {
Expand Down Expand Up @@ -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 })
}
Expand Down Expand Up @@ -345,6 +346,7 @@ const GroupUploadResolutionItemFormatters = () => [
),
];

// eslint-disable-next-line no-unused-vars
function GroupUploadConfirmationPanel({ defaultAction, defaultDisabled }) {
const intl = useIntl();
const classes = useStyles();
Expand Down
5 changes: 4 additions & 1 deletion src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit f190177

Please sign in to comment.