Skip to content

Commit

Permalink
Edit UI text strings in Integrations and Fleet tabs (#75837)
Browse files Browse the repository at this point in the history
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
dedemorton and elasticmachine committed Sep 22, 2020
1 parent 4d115d5 commit 4dc0c12
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export const CreatePackagePolicyPageLayout: React.FunctionComponent<{
) : (
<FormattedMessage
id="xpack.ingestManager.createPackagePolicy.pageDescriptionfromPackage"
defaultMessage="Follow the instructions below to add this integration to an agent policy."
defaultMessage="Follow these instructions to add this integration to an agent policy."
/>
);
}, [from]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,15 +242,15 @@ export const CreatePackagePolicyPage: React.FunctionComponent = () => {

notifications.toasts.addSuccess({
title: i18n.translate('xpack.ingestManager.createPackagePolicy.addedNotificationTitle', {
defaultMessage: `Successfully added '{packagePolicyName}'`,
defaultMessage: `'{packagePolicyName}' integration added.`,
values: {
packagePolicyName: packagePolicy.name,
},
}),
text:
agentCount && agentPolicy
? i18n.translate('xpack.ingestManager.createPackagePolicy.addedNotificationMessage', {
defaultMessage: `Fleet will deploy updates to all agents that use the '{agentPolicyName}' policy`,
defaultMessage: `Fleet will deploy updates to all agents that use the '{agentPolicyName}' policy.`,
values: {
agentPolicyName: agentPolicy.name,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const ConfirmEnrollmentTokenDelete = (props: Props) => {
<EuiOverlayMask>
<EuiConfirmModal
title={i18n.translate('xpack.ingestManager.enrollmentTokenDeleteModal.title', {
defaultMessage: 'Delete enrollment token',
defaultMessage: 'Revoke enrollment token',
})}
onCancel={onCancel}
onConfirm={onConfirm}
Expand All @@ -34,15 +34,16 @@ export const ConfirmEnrollmentTokenDelete = (props: Props) => {
confirmButtonText={i18n.translate(
'xpack.ingestManager.enrollmentTokenDeleteModal.deleteButton',
{
defaultMessage: 'Delete',
defaultMessage: 'Revoke enrollment token',
}
)}
defaultFocusedButton="confirm"
buttonColor="danger"
>
<EuiCallOut
title={i18n.translate('xpack.ingestManager.enrollmentTokenDeleteModal.description', {
defaultMessage: 'Are your sure you want to delete {keyName}.',
defaultMessage:
'Are your sure you want to revoke {keyName}? Agents that use this token will no longer be able to access policies or send data. ',
values: {
keyName: enrollmentKey.name,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export const NewEnrollmentTokenFlyout: React.FunctionComponent<Props> = ({
<h2 id="FleetNewEnrollmentKeyFlyoutTitle">
<FormattedMessage
id="xpack.ingestManager.newEnrollmentKey.flyoutTitle"
defaultMessage="Create a new enrollment token"
defaultMessage="Create enrollment token"
/>
</h2>
</EuiTitle>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ export const EnrollmentTokenListPage: React.FunctionComponent<{}> = () => {
<EuiText color="subdued">
<FormattedMessage
id="xpack.ingestManager.enrollmentTokensList.pageDescription"
defaultMessage="This is a list of enrollment tokens that are available to enroll your agents."
defaultMessage="Create and revoke enrollment tokens. An enrollment token enables one or more agents to enroll in Fleet and send data."
/>
</EuiText>
<EuiSpacer size="m" />
Expand All @@ -290,7 +290,7 @@ export const EnrollmentTokenListPage: React.FunctionComponent<{}> = () => {
<EuiButton iconType="plusInCircle" onClick={() => setFlyoutOpen(true)}>
<FormattedMessage
id="xpack.ingestManager.enrollmentTokensList.newKeyButton"
defaultMessage="New enrollment token"
defaultMessage="Create enrollment token"
/>
</EuiButton>
</EuiFlexItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ export const SetupPage: React.FunctionComponent<{
<EuiText color="subdued">
<FormattedMessage
id="xpack.ingestManager.setupPage.enableText"
defaultMessage="In order to use Fleet, you must create an Elastic user. This user can create API keys
and write to logs-* and metrics-*."
defaultMessage="Fleet requires an Elastic user who can create API keys and write to logs-* and metrics-*."
/>
</EuiText>
<EuiSpacer size="l" />
Expand Down

0 comments on commit 4dc0c12

Please sign in to comment.