OSM.Directions.addEngine = function (engine, supportsHTTPS) {
if (document.location.protocol === "http:" || supportsHTTPS) {
engine.id = engine.provider + "_" + engine.mode;
- engine.localeId = I18n.t("javascripts.directions.engines." + engine.id);
+ engine.localeId = `${
+ I18n.t("site.search.modes." + engine.mode)
+ } (${
+ I18n.t("site.search.providers." + engine.provider)
+ })`;
OSM.Directions.engines.push(engine);
}
};
where_am_i_title: Describe the current location using the search engine
submit_text: "Go"
reverse_directions_text: "Reverse Directions"
+ modes:
+ bicycle: "Bicycle"
+ car: "Car"
+ foot: "Foot"
+ providers:
+ fossgis_osrm: "OSRM"
+ graphhopper: "GraphHopper"
+ fossgis_valhalla: "Valhalla"
key:
table:
entry:
edit_help: Move the map and zoom in on a location you want to edit, then click here.
directions:
ascend: "Ascend"
- engines:
- fossgis_osrm_bike: "Bicycle (OSRM)"
- fossgis_osrm_car: "Car (OSRM)"
- fossgis_osrm_foot: "Foot (OSRM)"
- graphhopper_bicycle: "Bicycle (GraphHopper)"
- graphhopper_car: "Car (GraphHopper)"
- graphhopper_foot: "Foot (GraphHopper)"
- fossgis_valhalla_bicycle: "Bicycle (Valhalla)"
- fossgis_valhalla_car: "Car (Valhalla)"
- fossgis_valhalla_foot: "Foot (Valhalla)"
descend: "Descend"
directions: "Directions"
distance: "Distance"