Skip to content

Commit

Permalink
[TSVB] add usage EuFormRow, remove redundant translations
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaanj committed Apr 29, 2021
1 parent 9b1c724 commit bb6e9d8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -229,19 +229,20 @@ export class TimeseriesPanelConfig extends Component<
</EuiFormRow>
</EuiFlexItem>
<EuiFlexItem grow={false}>
<EuiFormLabel>
<FormattedMessage
id="visTypeTimeseries.timeseries.optionsTab.ignoreDaylightTimeLabel"
defaultMessage="Ignore daylight time?"
<EuiFormRow
label={i18n.translate(
'visTypeTimeseries.timeseries.optionsTab.ignoreDaylightTimeLabel',
{
defaultMessage: 'Ignore daylight time?',
}
)}
>
<YesNo
value={model.ignore_daylight_time}
name="ignore_daylight_time"
onChange={this.props.onChange}
/>
</EuiFormLabel>
<EuiSpacer size="m" />
<YesNo
data-test-subj="timeseriesIgnoreDaylightTime"
value={model.ignore_daylight_time}
name="ignore_daylight_time"
onChange={this.props.onChange}
/>
</EuiFormRow>
</EuiFlexItem>
</EuiFlexGroup>
</EuiPanel>
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/translations/translations/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -4436,7 +4436,6 @@
"visTypeTimeseries.timeseries.optionsTab.dataLabel": "データ",
"visTypeTimeseries.timeseries.optionsTab.displayGridLabel": "グリッドを表示",
"visTypeTimeseries.timeseries.optionsTab.ignoreGlobalFilterLabel": "グローバルフィルターを無視しますか?",
"visTypeTimeseries.timeseries.optionsTab.ignoreDaylightTimeLabel": "夏時間を無視しますか?",
"visTypeTimeseries.timeseries.optionsTab.legendPositionLabel": "凡例の配置",
"visTypeTimeseries.timeseries.optionsTab.panelFilterLabel": "パネルフィルター",
"visTypeTimeseries.timeseries.optionsTab.panelOptionsButtonLabel": "パネルオプション",
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/translations/translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -4465,7 +4465,6 @@
"visTypeTimeseries.timeseries.optionsTab.dataLabel": "数据",
"visTypeTimeseries.timeseries.optionsTab.displayGridLabel": "显示网格",
"visTypeTimeseries.timeseries.optionsTab.ignoreGlobalFilterLabel": "忽略全局筛选?",
"visTypeTimeseries.timeseries.optionsTab.ignoreDaylightTimeLabel": "忽略夏令時間?",
"visTypeTimeseries.timeseries.optionsTab.legendPositionLabel": "图例位置",
"visTypeTimeseries.timeseries.optionsTab.panelFilterLabel": "面板筛选",
"visTypeTimeseries.timeseries.optionsTab.panelOptionsButtonLabel": "面板选项",
Expand Down

0 comments on commit bb6e9d8

Please sign in to comment.