[Maps] Improve language for mvt card (#71947)

This reduces ambiguity about the source type.
This commit is contained in:
Thomas Neirynck 2020-07-15 21:10:24 -04:00 committed by GitHub
parent 47a5ab47cf
commit 06355e8bb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View file

@ -8,7 +8,7 @@ exports[`should not render fields-editor when there is no layername 1`] = `
fullWidth={false}
hasChildLabel={true}
hasEmptyLabelSpace={false}
label="Tile layer"
label="Source layer"
labelType="label"
>
<EuiFieldText
@ -64,7 +64,7 @@ exports[`should render with fields 1`] = `
fullWidth={false}
hasChildLabel={true}
hasEmptyLabelSpace={false}
label="Tile layer"
label="Source layer"
labelType="label"
>
<EuiFieldText
@ -162,7 +162,7 @@ exports[`should render without fields 1`] = `
fullWidth={false}
hasChildLabel={true}
hasEmptyLabelSpace={false}
label="Tile layer"
label="Source layer"
labelType="label"
>
<EuiFieldText

View file

@ -133,7 +133,7 @@ export class MVTSingleLayerSourceSettings extends Component<Props, State> {
label={i18n.translate(
'xpack.maps.source.MVTSingleLayerVectorSourceEditor.layerNameMessage',
{
defaultMessage: 'Tile layer',
defaultMessage: 'Source layer',
}
)}
>

View file

@ -84,7 +84,7 @@ describe('getImmutableSourceProperties', () => {
const source = new MVTSingleLayerVectorSource(descriptor);
const properties = await source.getImmutableProperties();
expect(properties).toEqual([
{ label: 'Data source', value: '.pbf vector tiles' },
{ label: 'Data source', value: 'Vector tiles' },
{ label: 'Url', value: 'https://example.com/{x}/{y}/{z}.pbf' },
]);
});

View file

@ -32,7 +32,7 @@ import { ITooltipProperty, TooltipProperty } from '../../tooltips/tooltip_proper
export const sourceTitle = i18n.translate(
'xpack.maps.source.MVTSingleLayerVectorSource.sourceTitle',
{
defaultMessage: '.pbf vector tiles',
defaultMessage: 'Vector tiles',
}
);