From 27c78ac7a4ba48ab492eb99d12fa1d5c86a7ad2e Mon Sep 17 00:00:00 2001 From: mahmoud adel <58145645+mahmoudadel54@users.noreply.github.com> Date: Thu, 23 Nov 2023 16:09:27 +0200 Subject: [PATCH] #9683: add Details Panel for MS dashboard [Editing the detail panel tooltip and title] (#9740) * #9683: resolve test comment Description: - edit the detail panel tooltip and shown title and make it generic one - Add translations for the new tooltip * Update web/client/translations/data.it-IT.json --------- Co-authored-by: Matteo V --- .../components/resources/modals/enhancers/handleSave.js | 2 +- web/client/plugins/MapConnectionDashboard.jsx | 2 +- web/client/translations/data.de-DE.json | 4 ++-- web/client/translations/data.en-US.json | 4 ++-- web/client/translations/data.es-ES.json | 4 ++-- web/client/translations/data.fr-FR.json | 4 ++-- web/client/translations/data.is-IS.json | 4 ++-- web/client/translations/data.it-IT.json | 4 ++-- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/web/client/components/resources/modals/enhancers/handleSave.js b/web/client/components/resources/modals/enhancers/handleSave.js index d0e050afb2..0fe33578e8 100644 --- a/web/client/components/resources/modals/enhancers/handleSave.js +++ b/web/client/components/resources/modals/enhancers/handleSave.js @@ -18,7 +18,7 @@ export default mapPropsStream(props$ => { .withLatestFrom(props$) .switchMap(([resource, props]) => updateResource(resource) - .flatMap(rid => (['MAP', 'DASHBOARD'].includes(resource.categoryName)) ? + .flatMap(rid => (['MAP', 'DASHBOARD'].includes(resource.category)) ? updateResourceAttribute({ id: rid, name: 'detailsSettings', diff --git a/web/client/plugins/MapConnectionDashboard.jsx b/web/client/plugins/MapConnectionDashboard.jsx index d6db6b6892..d1132ec1a5 100644 --- a/web/client/plugins/MapConnectionDashboard.jsx +++ b/web/client/plugins/MapConnectionDashboard.jsx @@ -36,7 +36,7 @@ class MapConnectionDashboard extends React.Component { return (onShowConnections(!showConnections)} tooltipPosition={'left'} id={'ms-map-connection-card-dashboard'} diff --git a/web/client/translations/data.de-DE.json b/web/client/translations/data.de-DE.json index 4358063988..0b7bcf154a 100644 --- a/web/client/translations/data.de-DE.json +++ b/web/client/translations/data.de-DE.json @@ -57,8 +57,8 @@ "404": "Übersetzungsdatei nicht gefunden" }, "details": { - "title": "Infos zu dieser Karte", - "tooltip": "Infos zu dieser Karte" + "title": "Infos zu dieser Inhalt", + "tooltip": "Infos zu dieser Inhalt" }, "showEmptyMessageGFI": "Nachricht mit leeren Ergebnissen anzeigen", "remove": "Löschen", diff --git a/web/client/translations/data.en-US.json b/web/client/translations/data.en-US.json index 9995418617..59e8d2d3ee 100644 --- a/web/client/translations/data.en-US.json +++ b/web/client/translations/data.en-US.json @@ -57,8 +57,8 @@ "404": "Translation file not found" }, "details": { - "title": "About this map", - "tooltip": "About this map" + "title": "About this content", + "tooltip": "About this content" }, "showEmptyMessageGFI": "Show empty results message in GetFeatureInfo panel", "remove": "Delete", diff --git a/web/client/translations/data.es-ES.json b/web/client/translations/data.es-ES.json index 0b6d36d50f..6e992f0c76 100644 --- a/web/client/translations/data.es-ES.json +++ b/web/client/translations/data.es-ES.json @@ -57,8 +57,8 @@ "404": "Archivo de traducción no encontrado" }, "details": { - "title": "Información en este mapa", - "tooltip": "Información en este mapa" + "title": "Información en este contenido", + "tooltip": "Información en este contenido" }, "showEmptyMessageGFI": "Mostrar mensaje de resultados vacío en el panel de GFI", "remove": "Borrar", diff --git a/web/client/translations/data.fr-FR.json b/web/client/translations/data.fr-FR.json index bca0accddb..e9b16b4bb9 100644 --- a/web/client/translations/data.fr-FR.json +++ b/web/client/translations/data.fr-FR.json @@ -57,8 +57,8 @@ "404": "Fichier de traduction introuvable" }, "details": { - "title": "À propos de cette carte", - "tooltip": "À propos de cette carte" + "title": "À propos de cette contenu", + "tooltip": "À propos de cette contenu" }, "showEmptyMessageGFI": "Afficher un message de résultat vide dans le panneau GetFeatureInfo", "remove": "Supprimer", diff --git a/web/client/translations/data.is-IS.json b/web/client/translations/data.is-IS.json index 7466070478..67a233c29b 100644 --- a/web/client/translations/data.is-IS.json +++ b/web/client/translations/data.is-IS.json @@ -57,8 +57,8 @@ "404": "Translation file not found" }, "details": { - "title": "About this map", - "tooltip": "About this map" + "title": "About this content", + "tooltip": "About this content" }, "showEmptyMessageGFI": "Show empty results message in GetFeatureInfo panel", "remove": "Delete", diff --git a/web/client/translations/data.it-IT.json b/web/client/translations/data.it-IT.json index f978182b98..7a8e37f60b 100644 --- a/web/client/translations/data.it-IT.json +++ b/web/client/translations/data.it-IT.json @@ -57,8 +57,8 @@ "404": "File di traduzione non trovato" }, "details": { - "title": "Info su questa mappa", - "tooltip": "Info su questa mappa" + "title": "Info su questo contenuto", + "tooltip": "Info su questo contenuto" }, "showEmptyMessageGFI": "Mostra il messaggio: Nessuna feature per gli altri layer", "remove": "Rimuovi",