File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/commons/sideContent/content Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import { Links } from '../../utils/Constants';
1414import { beginAlertSideContent } from '../SideContentActions' ;
1515import { SideContentLocation , SideContentTab , SideContentType } from '../SideContentTypes' ;
1616import { ItalicLink } from './SideContentCseMachine' ;
17+ import { t } from 'i18next' ;
1718
1819type State = {
1920 steps : Step [ ] ;
@@ -81,6 +82,7 @@ class SideContentDataVisualizerBase extends React.Component<OwnProps & DispatchP
8182 onClick = { this . onPrevButtonClick }
8283 disabled = { firstStep ( ) }
8384 >
85+ { /* TODO: i18n */ }
8486 Previous
8587 </ Button >
8688 < h3 className = { Classes . TEXT_LARGE } >
@@ -97,6 +99,7 @@ class SideContentDataVisualizerBase extends React.Component<OwnProps & DispatchP
9799 onClick = { this . onNextButtonClick }
98100 disabled = { finalStep ( ) }
99101 >
102+ { /* TODO: i18n */ }
100103 Next
101104 </ Button >
102105 </ div >
@@ -166,7 +169,7 @@ export const SideContentDataVisualizer = connect(
166169) ( SideContentDataVisualizerBase ) ;
167170
168171const makeDataVisualizerTabFrom = ( location : SideContentLocation ) : SideContentTab => ( {
169- label : 'Data Visualizer' ,
172+ label : t ( 'sideContent:dataVisualizer.label' ) ,
170173 iconName : IconNames . EYE_OPEN ,
171174 body : < SideContentDataVisualizer workspaceLocation = { location } /> ,
172175 id : SideContentType . dataVisualizer
You can’t perform that action at this time.
0 commit comments