Skip to content

Commit

Permalink
Rename time intervals to time interval
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdavies committed Oct 24, 2019
1 parent 0d03e69 commit fdbdddd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ describe('date_histogram', () => {
expect(instance.find('[data-test-subj="lensDateHistogramUnit"]').prop('value')).toEqual('d');
});

it('should render disabled switch and no time intervals control for auto interval', () => {
it('should render disabled switch and no time interval control for auto interval', () => {
const instance = shallow(
<InlineOptions
state={state}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export const dateHistogramOperation: OperationDefinition<DateHistogramIndexPatte
<EuiFormRow>
<EuiSwitch
label={i18n.translate('xpack.lens.indexPattern.dateHistogram.autoInterval', {
defaultMessage: 'Customize time intervals',
defaultMessage: 'Customize time interval',
})}
checked={currentColumn.params.interval !== autoInterval}
onChange={onChangeAutoInterval}
Expand All @@ -184,7 +184,7 @@ export const dateHistogramOperation: OperationDefinition<DateHistogramIndexPatte
{currentColumn.params.interval !== autoInterval && (
<EuiFormRow
label={i18n.translate('xpack.lens.indexPattern.dateHistogram.interval', {
defaultMessage: 'Time intervals',
defaultMessage: 'Time interval',
})}
>
{intervalIsRestricted ? (
Expand Down

0 comments on commit fdbdddd

Please sign in to comment.