Remove/replace redundant no_place locale translation

This commit is contained in:
J Guthrie 2018-03-29 22:27:33 +01:00
parent 1bb52e3cb6
commit becccea034
2 changed files with 2 additions and 3 deletions

View file

@ -90,7 +90,7 @@ OSM.Directions = function (map) {
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;
}