Ckoerner has uploaded a new change for review. https://gerrit.wikimedia.org/r/213549
Change subject: Added tooltip to watchlist star (T71811) ...................................................................... Added tooltip to watchlist star (T71811) Change-Id: I3657d53786870441683a0c2f016506387fd175e9 --- M Resources.php M handlebars/flow_topic_titlebar_watch.partial.handlebars M i18n/en.json 3 files changed, 6 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow refs/changes/49/213549/1 diff --git a/Resources.php b/Resources.php index 314bd39..6889dc7 100644 --- a/Resources.php +++ b/Resources.php @@ -147,6 +147,8 @@ 'flow-topic-action-unsuppress-topic', 'flow-topic-action-restore-topic', 'flow-topic-action-undo-moderation', + 'flow-topic-action-watchlist-add', + 'flow-topic-action-watchlist-remove', 'flow-hide-post-content', 'flow-delete-post-content', 'flow-suppress-post-content', diff --git a/handlebars/flow_topic_titlebar_watch.partial.handlebars b/handlebars/flow_topic_titlebar_watch.partial.handlebars index 17ac2cc..b0789f4 100644 --- a/handlebars/flow_topic_titlebar_watch.partial.handlebars +++ b/handlebars/flow_topic_titlebar_watch.partial.handlebars @@ -11,7 +11,7 @@ data-flow-api-handler="watchItem" data-flow-api-target="< .flow-topic-watchlist" data-flow-api-method="POST"> - {{~noop~}}<span class="wikiglyph wikiglyph-star"></span>{{~noop~}} - {{~noop~}}<span class="wikiglyph wikiglyph-unstar"></span>{{~noop~}} + {{~noop~}}<span class="wikiglyph wikiglyph-star" title="{{l10n "flow-topic-action-watchlist-add"}}"></span>{{~noop~}} + {{~noop~}}<span class="wikiglyph wikiglyph-unstar" title="{{l10n "flow-topic-action-watchlist-remove"}}"></span>{{~noop~}} </a> </div> diff --git a/i18n/en.json b/i18n/en.json index 3225446..6522e75 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -117,6 +117,8 @@ "flow-topic-notification-subscribe-description": "{{GENDER:$1|You}} will receive notifications on all activities on this topic.", "flow-board-notification-subscribe-title": "{{GENDER:$1|You're}} subscribed to this discussion board!", "flow-board-notification-subscribe-description": "{{GENDER:$1|You}} will get a notification when a new topic is created on this board.", + "flow-topic-action-watchlist-add": "Add this topic to your watchlist", + "flow-topic-action-watchlist-remove": "Remove this topic from your watchlist", "flow-error-allowcreation-no-usedb": "allowCreation requires <var>$wgContentHandlerUseDB</var> to be <code>true</code>.", "flow-error-allowcreation-already-exists": "Page already exists, but was required not to", "flow-error-allowcreation-flow-create-board": "User does not have the \"{{int:right-flow-create-board}}\" permission", -- To view, visit https://gerrit.wikimedia.org/r/213549 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3657d53786870441683a0c2f016506387fd175e9 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Flow Gerrit-Branch: master Gerrit-Owner: Ckoerner <nob...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits