function displayFeatureWarning(count, limit, callback) {
$('#browse_status').html(
$("<p class='warning'></p>")
- .text(I18n.t("browse.start_rjs.loaded_an_area_with_num_features", { num_features: count, max_features: limit }))
+ .text(I18n.t("browse.start_rjs.feature_warning", { num_features: count, max_features: limit }))
.append(
$("<input type='submit'>")
.val(I18n.t('browse.start_rjs.load_data'))
way: "way"
relation: "relation"
start_rjs:
- loaded_an_area_with_num_features: "Loading %{num_features} features, which may make your browser slow or unresponsive. Are sure you want to display this data?"
+ feature_warning: "Loading %{num_features} features, which may make your browser slow or unresponsive. Are sure you want to display this data?"
load_data: "Load Data"
unable_to_load_size: "Unable to load map data, too large of an area (%{bbox_size}). Area must be smaller than %{max_bbox_size} square degrees."
loading: "Loading..."