Skip to content

Commit

Permalink
geosolutions-it#9683: add Details Panel for MS dashboard [Editing the…
Browse files Browse the repository at this point in the history
… detail panel tooltip and title] (geosolutions-it#9740)

* geosolutions-it#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 <[email protected]>
  • Loading branch information
mahmoudadel54 and MV88 committed Nov 27, 2023
1 parent 3d3d5c3 commit 27c78ac
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion web/client/plugins/MapConnectionDashboard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class MapConnectionDashboard extends React.Component {
return (<ToolbarButton
glyph={showConnections ? 'bulb-on' : 'bulb-off'}
tooltipId={showConnections ? 'dashboard.editor.hideConnections' : 'dashboard.editor.showConnections'}
bsStyle={showConnections ? 'success' : 'primary'}
bsStyle={showConnections ? 'success' : 'tray'}
onClick={()=>onShowConnections(!showConnections)}
tooltipPosition={'left'}
id={'ms-map-connection-card-dashboard'}
Expand Down
4 changes: 2 additions & 2 deletions web/client/translations/data.de-DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions web/client/translations/data.en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions web/client/translations/data.es-ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions web/client/translations/data.fr-FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions web/client/translations/data.is-IS.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions web/client/translations/data.it-IT.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 27c78ac

Please sign in to comment.