endpoint.awaitingGeocode = false;
endpoint.hasGeocode = true;
if (json.length === 0) {
- alert(I18n.t('javascripts.directions.errors.no_place_with_name', {place: endpoint.value}));
+ alert(I18n.t('javascripts.directions.errors.no_place', {place: endpoint.value}));
input.css("background-color", "rgba(255, 0, 0, 0.5)");
return;
}
distance: "Distance"
errors:
no_route: "Couldn't find a route between those two places."
- no_place: "Sorry - couldn't find that place."
- no_place_with_name: "Sorry - couldn't locate '%{place}'."
+ no_place: "Sorry - couldn't locate '%{place}'."
instructions:
continue_without_exit: Continue on %{name}
slight_right_without_exit: Slight right onto %{name}