mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Maps] Language improvements (#29473)
This commit is contained in:
parent
006cd31007
commit
e1a1bb8359
12 changed files with 17 additions and 17 deletions
|
@ -197,7 +197,7 @@ app.controller('GisMapController', ($scope, $route, config, kbnUrl, localStorage
|
|||
// k7design breadcrumbs
|
||||
// TODO subscribe to store change and change when store updates title
|
||||
chrome.breadcrumbs.set([
|
||||
{ text: 'Map', href: '#' },
|
||||
{ text: 'Maps', href: '#' },
|
||||
{ text: $scope.getMapTitle() }
|
||||
]);
|
||||
config.watch('k7design', (val) => $scope.showPluginBreadcrumbs = !val);
|
||||
|
|
|
@ -46,7 +46,7 @@ export function SettingsPanel(props) {
|
|||
const renderZoomSliders = () => {
|
||||
return (
|
||||
<EuiFormRow
|
||||
helpText="Display layer when map is within zoom level range."
|
||||
helpText="Display layer when map is in zoom range."
|
||||
>
|
||||
<EuiFlexGroup>
|
||||
<EuiFlexItem>
|
||||
|
@ -85,7 +85,7 @@ export function SettingsPanel(props) {
|
|||
const renderLabel = () => {
|
||||
return (
|
||||
<EuiFormRow
|
||||
label="Layer display name"
|
||||
label="Layer name"
|
||||
>
|
||||
<EuiFieldText
|
||||
value={props.label}
|
||||
|
|
|
@ -78,7 +78,7 @@ export class SetView extends React.Component {
|
|||
min: -90,
|
||||
max: 90,
|
||||
onChange: this._onLatChange,
|
||||
label: 'latitude',
|
||||
label: 'Latitude',
|
||||
dataTestSubj: 'latitudeInput',
|
||||
});
|
||||
|
||||
|
@ -87,7 +87,7 @@ export class SetView extends React.Component {
|
|||
min: -180,
|
||||
max: 180,
|
||||
onChange: this._onLonChange,
|
||||
label: 'longitude',
|
||||
label: 'Longitude',
|
||||
dataTestSubj: 'longitudeInput',
|
||||
});
|
||||
|
||||
|
@ -96,7 +96,7 @@ export class SetView extends React.Component {
|
|||
min: 0,
|
||||
max: 24,
|
||||
onChange: this._onZoomChange,
|
||||
label: 'zoom',
|
||||
label: 'Zoom',
|
||||
dataTestSubj: 'zoomInput',
|
||||
});
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ export function ViewControl({ isSetViewOpen, closeSetView, openSetView, mouseCoo
|
|||
onClick={toggleSetViewVisibility}
|
||||
data-test-subj="toggleSetViewVisibilityButton"
|
||||
>
|
||||
Goto
|
||||
Go to
|
||||
</EuiButton>)}
|
||||
isOpen={isSetViewOpen}
|
||||
closePopover={closeSetView}
|
||||
|
|
|
@ -324,7 +324,7 @@ export class MapListing extends React.Component {
|
|||
data-test-subj="newMapLink"
|
||||
fill
|
||||
>
|
||||
Create new map
|
||||
Create map
|
||||
</EuiButton>
|
||||
</EuiFlexItem>
|
||||
);
|
||||
|
@ -337,7 +337,7 @@ export class MapListing extends React.Component {
|
|||
<EuiFlexItem grow={false}>
|
||||
<EuiTitle size="l">
|
||||
<h1>
|
||||
GIS maps
|
||||
Maps
|
||||
</h1>
|
||||
</EuiTitle>
|
||||
</EuiFlexItem>
|
||||
|
|
|
@ -34,7 +34,7 @@ const requestTypeOptions = [
|
|||
value: RENDER_AS.GRID
|
||||
},
|
||||
{
|
||||
label: 'heatmap',
|
||||
label: 'heat map',
|
||||
value: RENDER_AS.HEATMAP
|
||||
}
|
||||
];
|
||||
|
|
|
@ -52,7 +52,7 @@ export class ESGeoGridSource extends AbstractESSource {
|
|||
|
||||
static type = 'ES_GEO_GRID';
|
||||
static title = 'Elasticsearch grid aggregation';
|
||||
static description = 'Group geospatial data in grids with metrics for each gridded cell';
|
||||
static description = 'Geospatial data grouped in grids with metrics for each gridded cell';
|
||||
|
||||
static createDescriptor({ indexPatternId, geoField, requestType, resolution }) {
|
||||
return {
|
||||
|
|
|
@ -22,7 +22,7 @@ export class ESSearchSource extends AbstractESSource {
|
|||
|
||||
static type = 'ES_SEARCH';
|
||||
static title = 'Elasticsearch documents';
|
||||
static description = 'Geospatial data from an Elasticsearch index';
|
||||
static description = 'Geospatial data from a Kibana index pattern';
|
||||
|
||||
static renderEditor({ onPreviewSource }) {
|
||||
const onSelect = (layerConfig) => {
|
||||
|
|
|
@ -80,7 +80,7 @@ export class UpdateSourceEditor extends Component {
|
|||
|
||||
<EuiFormRow>
|
||||
<EuiSwitch
|
||||
label="Only filter for data in the visible map area"
|
||||
label="Dynamically filter for data in the visible map area."
|
||||
checked={this.props.filterByMapBounds}
|
||||
onChange={this.onFilterByMapBoundsChange}
|
||||
/>
|
||||
|
|
|
@ -129,12 +129,12 @@ class WMSEditor extends React.Component {
|
|||
onChange={(e) => this._handleServiceUrlChange(e)}
|
||||
/>
|
||||
</EuiFormRow>
|
||||
<EuiFormRow label="Layers (comma-separated list)">
|
||||
<EuiFormRow label="Layers" helpText={"use comma separated list of layer names"}>
|
||||
<EuiFieldText
|
||||
onChange={(e) => this._handleLayersChange(e)}
|
||||
/>
|
||||
</EuiFormRow>
|
||||
<EuiFormRow label="Styles (comma-separated list)">
|
||||
<EuiFormRow label="Styles" helpText={"use comma separated list of style names"}>
|
||||
<EuiFieldText
|
||||
onChange={(e) => this._handleStylesChange(e)}
|
||||
/>
|
||||
|
|
|
@ -93,7 +93,7 @@ export class StaticDynamicStyleRow extends React.Component {
|
|||
render() {
|
||||
const isDynamic = this._isDynamic();
|
||||
const dynamicTooltipContent =
|
||||
isDynamic ? "Disable dynamic styling." : "Enable dynamic styling.";
|
||||
isDynamic ? "Use static styling properties to symbolize features." : "Use property values to symbolize features.";
|
||||
|
||||
return (
|
||||
<EuiFlexGroup gutterSize="s">
|
||||
|
|
|
@ -45,7 +45,7 @@ export class VectorStyle {
|
|||
return 'Vector style';
|
||||
}
|
||||
|
||||
static description = 'Link styles to property values for data driven styling.';
|
||||
static description = '';
|
||||
|
||||
static renderEditor({ handleStyleChange, style, layer }) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue