UX: Add tooltip text for the timeline notifications button

This commit is contained in:
Robin Ward 2016-05-31 15:23:22 -04:00
parent 8c6274ba88
commit 447c16800b
No known key found for this signature in database
GPG Key ID: 0E091E2B4ED1B83D
2 changed files with 5 additions and 0 deletions

View File

@ -33,6 +33,10 @@ export default createWidget('topic-notifications-button', {
if (state.expanded) { return "open"; } if (state.expanded) { return "open"; }
}, },
buildAttributes() {
return { title: I18n.t('topic.notifications.title') };
},
buttonFor(level) { buttonFor(level) {
const details = buttonDetails(level); const details = buttonDetails(level);
return this.attach('button', { return this.attach('button', {

View File

@ -1310,6 +1310,7 @@ en:
position: "post %{current} of %{total}" position: "post %{current} of %{total}"
notifications: notifications:
title: change how often you get notified about this topic
reasons: reasons:
"3_6": 'You will receive notifications because you are watching this category.' "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.' "3_5": 'You will receive notifications because you started watching this topic automatically.'