]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index.js
Prevent exceptions while reversing directions
[rails.git] / app / assets / javascripts / index.js
index 704016c6673daf233963580cc2676a035205bfe9..6584864d544a4e05c92cb2f73bed1dd6a9b1f4d6 100644 (file)
@@ -109,6 +109,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);