Skip to content

Commit

Permalink
[Maps] Improve language for mvt card (#71947) (#74081)
Browse files Browse the repository at this point in the history
This reduces ambiguity about the source type.
  • Loading branch information
thomasneirynck authored Aug 3, 2020
1 parent 1406b37 commit f20a21a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -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',
}
)}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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' },
]);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
}
);

Expand Down

0 comments on commit f20a21a

Please sign in to comment.