Skip to content

Commit

Permalink
update button text to make more descriptive
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan committed Nov 4, 2024
1 parent 38170b9 commit e319bfd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -304,14 +304,14 @@ export class PrivilegeSpaceForm extends Component<Props, State> {
buttonText = (
<FormattedMessage
id="xpack.security.management.editRolespacePrivilegeForm.createGlobalPrivilegeButton"
defaultMessage="Create global privilege"
defaultMessage="Assign role globally"
/>
);
} else {
buttonText = (
<FormattedMessage
id="xpack.security.management.editRolespacePrivilegeForm.createPrivilegeButton"
defaultMessage="Add Kibana privilege"
defaultMessage="Assign role"
/>
);
}
Expand All @@ -321,14 +321,14 @@ export class PrivilegeSpaceForm extends Component<Props, State> {
buttonText = (
<FormattedMessage
id="xpack.security.management.editRolespacePrivilegeForm.updateGlobalPrivilegeButton"
defaultMessage="Update global privilege"
defaultMessage="Update role privileges globally"
/>
);
} else {
buttonText = (
<FormattedMessage
id="xpack.security.management.editRolespacePrivilegeForm.updatePrivilegeButton"
defaultMessage="Update space privilege"
defaultMessage="Update role privileges"
/>
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -613,10 +613,10 @@ export const PrivilegesRolesForm: FC<PrivilegesRolesFormProps> = (props) => {
>
{isEditOperation.current
? i18n.translate('xpack.spaces.management.spaceDetails.roles.updateRoleButton', {
defaultMessage: 'Update',
defaultMessage: 'Update role privileges',
})
: i18n.translate('xpack.spaces.management.spaceDetails.roles.assignRoleButton', {
defaultMessage: 'Assign',
defaultMessage: 'Assign roles',
})}
</EuiButton>
);
Expand Down

0 comments on commit e319bfd

Please sign in to comment.