From 93568af1adb60c3e41998af97b316854b9bc1d63 Mon Sep 17 00:00:00 2001 From: Luc Claustres <luc.claustres@orange.fr> Date: Wed, 12 Jun 2024 11:42:11 +0200 Subject: [PATCH] fix: Distance is missing in geolocation popup (closes #876) --- map/client/i18n/map_en.json | 2 +- map/client/i18n/map_fr.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/map/client/i18n/map_en.json b/map/client/i18n/map_en.json index 9847b64a6..6a60dfbe5 100644 --- a/map/client/i18n/map_en.json +++ b/map/client/i18n/map_en.json @@ -204,7 +204,7 @@ "TITLE": "My position", "METERS": "meters", "FEET": "feet", - "POPUP": "You are within {distance} {unit} from this point", + "POPUP": "You are within {'{distance}'} {'{unit}'} from this point", "OUTSIDE_MAP_BOUNDS": "You seem located outside the boundaries of the map" }, "schemas": { diff --git a/map/client/i18n/map_fr.json b/map/client/i18n/map_fr.json index 313b6fe3e..532fe4f6b 100644 --- a/map/client/i18n/map_fr.json +++ b/map/client/i18n/map_fr.json @@ -204,7 +204,7 @@ "TITLE": "Ma position", "METERS": "mètres", "FEET": "pieds", - "POPUP": "Vous êtes à moins de {distance} {unit} de ce point", + "POPUP": "Vous êtes à moins de {'{distance}'} {'{unit}'} de ce point", "OUTSIDE_MAP_BOUNDS": "Vous semblez localisé en dehors de la carte" }, "schemas": {