Skip to content

Commit

Permalink
SW-5339: Deliverables: Status - change "Rejected" to "Not Accepted" (#…
Browse files Browse the repository at this point in the history
…2610)

SW-5339: Deliverables: Status - change "Rejected" to "Not Accepted" (#2610)
  • Loading branch information
joshbuchea committed May 14, 2024
1 parent 17547ab commit 26318cc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/DeliverableView/DeliverableStatusBadge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const DeliverableStatusBadge = (props: DeliverableStatusBadgeProps): JSX.Element
backgroundColor: theme.palette.TwClrBgDangerTertiary,
borderColor: theme.palette.TwClrBrdrDanger,
labelColor: theme.palette.TwClrTxtDanger,
label: strings.REJECTED,
label: strings.NOT_ACCEPTED,
};
default:
return undefined;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const RejectedDeliverableMessage = ({ deliverable }: ViewProps): JSX.Element =>
<Message
body={deliverable?.feedback || ''}
priority='critical'
title={strings.DELIVERABLE_REJECTED}
title={strings.DELIVERABLE_NOT_ACCEPTED}
type='page'
/>
</Box>
Expand Down
1 change: 1 addition & 0 deletions src/strings/csv/en.csv
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ DELETED_SPECIES,<deleted species>,
DELIVERABLE_APPROVED,Deliverable Approved,
DELIVERABLE_CATEGORY,Category: {0},"Shows the deliverable document's category name, example Category: Legal"
DELIVERABLE_NAME,Deliverable Name,
DELIVERABLE_NOT_ACCEPTED,Deliverable Not Accepted,
DELIVERABLE_PROJECT,Project: {0},"Shows the project name associated with the deliverable document, example Project: Andromeda"
DELIVERABLE_REJECTED,Deliverable Rejected,
DELIVERABLE_STATUS_CHANGE_CONFIRMATION_1,Submitting a document after a deliverable has been reviewed will reset the deliverable status.,
Expand Down
2 changes: 1 addition & 1 deletion src/types/Deliverables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export const statusLabel = (status: DeliverableStatusType): string => {
case 'In Review':
return strings.IN_REVIEW;
case 'Rejected':
return strings.REJECTED;
return strings.NOT_ACCEPTED;
case 'Approved':
return strings.APPROVED;
case 'Not Needed':
Expand Down

0 comments on commit 26318cc

Please sign in to comment.