diff --git a/geonode_mapstore_client/client/MapStore2 b/geonode_mapstore_client/client/MapStore2 index e87a047ea8..c280b93d7f 160000 --- a/geonode_mapstore_client/client/MapStore2 +++ b/geonode_mapstore_client/client/MapStore2 @@ -1 +1 @@ -Subproject commit e87a047ea80601d2773c02e38dcafe884b0bf1ba +Subproject commit c280b93d7fc0e03fb5f3645c7d0c3edf5863f862 diff --git a/geonode_mapstore_client/client/js/plugins/ResourceDetails/ResourceDetails.jsx b/geonode_mapstore_client/client/js/plugins/ResourceDetails/ResourceDetails.jsx index dd414f15c8..7414f30a80 100644 --- a/geonode_mapstore_client/client/js/plugins/ResourceDetails/ResourceDetails.jsx +++ b/geonode_mapstore_client/client/js/plugins/ResourceDetails/ResourceDetails.jsx @@ -247,7 +247,7 @@ function ResourceDetailsPanel({ { "type": "share", "id": "share", - "labelId": "gnviewer.share", + "labelId": "gnviewer.security", "disableIf": "{not canAccessPermissions(state('gnResourceData'))}", "items": [true] }, @@ -427,7 +427,7 @@ export default createPlugin('ResourceDetails', { priority: 1, doNotHide: true }, { - name: 'ShareActionButton', + name: 'PermissionButton', Component: connect( createSelector( isNewResource, @@ -450,7 +450,7 @@ export default createPlugin('ResourceDetails', { onSelectTab('share'); }} > - + : null; }), diff --git a/geonode_mapstore_client/client/js/plugins/ResourceDetails/components/DetailsToolbar.jsx b/geonode_mapstore_client/client/js/plugins/ResourceDetails/components/DetailsToolbar.jsx index 854414237c..83a2587fb9 100644 --- a/geonode_mapstore_client/client/js/plugins/ResourceDetails/components/DetailsToolbar.jsx +++ b/geonode_mapstore_client/client/js/plugins/ResourceDetails/components/DetailsToolbar.jsx @@ -57,7 +57,8 @@ function DetailsToolbarButton({ function DetailsToolbar({ resource, items = [], - showViewerButton = false + showViewerButton = false, + onToggleShare = () => {} }) { const { @@ -66,7 +67,6 @@ function DetailsToolbar({ } = resource?.['@extras'] || {}; const [copiedUrl, setCopiedUrl] = useState({ - resource: false, datasetowsurl: false }); @@ -80,6 +80,14 @@ function DetailsToolbar({ }, 700); }; + function handleShare(event) { + event.stopPropagation(); + onToggleShare({ + shareUrl: formatResourceLinkUrl(resource), + categoryName: (resource?.category?.name || '').toLowerCase() + }); + } + return ( @@ -90,21 +98,14 @@ function DetailsToolbar({ resource={resource} component={DetailsToolbarButton} />))} - - - + + {resource?.dataset_ows_url && { + beforeEach((done) => { + document.body.innerHTML = '
'; + setTimeout(done); + }); + + afterEach((done) => { + ReactDOM.unmountComponentAtNode(document.getElementById('container')); + document.body.innerHTML = ''; + setTimeout(done); + }); + + it('should render DetailsToolbar with default props and share button', () => { + ReactDOM.render( + , + document.getElementById('container') + ); + + const shareGlyph = document.querySelector('.glyphicon-share-alt'); + expect(shareGlyph).toBeTruthy(); + }); + + it('should trigger onToggleShare when clicking the share button', () => { + let sharePayload = null; + + const resource = { + pk: 123, + uuid: 'test-uuid-123', + category: { name: 'Vector' } + }; + + ReactDOM.render( + { + sharePayload = payload; + }} + />, + document.getElementById('container') + ); + + const shareGlyph = document.querySelector('.glyphicon-share-alt'); + expect(shareGlyph).toBeTruthy(); + + const shareButton = shareGlyph.closest('button'); + expect(shareButton).toBeTruthy(); + + Simulate.click(shareButton); + + expect(sharePayload).toBeTruthy(); + expect(sharePayload.shareUrl).toContain('/catalogue/uuid/test-uuid-123'); + expect(sharePayload.categoryName).toBe('vector'); + }); + + it('should handle resource without category when clicking share button', () => { + let sharePayload = null; + + const resource = { + pk: 456, + uuid: 'test-uuid-456' + }; + + ReactDOM.render( + { + sharePayload = payload; + }} + />, + document.getElementById('container') + ); + + const shareGlyph = document.querySelector('.glyphicon-share-alt'); + const shareButton = shareGlyph.closest('button'); + Simulate.click(shareButton); + + expect(sharePayload).toBeTruthy(); + expect(sharePayload.shareUrl).toContain('/catalogue/uuid/test-uuid-456'); + expect(sharePayload.categoryName).toBe(''); + }); + + it('should render custom toolbar items', () => { + const CustomItem = ({ resource }) => ( +
{resource?.title}
+ ); + + const resource = { title: 'Test Resource' }; + const items = [ + { name: 'customItem', Component: CustomItem } + ]; + + ReactDOM.render( + , + document.getElementById('container') + ); + + const customElem = document.querySelector('.custom-toolbar-item'); + expect(customElem).toBeTruthy(); + expect(customElem.textContent).toBe('Test Resource'); + }); + + it('should render copy dataset ows url button when dataset_ows_url is provided', () => { + const resource = { + dataset_ows_url: 'https://example.com/geoserver/ows' + }; + + ReactDOM.render( + , + document.getElementById('container') + ); + + const globeGlyph = document.querySelector('.glyphicon-globe'); + expect(globeGlyph).toBeTruthy(); + + const copyButton = globeGlyph.closest('button'); + expect(copyButton).toBeTruthy(); + Simulate.click(copyButton); + }); + + it('should render viewer button when showViewerButton is true and viewerUrl exists', () => { + const resource = { + '@extras': { + info: { + viewerUrl: '/catalogue/#/map/1', + typeName: 'Map' + } + } + }; + + ReactDOM.render( + , + document.getElementById('container') + ); + + const linkButton = document.querySelector('a.btn-primary'); + expect(linkButton).toBeTruthy(); + expect(linkButton.getAttribute('href')).toBe('/catalogue/#/map/1'); + }); + + it('should render metadata detail button when showViewerButton is true and only metadataDetailUrl exists', () => { + const resource = { + '@extras': { + info: { + metadataDetailUrl: '/catalogue/#/dataset/1/metadata' + } + } + }; + + ReactDOM.render( + , + document.getElementById('container') + ); + + const linkButton = document.querySelector('a.btn-primary'); + expect(linkButton).toBeTruthy(); + expect(linkButton.getAttribute('href')).toBe('/catalogue/#/dataset/1/metadata'); + }); + + it('should not render viewer button when showViewerButton is false', () => { + const resource = { + '@extras': { + info: { + viewerUrl: '/catalogue/#/map/1', + typeName: 'Map' + } + } + }; + + ReactDOM.render( + , + document.getElementById('container') + ); + + const linkButton = document.querySelector('a.btn-primary'); + expect(linkButton).toBeFalsy(); + }); +}); diff --git a/geonode_mapstore_client/client/js/plugins/ResourceDetails/containers/DetailsPanel.jsx b/geonode_mapstore_client/client/js/plugins/ResourceDetails/containers/DetailsPanel.jsx index ee50f04632..32e3ed0826 100644 --- a/geonode_mapstore_client/client/js/plugins/ResourceDetails/containers/DetailsPanel.jsx +++ b/geonode_mapstore_client/client/js/plugins/ResourceDetails/containers/DetailsPanel.jsx @@ -43,6 +43,7 @@ import { getMonitoredStateSelector, getRouterLocation, getDetailPanelTab } from import withScrollableTabs from '@js/components/enhancers/withScrollableTabs'; import { getMessageById } from '@mapstore/framework/utils/LocaleUtils'; import { setDetailPanelTab } from '@mapstore/framework/plugins/ResourcesCatalog/actions/resources'; +import { toggleControl, setControlProperty } from '@mapstore/framework/actions/controls'; const DetailsInfo = withScrollableTabs(DetailsInfoComp); const transformValue = (obj, messages) => { @@ -97,7 +98,8 @@ function DetailsPanel({ panelRef, showViewerButton, selectedTab, - onSelectTab + onSelectTab, + onToggleShare }, context) { const resource = parseCatalogResource(resourceProp); @@ -124,6 +126,7 @@ function DetailsPanel({ resource={resource} items={toolbarItems} showViewerButton={showViewerButton} + onToggleShare={onToggleShare} />} onClose={onClose} thumbnailComponent={ConnectedDetailsThumbnail} @@ -188,9 +191,13 @@ const ConnectedDetailsPanel = connect( location: getRouterLocation, selectedTab: getDetailPanelTab }), - { - onSelectTab: setDetailPanelTab - } + (dispatch) => ({ + onSelectTab: (...args) => dispatch(setDetailPanelTab(...args)), + onToggleShare: (...args) => { + dispatch(toggleControl('share', null)); + dispatch(setControlProperty('share', 'resource', ...args)); + } + }) )(DetailsPanel); export default ConnectedDetailsPanel; diff --git a/geonode_mapstore_client/client/js/plugins/Share.jsx b/geonode_mapstore_client/client/js/plugins/Share.jsx new file mode 100644 index 0000000000..69637c698d --- /dev/null +++ b/geonode_mapstore_client/client/js/plugins/Share.jsx @@ -0,0 +1,71 @@ +/* + * Copyright 2026, GeoSolutions Sas. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. + */ + +import React from 'react'; +import { connect } from 'react-redux'; +import { getResourceData } from '@js/selectors/resource'; +import { toggleControl, setControlProperty } from '@mapstore/framework/actions/controls'; +import { formatResourceLinkUrl } from '@js/utils/ResourceUtils'; +import Button from '@mapstore/framework/components/layout/Button'; +import Message from '@mapstore/framework/components/I18N/Message'; +import SharePlugin from '@mapstore/framework/plugins/Share'; + +const ShareActionButton = connect( + (state) => ({ + resource: getResourceData(state) + }), + { + onToggleShare: toggleControl.bind(null, 'share', null), + onSetShareResource: setControlProperty.bind(null, 'share', 'resource') + } +)(({ + variant, + size, + className, + disabled, + resource, + onToggleShare = () => {}, + onSetShareResource = () => {} +}) => { + function handleShare(event) { + if (event?.stopPropagation) { + event.stopPropagation(); + } + onSetShareResource({ + shareUrl: formatResourceLinkUrl(resource), + categoryName: (resource?.category?.name || '').toLowerCase() + }); + onToggleShare(); + } + return ( + + ); +}); + +const { SharePlugin: Share, ...pluginParts } = SharePlugin; + +// extend the MapStore Share plugin with the GeoNode ActionNavbar item +export default { + ...pluginParts, + SharePlugin: Object.assign(Share, { + ActionNavbar: { + name: 'ShareActionButton', + Component: ShareActionButton, + priority: 1, + doNotHide: true + } + }) +}; diff --git a/geonode_mapstore_client/client/js/plugins/index.js b/geonode_mapstore_client/client/js/plugins/index.js index d36c86b574..5024ee2755 100644 --- a/geonode_mapstore_client/client/js/plugins/index.js +++ b/geonode_mapstore_client/client/js/plugins/index.js @@ -32,6 +32,7 @@ import MetadataEditorPlugin from '@js/plugins/MetadataEditor'; import MetadataViewerPlugin from '@js/plugins/MetadataEditor/MetadataViewer'; import FavoritesPlugin from '@js/plugins/Favorites'; import CreateDatasetPlugin from '@js/plugins/CreateDataset'; +import SharePlugin from '@js/plugins/Share'; import { ResourcesGridPlugin, ResourcesFiltersFormPlugin @@ -96,6 +97,7 @@ export const plugins = { BackgroundSelectorPlugin: BackgroundSelector, CameraPositionPlugin: CameraPosition, CRSSelectorPlugin: CRSSelector, + SharePlugin, LayerDownloadPlugin: toModulePlugin( 'LayerDownload', () => import(/* webpackChunkName: 'plugins/layer-download' */ '@mapstore/framework/plugins/LayerDownload'), diff --git a/geonode_mapstore_client/client/themes/geonode/less/ms-theme.less b/geonode_mapstore_client/client/themes/geonode/less/ms-theme.less index 1a0255b510..fc92753a32 100644 --- a/geonode_mapstore_client/client/themes/geonode/less/ms-theme.less +++ b/geonode_mapstore_client/client/themes/geonode/less/ms-theme.less @@ -253,4 +253,13 @@ div#mapstore-globalspinner { #mapstore-map-footer #mapstore-mouseposition { height: auto; +} + +.dropdown.btn-group { + .btn + .btn, + .btn + .btn-group, + .btn-group + .btn, + .btn-group + .btn-group { + margin-left: 0px; + } } \ No newline at end of file diff --git a/geonode_mapstore_client/static/mapstore/configs/localConfig.json b/geonode_mapstore_client/static/mapstore/configs/localConfig.json index 056ccd2b84..7f80fe58b7 100644 --- a/geonode_mapstore_client/static/mapstore/configs/localConfig.json +++ b/geonode_mapstore_client/static/mapstore/configs/localConfig.json @@ -689,9 +689,19 @@ ] }, { - "type": "plugin", - "name": "ShareActionButton", - "disableIf": "{not canShareResource(state('isNewResource'), state('gnResourceData'))}" + "labelId": "gnviewer.share", + "type": "dropdown", + "disableIf": "{not canShareResource(state('isNewResource'), state('gnResourceData'))}", + "items": [ + { + "type": "plugin", + "name": "ShareActionButton" + }, + { + "type": "plugin", + "name": "PermissionButton" + } + ] }, { "type": "divider", @@ -1311,6 +1321,20 @@ { "value": "EPSG:3857", "label": "EPSG:3857" } ] } + }, + { + "name": "Share", + "mandatory": true, + "hideFrom": ["SidebarMenu"], + "cfg": { + "showAPI": false, + "socialPanel": false, + "advancedSettings": false, + "embedOptions": { + "showTOCToggle": false, + "allowFullScreen": false + } + } } ], "dataset_viewer_non_spatial": [ @@ -1411,9 +1435,19 @@ ] }, { - "type": "plugin", - "name": "ShareActionButton", - "disableIf": "{not canShareResource(state('isNewResource'), state('gnResourceData'))}" + "labelId": "gnviewer.share", + "type": "dropdown", + "disableIf": "{not canShareResource(state('isNewResource'), state('gnResourceData'))}", + "items": [ + { + "type": "plugin", + "name": "ShareActionButton" + }, + { + "type": "plugin", + "name": "PermissionButton" + } + ] }, { "type": "divider", @@ -1981,9 +2015,19 @@ ] }, { - "type": "plugin", - "name": "ShareActionButton", - "disableIf": "{not canShareResource(state('isNewResource'), state('gnResourceData'))}" + "labelId": "gnviewer.share", + "type": "dropdown", + "disableIf": "{not canShareResource(state('isNewResource'), state('gnResourceData'))}", + "items": [ + { + "type": "plugin", + "name": "ShareActionButton" + }, + { + "type": "plugin", + "name": "PermissionButton" + } + ] }, { "type": "divider", @@ -2016,6 +2060,14 @@ "closeOnClickOut": true } }, + { + "name": "Share", + "hideFrom": ["SidebarMenu"], + "mandatory": true, + "cfg": { + "socialPanel": false + } + }, { "name": "BackgroundSelector" }, @@ -2731,9 +2783,19 @@ ] }, { - "type": "plugin", - "name": "ShareActionButton", - "disableIf": "{not canShareResource(state('isNewResource'), state('gnResourceData'))}" + "labelId": "gnviewer.share", + "type": "dropdown", + "disableIf": "{not canShareResource(state('isNewResource'), state('gnResourceData'))}", + "items": [ + { + "type": "plugin", + "name": "ShareActionButton" + }, + { + "type": "plugin", + "name": "PermissionButton" + } + ] } ] } @@ -2842,6 +2904,19 @@ }, { "name": "MetadataViewer" + }, + { + "name": "Share", + "mandatory": true, + "cfg": { + "showAPI": false, + "socialPanel": false, + "advancedSettings": false, + "embedOptions": { + "showTOCToggle": false, + "allowFullScreen": false + } + } } ], "document_viewer": [ @@ -2927,9 +3002,19 @@ ] }, { - "type": "plugin", - "name": "ShareActionButton", - "disableIf": "{not canShareResource(state('isNewResource'), state('gnResourceData'))}" + "labelId": "gnviewer.share", + "type": "dropdown", + "disableIf": "{not canShareResource(state('isNewResource'), state('gnResourceData'))}", + "items": [ + { + "type": "plugin", + "name": "ShareActionButton" + }, + { + "type": "plugin", + "name": "PermissionButton" + } + ] } ] } @@ -3023,6 +3108,19 @@ "cfg": { "containerPosition": "header" } + }, + { + "name": "Share", + "mandatory": true, + "cfg": { + "showAPI": false, + "socialPanel": false, + "advancedSettings": false, + "embedOptions": { + "showTOCToggle": false, + "allowFullScreen": false + } + } } ], "dashboard_viewer": [ @@ -3100,9 +3198,19 @@ ] }, { - "type": "plugin", - "name": "ShareActionButton", - "disableIf": "{not canShareResource(state('isNewResource'), state('gnResourceData'))}" + "labelId": "gnviewer.share", + "type": "dropdown", + "disableIf": "{not canShareResource(state('isNewResource'), state('gnResourceData'))}", + "items": [ + { + "type": "plugin", + "name": "ShareActionButton" + }, + { + "type": "plugin", + "name": "PermissionButton" + } + ] }, { "type": "divider", @@ -3329,6 +3437,19 @@ "titleMsgId": "widgets.mapWidget.mapEditorTitle", "overrideDefaultPlugins": ["FeatureEditor"] } + }, + { + "name": "Share", + "mandatory": true, + "cfg": { + "showAPI": false, + "socialPanel": false, + "advancedSettings": false, + "embedOptions": { + "showTOCToggle": false, + "allowFullScreen": false + } + } } ], "map_viewer_mobile": [ @@ -4019,6 +4140,20 @@ }, { "name": "Favorites" + }, + { + "name": "Share", + "cfg": { + "showAPI": false, + "socialPanel": false, + "draggable": false, + "advancedSettings": false, + "embedOptions": { + "showTOCToggle": false, + "allowFullScreen": false + } + }, + "mandatory": true } ], "viewer": [ @@ -4093,9 +4228,19 @@ ] }, { - "type": "plugin", - "name": "ShareActionButton", - "disableIf": "{not canShareResource(state('isNewResource'), state('gnResourceData'))}" + "labelId": "gnviewer.share", + "type": "dropdown", + "disableIf": "{not canShareResource(state('isNewResource'), state('gnResourceData'))}", + "items": [ + { + "type": "plugin", + "name": "ShareActionButton" + }, + { + "type": "plugin", + "name": "PermissionButton" + } + ] }, { "type": "divider" @@ -4158,6 +4303,19 @@ }, { "name": "MetadataViewer" + }, + { + "name": "Share", + "mandatory": true, + "cfg": { + "showAPI": false, + "socialPanel": false, + "advancedSettings": false, + "embedOptions": { + "showTOCToggle": false, + "allowFullScreen": false + } + } } ], "metadata": [ diff --git a/geonode_mapstore_client/static/mapstore/gn-translations/data.de-DE.json b/geonode_mapstore_client/static/mapstore/gn-translations/data.de-DE.json index 33d05408aa..1d42b3ba05 100644 --- a/geonode_mapstore_client/static/mapstore/gn-translations/data.de-DE.json +++ b/geonode_mapstore_client/static/mapstore/gn-translations/data.de-DE.json @@ -217,6 +217,7 @@ "permissionsEntriesNoResults": "Keine Ergebnisse...", "shareThisResource": "Mit Personen oder Gruppen teilen", "embed": "Einbetten", + "security": "Sicherheit", "deleteResourceTitle": "{count, plural, =1 {Möchten Sie diese Ressource wirklich löschen?} other {Möchten Sie diese Ressourcen wirklich löschen?}}", "deleteResourceNo": "{count, plural, =1 {Nein, nicht löschen} other {Nein, lösche sie nicht}}", "deleteResourceYes": "Ja, ich bin sicher", diff --git a/geonode_mapstore_client/static/mapstore/gn-translations/data.en-US.json b/geonode_mapstore_client/static/mapstore/gn-translations/data.en-US.json index 8cb843cc24..82e49e9da6 100644 --- a/geonode_mapstore_client/static/mapstore/gn-translations/data.en-US.json +++ b/geonode_mapstore_client/static/mapstore/gn-translations/data.en-US.json @@ -217,6 +217,7 @@ "permissionsEntriesNoResults": "No Results...", "shareThisResource": "Share with people and groups", "embed": "Embed", + "security": "Security", "deleteResourceTitle": "{count, plural, =1 {Are you sure you want to delete this resource?} other {Are you sure you want to delete these resources?}}", "deleteResourceNo": "{count, plural, =1 {No, don't delete it} other {No, don't delete them}}", "deleteResourceYes": "Yes, I am sure", diff --git a/geonode_mapstore_client/static/mapstore/gn-translations/data.es-ES.json b/geonode_mapstore_client/static/mapstore/gn-translations/data.es-ES.json index e73aa8ff61..646366d762 100644 --- a/geonode_mapstore_client/static/mapstore/gn-translations/data.es-ES.json +++ b/geonode_mapstore_client/static/mapstore/gn-translations/data.es-ES.json @@ -217,6 +217,7 @@ "permissionsEntriesNoResults": "Sin resultados ...", "shareThisResource": "Comparte con personas y grupos", "embed": "Insertar", + "security": "Seguridad", "deleteResourceTitle": "{count, plural, =1 {¿Estás seguro de que deseas eliminar este recurso?} other {¿Está seguro de que desea eliminar estos recursos?}}", "deleteResourceNo": "{count, plural, =1 {No, no lo borres} other {No, no los borres}}", "deleteResourceYes": "Sí, estoy seguro", diff --git a/geonode_mapstore_client/static/mapstore/gn-translations/data.fi-FI.json b/geonode_mapstore_client/static/mapstore/gn-translations/data.fi-FI.json index c92cde44f5..ab6f5d0d58 100644 --- a/geonode_mapstore_client/static/mapstore/gn-translations/data.fi-FI.json +++ b/geonode_mapstore_client/static/mapstore/gn-translations/data.fi-FI.json @@ -215,6 +215,7 @@ "permissionsEntriesNoResults": "No Results...", "shareThisResource": "Share with people and groups", "embed": "Embed", + "security": "Security", "deleteResourceTitle": "{count, plural, =1 {Are you sure you want to delete this resource?} other {Are you sure you want to delete these resources?}}", "deleteResourceNo": "{count, plural, =1 {No, don't delete it} other {No, don't delete them}}", "deleteResourceYes": "Yes, I am sure", diff --git a/geonode_mapstore_client/static/mapstore/gn-translations/data.fr-FR.json b/geonode_mapstore_client/static/mapstore/gn-translations/data.fr-FR.json index d3eb2ae9d9..d6815c07ef 100644 --- a/geonode_mapstore_client/static/mapstore/gn-translations/data.fr-FR.json +++ b/geonode_mapstore_client/static/mapstore/gn-translations/data.fr-FR.json @@ -217,6 +217,7 @@ "permissionsEntriesNoResults": "Aucun résultat...", "shareThisResource": "Partager avec des personnes et des groupes", "embed": "Intégrer", + "security": "Sécurité", "deleteResourceTitle": "{count, plural, =1 {Voulez-vous vraiment supprimer cette ressource?} other {Voulez-vous vraiment supprimer ces ressources?}}", "deleteResourceNo": "{count, plural, =1 {Non, ne le supprime pas} other {Non, ne les supprime pas}}", "deleteResourceYes": "Oui, je suis sûr", diff --git a/geonode_mapstore_client/static/mapstore/gn-translations/data.hr-HR.json b/geonode_mapstore_client/static/mapstore/gn-translations/data.hr-HR.json index 0c89021f5a..cc6882039e 100644 --- a/geonode_mapstore_client/static/mapstore/gn-translations/data.hr-HR.json +++ b/geonode_mapstore_client/static/mapstore/gn-translations/data.hr-HR.json @@ -215,6 +215,7 @@ "permissionsEntriesNoResults": "No Results...", "shareThisResource": "Share with people and groups", "embed": "Embed", + "security": "Security", "deleteResourceTitle": "{count, plural, =1 {Are you sure you want to delete this resource?} other {Are you sure you want to delete these resources?}}", "deleteResourceNo": "{count, plural, =1 {No, don't delete it} other {No, don't delete them}}", "deleteResourceYes": "Yes, I am sure", diff --git a/geonode_mapstore_client/static/mapstore/gn-translations/data.it-IT.json b/geonode_mapstore_client/static/mapstore/gn-translations/data.it-IT.json index ce59257d9e..12db4817d7 100644 --- a/geonode_mapstore_client/static/mapstore/gn-translations/data.it-IT.json +++ b/geonode_mapstore_client/static/mapstore/gn-translations/data.it-IT.json @@ -219,6 +219,7 @@ "permissionsEntriesNoResults": "Nessun risultato...", "shareThisResource": "Condividi con utenti e gruppi", "embed": "Incorpora", + "security": "Sicurezza", "deleteResourceTitle": "{count, plural, =1 {Sei sicuro di voler eliminare questa risorsa?} other {Sei sicuro di voler eliminare queste risorse?}}", "deleteResourceNo": "{count, plural, =1 {No, non eliminarlo} other {No, non eliminarli}}", "deleteResourceYes": "Sì, sono sicuro", diff --git a/geonode_mapstore_client/static/mapstore/gn-translations/data.nl-NL.json b/geonode_mapstore_client/static/mapstore/gn-translations/data.nl-NL.json index 23672b2cf5..ee8f293028 100644 --- a/geonode_mapstore_client/static/mapstore/gn-translations/data.nl-NL.json +++ b/geonode_mapstore_client/static/mapstore/gn-translations/data.nl-NL.json @@ -215,6 +215,7 @@ "permissionsEntriesNoResults": "No Results...", "shareThisResource": "Share with people and groups", "embed": "Embed", + "security": "Security", "deleteResourceTitle": "{count, plural, =1 {Are you sure you want to delete this resource?} other {Are you sure you want to delete these resources?}}", "deleteResourceNo": "{count, plural, =1 {No, don't delete it} other {No, don't delete them}}", "deleteResourceYes": "Yes, I am sure", diff --git a/geonode_mapstore_client/static/mapstore/gn-translations/data.pt-BR.json b/geonode_mapstore_client/static/mapstore/gn-translations/data.pt-BR.json index cb25c747a5..a4a0d27492 100644 --- a/geonode_mapstore_client/static/mapstore/gn-translations/data.pt-BR.json +++ b/geonode_mapstore_client/static/mapstore/gn-translations/data.pt-BR.json @@ -209,6 +209,7 @@ "permissionsEntriesNoResults": "Sem Resultados...", "shareThisResource": "Compartilhar com pessoas ou grupos", "embed": "Embarcar em", + "security": "Segurança", "deleteResourceTitle": "{count, plural, =1 {Tem certeza que quer excluir este recurso?} other {Tem certeza que quer excluir estes recursos?}}", "deleteResourceNo": "{count, plural, =1 {Não, não exclua} other {Não, não exclua}}", "deleteResourceYes": "Sim, tenho certeza", diff --git a/geonode_mapstore_client/static/mapstore/gn-translations/data.pt-PT.json b/geonode_mapstore_client/static/mapstore/gn-translations/data.pt-PT.json index 634dc7c162..f50a997968 100644 --- a/geonode_mapstore_client/static/mapstore/gn-translations/data.pt-PT.json +++ b/geonode_mapstore_client/static/mapstore/gn-translations/data.pt-PT.json @@ -215,6 +215,7 @@ "permissionsEntriesNoResults": "No Results...", "shareThisResource": "Share with people and groups", "embed": "Embed", + "security": "Security", "deleteResourceTitle": "{count, plural, =1 {Are you sure you want to delete this resource?} other {Are you sure you want to delete these resources?}}", "deleteResourceNo": "{count, plural, =1 {No, don't delete it} other {No, don't delete them}}", "deleteResourceYes": "Yes, I am sure", diff --git a/geonode_mapstore_client/static/mapstore/gn-translations/data.sk-SK.json b/geonode_mapstore_client/static/mapstore/gn-translations/data.sk-SK.json index 348fadf1d8..402b894f68 100644 --- a/geonode_mapstore_client/static/mapstore/gn-translations/data.sk-SK.json +++ b/geonode_mapstore_client/static/mapstore/gn-translations/data.sk-SK.json @@ -215,6 +215,7 @@ "permissionsEntriesNoResults": "No Results...", "shareThisResource": "Share with people and groups", "embed": "Embed", + "security": "Security", "deleteResourceTitle": "{count, plural, =1 {Are you sure you want to delete this resource?} other {Are you sure you want to delete these resources?}}", "deleteResourceNo": "{count, plural, =1 {No, don't delete it} other {No, don't delete them}}", "deleteResourceYes": "Yes, I am sure", diff --git a/geonode_mapstore_client/static/mapstore/gn-translations/data.sv-SE.json b/geonode_mapstore_client/static/mapstore/gn-translations/data.sv-SE.json index 5b17e0e22d..93a53e9967 100644 --- a/geonode_mapstore_client/static/mapstore/gn-translations/data.sv-SE.json +++ b/geonode_mapstore_client/static/mapstore/gn-translations/data.sv-SE.json @@ -216,6 +216,7 @@ "permissionsEntriesNoResults": "No Results...", "shareThisResource": "Share with people and groups", "embed": "Embed", + "security": "Security", "deleteResourceTitle": "{count, plural, =1 {Are you sure you want to delete this resource?} other {Are you sure you want to delete these resources?}}", "deleteResourceNo": "{count, plural, =1 {No, don't delete it} other {No, don't delete them}}", "deleteResourceYes": "Yes, I am sure", diff --git a/geonode_mapstore_client/static/mapstore/gn-translations/data.vi-VN.json b/geonode_mapstore_client/static/mapstore/gn-translations/data.vi-VN.json index 1febcd92a0..50872bfcf0 100644 --- a/geonode_mapstore_client/static/mapstore/gn-translations/data.vi-VN.json +++ b/geonode_mapstore_client/static/mapstore/gn-translations/data.vi-VN.json @@ -215,6 +215,7 @@ "permissionsEntriesNoResults": "No Results...", "shareThisResource": "Share with people and groups", "embed": "Embed", + "security": "Security", "deleteResourceTitle": "{count, plural, =1 {Are you sure you want to delete this resource?} other {Are you sure you want to delete these resources?}}", "deleteResourceNo": "{count, plural, =1 {No, don't delete it} other {No, don't delete them}}", "deleteResourceYes": "Yes, I am sure", diff --git a/geonode_mapstore_client/static/mapstore/gn-translations/data.zh-ZH.json b/geonode_mapstore_client/static/mapstore/gn-translations/data.zh-ZH.json index 9d74dfeda1..6889e489da 100644 --- a/geonode_mapstore_client/static/mapstore/gn-translations/data.zh-ZH.json +++ b/geonode_mapstore_client/static/mapstore/gn-translations/data.zh-ZH.json @@ -215,6 +215,7 @@ "permissionsEntriesNoResults": "No Results...", "shareThisResource": "Share with people and groups", "embed": "Embed", + "security": "Security", "deleteResourceTitle": "{count, plural, =1 {Are you sure you want to delete this resource?} other {Are you sure you want to delete these resources?}}", "deleteResourceNo": "{count, plural, =1 {No, don't delete it} other {No, don't delete them}}", "deleteResourceYes": "Yes, I am sure",