]> git.openstreetmap.org Git - rails.git/commitdiff
Rename changed translation to avoid test failures
authorTom Hughes <tom@compton.nu>
Sun, 1 Dec 2013 09:11:59 +0000 (09:11 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 1 Dec 2013 09:11:59 +0000 (09:11 +0000)
app/assets/javascripts/index/browse.js
config/locales/en.yml

index 21f0ae71a3387d423aee61f0769c2ffb2a1ae503..d196476f496c6167af4fe77a8e5ea2b4208910da 100644 (file)
@@ -50,7 +50,7 @@ function initializeBrowse(map) {
   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'))
index 43c0c4ad1f7a604436d86931348321b5ec38d62c..a1c4e503baaec942630dd924617eeead8424bc56 100644 (file)
@@ -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..."