Edit UI text strings in Integrations and Fleet tabs (#75837)

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
DeDe Morton 2020-09-21 19:31:57 -07:00 committed by GitHub
parent 4d115d5014
commit 4dc0c128ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 11 additions and 11 deletions

View file

@ -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]);

View file

@ -242,7 +242,7 @@ 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,
},
@ -250,7 +250,7 @@ export const CreatePackagePolicyPage: React.FunctionComponent = () => {
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,
},

View file

@ -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}
@ -34,7 +34,7 @@ export const ConfirmEnrollmentTokenDelete = (props: Props) => {
confirmButtonText={i18n.translate(
'xpack.ingestManager.enrollmentTokenDeleteModal.deleteButton',
{
defaultMessage: 'Delete',
defaultMessage: 'Revoke enrollment token',
}
)}
defaultFocusedButton="confirm"
@ -42,7 +42,8 @@ export const ConfirmEnrollmentTokenDelete = (props: Props) => {
>
<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,
},

View file

@ -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>

View file

@ -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" />
@ -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>

View file

@ -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" />