From 7bfd66aa8047cb3a7c0926de27a969d331b1c756 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Tue, 26 Mar 2013 12:13:20 -0400 Subject: [PATCH] Add title attrs to share links --- .../javascripts/discourse/templates/share.js.handlebars | 8 ++++---- config/locales/client.en.yml | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/share.js.handlebars b/app/assets/javascripts/discourse/templates/share.js.handlebars index dedd3be98b6..6a91d35524f 100644 --- a/app/assets/javascripts/discourse/templates/share.js.handlebars +++ b/app/assets/javascripts/discourse/templates/share.js.handlebars @@ -1,14 +1,14 @@

{{view.title}}

diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 6bb71f531ae..e231cb527f1 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -8,6 +8,9 @@ en: topic: 'share a link to this topic' post: 'share a link to this post' close: 'close' + twitter: 'share this link on Twitter' + facebook: 'share this link on Facebook' + google_plus: 'share this link on Google+' edit: 'edit the title and category of this topic' not_implemented: "That feature hasn't been implemented yet, sorry!"