diff --git a/js/id/validate.js b/js/id/validate.js index ff2e42fb3f..30568f6522 100644 --- a/js/id/validate.js +++ b/js/id/validate.js @@ -17,7 +17,7 @@ iD.validate = function(changes, graph) { if (changes.deleted.length > 100) { warnings.push({ - message: t('validations.many_deletions') + message: t('validations.many_deletions', { n: changes.deleted.length }) }); } diff --git a/locale/en.js b/locale/en.js index 7d82a4944a..0ba305dc00 100644 --- a/locale/en.js +++ b/locale/en.js @@ -221,7 +221,7 @@ locale.en = { untagged_point: "Untagged point which is not part of a line or area", untagged_line: "Untagged line", untagged_area: "Untagged area", - many_deletions: "You're deleting more than 200 objects. Are you sure you want to do this? This will delete them from the map that everyone else sees on openstreetmap.org.", + many_deletions: "You're deleting {n} objects. Are you sure you want to do this? This will delete them from the map that everyone else sees on openstreetmap.org.", tag_suggests_area: "The tag {tag} suggests line should be area, but it is not an area", deprecated_tags: "Deprecated tags: {tags}" },