diff --git a/app/assets/javascripts/discourse/controllers/tags-show.js.es6 b/app/assets/javascripts/discourse/controllers/tags-show.js.es6 index 1e8e0c2fa0b..3cb203b9349 100644 --- a/app/assets/javascripts/discourse/controllers/tags-show.js.es6 +++ b/app/assets/javascripts/discourse/controllers/tags-show.js.es6 @@ -115,7 +115,8 @@ export default Ember.Controller.extend(BulkTopicSelection, { deleteTag() { const self = this; - bootbox.confirm(I18n.t("tagging.delete_confirm"), function(result) { + const topicsLength = this.get('list.topic_list.topics.length'); + bootbox.confirm(I18n.t("tagging.delete_confirm", {count: topicsLength}), function(result) { if (!result) { return; } self.get("tag").destroyRecord().then(function() { diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 528cfea5f3c..be0751c5d74 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -2454,7 +2454,10 @@ en: tags: "Tags" choose_for_topic: "choose optional tags for this topic" delete_tag: "Delete Tag" - delete_confirm: "Are you sure you want to delete that tag?" + delete_confirm: + one: "Are you sure you want to delete this tag and remove it from 1 topic it is assigned to?" + other: "Are you sure you want to delete this tag and remove it from {{count}} topics it is assigned to?" + zero: "Are you sure you want to delete this tag?" rename_tag: "Rename Tag" rename_instructions: "Choose a new name for the tag:" sort_by: "Sort by:"