Skip to content

Commit c848b89

Browse files
committed
Add TODO and update label
1 parent f83a370 commit c848b89

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/commons/sideContent/content/SideContentDataVisualizer.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import { Links } from '../../utils/Constants';
1414
import { beginAlertSideContent } from '../SideContentActions';
1515
import { SideContentLocation, SideContentTab, SideContentType } from '../SideContentTypes';
1616
import { ItalicLink } from './SideContentCseMachine';
17+
import { t } from 'i18next';
1718

1819
type 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

168171
const 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

0 commit comments

Comments
 (0)