Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
[Bug] add hexagon layer translation (#1114)
Shan He87c1eab8758b
diff --git a/src/components/side-panel/layer-panel/layer-configurator.js b/src/components/side-panel/layer-panel/layer-configurator.jsindex d2c4cb003..383a11722 100644--- a/src/components/side-panel/layer-panel/layer-configurator.js+++ b/src/components/side-panel/layer-panel/layer-configurator.js@@ -112,7 +112,7 @@ export default function LayerConfiguratorFactory(SourceDataSelector) {<StyledLayerVisualConfigurator>{/* Fill Color */}<LayerConfigGroup- {...layer.visConfigSettings.filled}+ {...layer.visConfigSettings.filled || {label: 'layer.color'}}{...visConfiguratorProps}collapsible>@@ -154,7 +154,6 @@ export default function LayerConfiguratorFactory(SourceDataSelector) {<VisConfigSlider{...layer.visConfigSettings.thickness}{...visConfiguratorProps}- label="Stroke Width (Pixels)"disabled={!layer.config.visConfig.outline}/></ConfigGroupCollapsibleContent>diff --git a/src/localization/ca.js b/src/localization/ca.jsindex 906e16287..5e6339df8 100644--- a/src/localization/ca.js+++ b/src/localization/ca.js@@ -112,8 +112,9 @@ export default {geojson: 'geojson',cluster: 'cluster',icon: 'icona',- heatmap: ' heatmap',- h3: 'H3',+ heatmap: 'heatmap',+ hexagon: 'hexàgon',+ hexagonid: 'H3',trip: 'viatge',s2: 'S2','3d': '3D'diff --git a/src/localization/en.js b/src/localization/en.jsindex e0944bbd9..8fa41c9e8 100644--- a/src/localization/en.js+++ b/src/localization/en.js@@ -26,6 +26,7 @@ export default {label: 'label',fillColor: 'fill color',color: 'color',+ coverage: 'coverage',strokeColor: 'stroke color',radius: 'radius',outline: 'outline',@@ -112,15 +113,16 @@ export default {geojson: 'geojson',cluster: 'cluster',icon: 'icon',- heatmap: ' heatmap',- h3: 'H3',+ heatmap: 'heatmap',+ hexagon: 'hexagon',+ hexagonid: 'H3',trip: 'trip',s2: 'S2','3d': '3D'}},layerVisConfigs: {- strokeWidth: 'Stroke Width',+ strokeWidth: 'Stroke Width (Pixels)',strokeWidthRange: 'Stroke Width Range',radius: 'Radius',fixedRadius: 'Fixed Radius to meter',@@ -402,7 +404,8 @@ export default {},hexagon: {worldUnitSize: 'Hexagon Radius (km)'- }+ },+ hex_id: 'hex id'},color: {customPalette: 'Custom Palette',diff --git a/src/localization/es.js b/src/localization/es.jsindex 3de3a5a39..093e76f68 100644--- a/src/localization/es.js+++ b/src/localization/es.js@@ -113,7 +113,8 @@ export default {cluster: 'cluster',icon: 'icono',heatmap: 'concentración',- h3: 'H3',+ hexagon: 'hexágono',+ hexagonid: 'H3',trip: 'viaje',s2: 'S2','3d': '3D'diff --git a/src/localization/fi.js b/src/localization/fi.jsindex ba4faa84b..a653ab091 100644--- a/src/localization/fi.js+++ b/src/localization/fi.js@@ -112,8 +112,9 @@ export default {geojson: 'geojson',cluster: 'klusteri',icon: 'kuva',- heatmap: ' lämpökartta',- h3: 'H3',+ heatmap: 'lämpökartta',+ hexagon: 'kuusikulmio',+ hexagonid: 'H3',trip: 'matka',s2: 'S2','3d': '3D'diff --git a/src/localization/pt.js b/src/localization/pt.jsindex dcdcb711d..0193290e0 100644--- a/src/localization/pt.js+++ b/src/localization/pt.js@@ -112,8 +112,9 @@ export default {geojson: 'geojson',cluster: 'grupo',icon: 'icon',- heatmap: ' mapa de calor',- h3: 'H3',+ heatmap: 'mapa de calor',+ hexagon: 'hexágono',+ hexagonid: 'H3',trip: 'viagem',s2: 'S2','3d': '3D'