From 0e3b275684d9ff8a02c74914e36d92dc0507a606 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Tue, 24 May 2016 17:07:39 -0400 Subject: [PATCH] UX: Add title text on back button on timeline --- app/assets/javascripts/discourse/widgets/topic-timeline.js.es6 | 1 + config/locales/client.en.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/app/assets/javascripts/discourse/widgets/topic-timeline.js.es6 b/app/assets/javascripts/discourse/widgets/topic-timeline.js.es6 index 8dd16590956..3e5f9991194 100644 --- a/app/assets/javascripts/discourse/widgets/topic-timeline.js.es6 +++ b/app/assets/javascripts/discourse/widgets/topic-timeline.js.es6 @@ -21,6 +21,7 @@ createWidget('timeline-last-read', { className: 'btn btn-primary btn-small', icon: 'arrow-left', label: 'topic.timeline.back', + title: 'topic.timeline.back_description', action: 'goBack' }) ]; diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 5d347aaa90b..7b4a2739b98 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -1295,6 +1295,7 @@ en: timeline: back: "Back" + back_description: "Go back to first unread post" replies: "%{current} / %{total} replies" replies_short: "%{current} / %{total}"