Skip to content

Commit

Permalink
Content feeback
Browse files Browse the repository at this point in the history
  • Loading branch information
cnasikas committed Oct 15, 2021
1 parent 271ed07 commit 4e7c3da
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,14 @@ import { i18n } from '@kbn/i18n';
const LEGACY_CONNECTOR_WARNING_TITLE = i18n.translate(
'xpack.cases.connectors.serviceNow.legacyConnectorWarningTitle',
{
defaultMessage: 'Deprecated connector type',
defaultMessage: 'This connector type is deprecated',
}
);

const LEGACY_CONNECTOR_WARNING_DESC = i18n.translate(
'xpack.cases.connectors.serviceNow.legacyConnectorWarningDesc',
{
defaultMessage:
'This connector type is deprecated. Create a new connector or update this connector',
defaultMessage: 'Update this connector or create a new one.',
}
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const CredentialsApiUrlComponent: React.FC<Props> = ({
<p>
<FormattedMessage
id="xpack.triggersActionsUI.components.builtinActionTypes.serviceNowAction.apiUrlHelpLabel"
defaultMessage="Please provide the full URL to the desired ServiceNow instance. If you do not have one, you can {instance}"
defaultMessage="Provide the full URL to the desired ServiceNow instance. If you don't have one, set up a developer instance."
values={{
instance: (
<EuiLink href={docLinks.links.alerting.serviceNowAction} target="_blank">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,20 @@ const DeprecatedCalloutComponent: React.FC<Props> = ({ onMigrate }) => {
title={i18n.translate(
'xpack.triggersActionsUI.components.builtinActionTypes.serviceNow.deprecatedCalloutTitle',
{
defaultMessage: 'Deprecated connector type',
defaultMessage: 'This connector type is deprecated',
}
)}
>
<FormattedMessage
defaultMessage="This connector type is deprecated. Create a new connector or {migrate}"
defaultMessage="{migrate} or create a new one."
id="xpack.triggersActionsUI.components.builtinActionTypes.servicenow.appInstallationInfo"
values={{
migrate: (
<EuiButtonEmpty onClick={onMigrate} flush="left">
{i18n.translate(
'xpack.triggersActionsUI.components.builtinActionTypes.serviceNow.deprecatedCalloutMigrate',
{
defaultMessage: 'update this connector.',
defaultMessage: 'Update this connector',
}
)}
</EuiButtonEmpty>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const API_URL_LABEL = i18n.translate(
export const API_URL_HELPTEXT = i18n.translate(
'xpack.triggersActionsUI.components.builtinActionTypes.servicenow.apiUrlHelpText',
{
defaultMessage: 'Include the full URL',
defaultMessage: 'Include the full URL.',
}
);

Expand Down Expand Up @@ -60,7 +60,7 @@ export const REMEMBER_VALUES_LABEL = i18n.translate(
export const REENTER_VALUES_LABEL = i18n.translate(
'xpack.triggersActionsUI.components.builtinActionTypes.servicenow.reenterValuesLabel',
{
defaultMessage: 'You will need to re-authenticate each time you edit the connector',
defaultMessage: 'You must authenticate each time you edit the connector.',
}
);

Expand Down Expand Up @@ -253,6 +253,6 @@ export const CORRELATION_ID = i18n.translate(
export const CORRELATION_DISPLAY = i18n.translate(
'xpack.triggersActionsUI.components.builtinActionTypes.servicenow.correlationDisplay',
{
defaultMessage: 'Correlation Display (optional)',
defaultMessage: 'Correlation display (optional)',
}
);
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const title = i18n.translate(
const step1InstallTitle = i18n.translate(
'xpack.triggersActionsUI.components.builtinActionTypes.serviceNow.updateFormInstallTitle',
{
defaultMessage: 'Install the Elastic ServiceNow App',
defaultMessage: 'Install the Elastic ServiceNow app',
}
);

Expand Down Expand Up @@ -74,7 +74,7 @@ const confirmButtonText = i18n.translate(
const warningMessage = i18n.translate(
'xpack.triggersActionsUI.components.builtinActionTypes.serviceNow.warningMessage',
{
defaultMessage: 'This will update all instances of this connector. This can not be reversed.',
defaultMessage: 'This updates all instances of this connector and cannot be reversed.',
}
);

Expand Down

0 comments on commit 4e7c3da

Please sign in to comment.