Skip to content

Commit dd6aadd

Browse files
committed
Updates copy
Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>
1 parent e8b4899 commit dd6aadd

File tree

2 files changed

+18
-20
lines changed

2 files changed

+18
-20
lines changed

src/plugins/wizard/public/application/components/experimental_info.tsx

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,37 +6,35 @@
66
import React, { memo } from 'react';
77
import { EuiCallOut, EuiLink } from '@elastic/eui';
88
import { FormattedMessage } from '@osd/i18n/react';
9+
import { i18n } from '@osd/i18n';
910

1011
export const InfoComponent = () => {
11-
const title = (
12-
<>
12+
return (
13+
<EuiCallOut
14+
className="hide-for-sharing"
15+
data-test-subj="experimentalVisInfo"
16+
size="s"
17+
title={i18n.translate('wizard.experimentalInfoTitle', {
18+
defaultMessage: 'This editor is experimental and should not be used in production',
19+
})}
20+
iconType="beaker"
21+
>
1322
<FormattedMessage
1423
id="wizard.experimentalInfoText"
15-
defaultMessage="This editor is experimental, do not use in production.
16-
For feedback, please create an issue in {githubLink}."
24+
defaultMessage="We want to hear from you about how we can improve your experience. Leave feedback in {githubLink}."
1725
values={{
1826
githubLink: (
1927
<EuiLink
2028
external
21-
href="https://github.com/opensearch-project/OpenSearch-Dashboards/issues/new/choose"
29+
href="https://github.com/opensearch-project/OpenSearch-Dashboards/issues/2280"
2230
target="_blank"
2331
>
24-
GitHub
32+
the GitHub issue
2533
</EuiLink>
2634
),
2735
}}
2836
/>
29-
</>
30-
);
31-
32-
return (
33-
<EuiCallOut
34-
className="hide-for-sharing"
35-
data-test-subj="experimentalVisInfo"
36-
size="s"
37-
title={title}
38-
iconType="beaker"
39-
/>
37+
</EuiCallOut>
4038
);
4139
};
4240

src/plugins/wizard/public/application/components/right_nav.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ export const RightNav = () => {
5454
{newVisType && (
5555
<EuiConfirmModal
5656
title={i18n.translate('wizard.rightNav.changeVisType.modalTitle', {
57-
defaultMessage: 'Change Visualization type',
57+
defaultMessage: 'Change visualization type',
5858
})}
5959
confirmButtonText={i18n.translate('wizard.rightNav.changeVisType.confirmText', {
60-
defaultMessage: 'Ok',
60+
defaultMessage: 'Change type',
6161
})}
6262
cancelButtonText={i18n.translate('wizard.rightNav.changeVisType.cancelText', {
6363
defaultMessage: 'Cancel',
@@ -79,7 +79,7 @@ export const RightNav = () => {
7979
<p>
8080
<FormattedMessage
8181
id="wizard.rightNav.changeVisType.modalDescription"
82-
defaultMessage="Changing the visualization type will reset all field selections. Are you sure you want to continue?"
82+
defaultMessage="Changing the visualization type will reset all field selections. Do you want to continue?"
8383
/>
8484
</p>
8585
</EuiConfirmModal>

0 commit comments

Comments
 (0)