From ed1a309fe4bf9f0aaef6d279acfe7e767a7c318b Mon Sep 17 00:00:00 2001 From: Saurabh Patel Date: Mon, 17 Dec 2018 08:25:19 +0530 Subject: [PATCH] FIX: use new key for delete topic to make it lowercased as all other buttons label around it (#6778) --- app/assets/javascripts/discourse/widgets/post-menu.js.es6 | 2 +- config/locales/client.en.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/widgets/post-menu.js.es6 b/app/assets/javascripts/discourse/widgets/post-menu.js.es6 index c796a5e1fb3..a0f00d1a73a 100644 --- a/app/assets/javascripts/discourse/widgets/post-menu.js.es6 +++ b/app/assets/javascripts/discourse/widgets/post-menu.js.es6 @@ -267,7 +267,7 @@ registerButton("delete", attrs => { return { id: "delete_topic", action: "deletePost", - title: "topic.actions.delete", + title: "post.controls.delete_topic", icon: "trash-o", className: "delete" }; diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 548fd101945..6f1f3e03440 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -2166,6 +2166,7 @@ en: unlock_post_description: "allow the poster to edit this post" delete_topic_disallowed_modal: "You don't have permission to delete this topic. If you really want it to be deleted, submit a flag for moderator attention together with reasoning." delete_topic_disallowed: "you don't have permission to delete this topic" + delete_topic: "delete topic" actions: flag: 'Flag'