Skip to content

Commit

Permalink
POL-195 Change all "active" wording for enable/disable (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
josejulio authored Apr 14, 2020
1 parent 61de35d commit 6f417ae
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/components/Policy/TableToolbar/PolicyTableToolbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export const PolicyToolbar: React.FunctionComponent<TablePolicyToolbarProps> = (
label: <IsActiveLabel key={ key } isActiveFilter={ key }/>,
value: key
}))),
placeholder: 'Filter by Active status',
placeholder: 'Filter by Enable status',
onChange: (_event, key: string) => {
const newValue = {
enabled: false,
Expand Down
6 changes: 3 additions & 3 deletions src/components/Policy/WizardSteps/ReviewStep.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ const ReviewStep: React.FunctionComponent = () => {
type="checkbox"
id="isEnabled"
name="isEnabled"
labelOn={ Messages.wizards.policy.review.policyIsActive }
labelOff={ Messages.wizards.policy.review.policyIsNotActive }
label={ Messages.wizards.policy.review.activateThisPolicy }
labelOn={ Messages.wizards.policy.review.policyIsEnabled }
labelOff={ Messages.wizards.policy.review.policyIsDisabled }
label={ Messages.wizards.policy.review.enableThisPolicy }
/>
<Title size="md">{ Messages.wizards.policy.review.policy.details }</Title>
<FormText label={ Messages.wizards.policy.review.policy.name } name="name" id="name"/>
Expand Down
8 changes: 4 additions & 4 deletions src/properties/Messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ const MutableMessages = {
title: 'Policy Details'
},
review: {
title: 'Review and activate',
activateThisPolicy: 'Activate this policy?',
policyIsActive: 'Policy is active',
policyIsNotActive: 'Policy is not active',
title: 'Review and enable',
enableThisPolicy: 'Enable this policy?',
policyIsEnabled: 'Policy is enabled',
policyIsDisabled: 'Policy is disabled',
policy: {
details: 'Policy details',
name: 'Policy name',
Expand Down

0 comments on commit 6f417ae

Please sign in to comment.