From aefdc0716900d847449cd3aacacdfd3b70b67207 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Sun, 7 May 2023 20:04:18 -0700 Subject: [PATCH] Change Share dialog message. --- packages/webapp/lang/de.json | 2 +- packages/webapp/lang/en.json | 2 +- packages/webapp/lang/es.json | 2 +- packages/webapp/lang/fr.json | 2 +- packages/webapp/src/compiled-lang/de.json | 2 +- packages/webapp/src/compiled-lang/en.json | 2 +- packages/webapp/src/compiled-lang/es.json | 2 +- packages/webapp/src/compiled-lang/fr.json | 2 +- .../maps-page/action-dispatcher/share-dialog/index.tsx | 4 ++-- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/webapp/lang/de.json b/packages/webapp/lang/de.json index e7c37b59..e2495f4d 100644 --- a/packages/webapp/lang/de.json +++ b/packages/webapp/lang/de.json @@ -448,7 +448,7 @@ "defaultMessage": "Betrachter" }, "share.add-button": { - "defaultMessage": "Hinzufügen" + "defaultMessage": "Geteilt" }, "share.add-message": { "defaultMessage": "Nachricht hinzufügen" diff --git a/packages/webapp/lang/en.json b/packages/webapp/lang/en.json index 2c9c0e32..620f5dff 100644 --- a/packages/webapp/lang/en.json +++ b/packages/webapp/lang/en.json @@ -531,7 +531,7 @@ "defaultMessage": "Viewer" }, "share.add-button": { - "defaultMessage": "Add" + "defaultMessage": "Share" }, "share.add-message": { "defaultMessage": "Add message" diff --git a/packages/webapp/lang/es.json b/packages/webapp/lang/es.json index 8fee199d..8dd32dbd 100644 --- a/packages/webapp/lang/es.json +++ b/packages/webapp/lang/es.json @@ -487,7 +487,7 @@ "defaultMessage": "Espectador" }, "share.add-button": { - "defaultMessage": "Agregar" + "defaultMessage": "Compartir" }, "share.add-message": { "defaultMessage": "Agregar mensaje" diff --git a/packages/webapp/lang/fr.json b/packages/webapp/lang/fr.json index 67253691..c7548884 100644 --- a/packages/webapp/lang/fr.json +++ b/packages/webapp/lang/fr.json @@ -451,7 +451,7 @@ "defaultMessage": "Téléspectateur" }, "share.add-button": { - "defaultMessage": "Ajouter" + "defaultMessage": "Partager" }, "share.add-message": { "defaultMessage": "Ajouter un message" diff --git a/packages/webapp/src/compiled-lang/de.json b/packages/webapp/src/compiled-lang/de.json index ae47e1ba..a5488461 100644 --- a/packages/webapp/src/compiled-lang/de.json +++ b/packages/webapp/src/compiled-lang/de.json @@ -1080,7 +1080,7 @@ "share.add-button": [ { "type": 0, - "value": "Hinzufügen" + "value": "Geteilt" } ], "share.add-message": [ diff --git a/packages/webapp/src/compiled-lang/en.json b/packages/webapp/src/compiled-lang/en.json index 0422bdb1..95255786 100644 --- a/packages/webapp/src/compiled-lang/en.json +++ b/packages/webapp/src/compiled-lang/en.json @@ -1084,7 +1084,7 @@ "share.add-button": [ { "type": 0, - "value": "Add" + "value": "Share" } ], "share.add-message": [ diff --git a/packages/webapp/src/compiled-lang/es.json b/packages/webapp/src/compiled-lang/es.json index 0f01bd73..bbad3f63 100644 --- a/packages/webapp/src/compiled-lang/es.json +++ b/packages/webapp/src/compiled-lang/es.json @@ -1090,7 +1090,7 @@ "share.add-button": [ { "type": 0, - "value": "Agregar" + "value": "Compartir" } ], "share.add-message": [ diff --git a/packages/webapp/src/compiled-lang/fr.json b/packages/webapp/src/compiled-lang/fr.json index 976bae4d..0c559aa8 100644 --- a/packages/webapp/src/compiled-lang/fr.json +++ b/packages/webapp/src/compiled-lang/fr.json @@ -1078,7 +1078,7 @@ "share.add-button": [ { "type": 0, - "value": "Ajouter" + "value": "Partager" } ], "share.add-message": [ diff --git a/packages/webapp/src/components/maps-page/action-dispatcher/share-dialog/index.tsx b/packages/webapp/src/components/maps-page/action-dispatcher/share-dialog/index.tsx index 5c9279c0..4e9f7973 100644 --- a/packages/webapp/src/components/maps-page/action-dispatcher/share-dialog/index.tsx +++ b/packages/webapp/src/components/maps-page/action-dispatcher/share-dialog/index.tsx @@ -181,7 +181,7 @@ const ShareDialog = ({ mapId, onClose }: SimpleDialogProps): React.ReactElement control={} label={ - + } labelPlacement="end" @@ -195,7 +195,7 @@ const ShareDialog = ({ mapId, onClose }: SimpleDialogProps): React.ReactElement onClick={handleOnAddClick} disabled={!isValid} > - + {showMessage && (