X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3622db1665a51795cd381745b59693d88d66f699..ff03138a978406b431da71aba64941d87b509098:/app/views/browse/start.rjs?ds=sidebyside diff --git a/app/views/browse/start.rjs b/app/views/browse/start.rjs index 8eaf90070..707054526 100644 --- a/app/views/browse/start.rjs +++ b/app/views/browse/start.rjs @@ -76,7 +76,7 @@ page << < '{{num_features}}')}", { num_features: browseFeatureList.length }))); + p.appendChild(document.createTextNode(i18n("#{I18n.t('browse.start_rjs.loaded_an_area_with_num_features')}", { num_features: browseFeatureList.length }))); div.appendChild(p); var input = document.createElement("input"); @@ -187,7 +187,7 @@ page << < #{APP_CONFIG['max_request_area']}) { - setStatus("#{I18n.t('browse.start_rjs.unable_to_load')} " + size + " #{I18n.t('browse.start_rjs.must_be_smaller')}"); + setStatus(i18n("#{I18n.t('browse.start_rjs.unable_to_load_size', :max_bbox_size => APP_CONFIG['max_request_area'])}", { bbox_size: size })); } else { loadGML("/api/#{API_VERSION}/map?bbox=" + projected.toBBOX()); } @@ -421,7 +421,7 @@ page << <