]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/user.js
Translate units used by leaflet-locatecontrol
[rails.git] / app / assets / javascripts / user.js
index 7cbdb1e110b24c843dc8504c505a1363b15e0acb..3839a18c24c10a5d16c776b934a16b5bd673d6e0 100644 (file)
@@ -18,6 +18,8 @@ $(document).ready(function () {
       iconLoading: "icon geolocate",
       strings: {
         title: I18n.t("javascripts.map.locate.title"),
+        metersUnit: I18n.t("javascripts.map.locate.metersUnit"),
+        feetUnit: I18n.t("javascripts.map.locate.feetUnit"),
         popup: I18n.t("javascripts.map.locate.popup")
       }
     }).addTo(map);