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:
parent
4d115d5014
commit
4dc0c128ce
|
@ -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]);
|
||||
|
|
|
@ -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,
|
||||
},
|
||||
|
|
|
@ -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,
|
||||
},
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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" />
|
||||
|
|
Loading…
Reference in a new issue