File tree Expand file tree Collapse file tree 2 files changed +18
-20
lines changed
src/plugins/wizard/public/application/components Expand file tree Collapse file tree 2 files changed +18
-20
lines changed Original file line number Diff line number Diff line change 66import React , { memo } from 'react' ;
77import { EuiCallOut , EuiLink } from '@elastic/eui' ;
88import { FormattedMessage } from '@osd/i18n/react' ;
9+ import { i18n } from '@osd/i18n' ;
910
1011export 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
Original file line number Diff line number Diff 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 >
You can’t perform that action at this time.
0 commit comments