From 6e939c28fbcd410608318f9ac2e65f96a068c472 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Fri, 11 Apr 2014 10:53:48 -0400 Subject: [PATCH] Remove topic.notifications.title translation key since it's always an empty string --- .../javascripts/discourse/views/buttons/notifications_button.js | 2 +- config/locales/client.en.yml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/views/buttons/notifications_button.js b/app/assets/javascripts/discourse/views/buttons/notifications_button.js index b0c747206d8..825c2acbb8f 100644 --- a/app/assets/javascripts/discourse/views/buttons/notifications_button.js +++ b/app/assets/javascripts/discourse/views/buttons/notifications_button.js @@ -8,7 +8,7 @@ **/ Discourse.NotificationsButton = Discourse.DropdownButtonView.extend({ classNames: ['notification-options'], - title: I18n.t('topic.notifications.title'), + title: '', longDescriptionBinding: 'topic.details.notificationReasonText', topic: Em.computed.alias('controller.model'), hidden: Em.computed.alias('topic.deleted'), diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 15dbfbffbbb..e2d44f9853f 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -752,7 +752,6 @@ en: position: "post %{current} of %{total}" notifications: - title: '' reasons: "3_6": 'You will receive notifications because you are watching this category.' "3_5": 'You will receive notifications because you started watching this topic automatically.'