From: Tom Hughes Date: Sun, 1 Dec 2013 09:11:59 +0000 (+0000) Subject: Rename changed translation to avoid test failures X-Git-Tag: live~5212 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/3b6580297f619573a24bc22b8b995b64c979c5db Rename changed translation to avoid test failures --- diff --git a/app/assets/javascripts/index/browse.js b/app/assets/javascripts/index/browse.js index 21f0ae71a..d196476f4 100644 --- a/app/assets/javascripts/index/browse.js +++ b/app/assets/javascripts/index/browse.js @@ -50,7 +50,7 @@ function initializeBrowse(map) { function displayFeatureWarning(count, limit, callback) { $('#browse_status').html( $("

") - .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( $("") .val(I18n.t('browse.start_rjs.load_data')) diff --git a/config/locales/en.yml b/config/locales/en.yml index 43c0c4ad1..a1c4e503b 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -171,7 +171,7 @@ en: 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..."