Needs review
Project:
Social media
Version:
7.x-1.0-beta13
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Apr 2012 at 15:45 UTC
Updated:
17 Sep 2012 at 09:09 UTC
Hi!
Share links "title" like "Share on LinkedIn", "Tweet this", etc., are not translatable ?
Thx.
Comments
Comment #1
CPJS commentedI've been looking into the translation file of widgets but there is no string containing share. Maybe will be in strings within a new version.
Comment #2
TomDude48 commentedI am running the default title attributes through the t() now. That should help.
Comment #3
broonWhile running the strings through t() helps with translations, it would be nice to have an option to change the English default as well.
Also, I noted that the Facebook share button has the same title as the profile button due to line 132 in socialmedia.widgets.inc reading:
'share-button' => '<a href="http://www.facebook.com/sharer.php?u=[|[node:url]||[current-page:url]|]&t=[|[node:title]||[current-page:title-plain]|]" title="'.$title.'"[?link-target= target="{[socialmedia:sm-default_link_target_sharing]}"?][?link-rel= rel="{[socialmedia:sm-default_link_rel_sharing]}"?]><img src="[?icon-path=[socialmedia:sm-facebook_icon-path]?]" alt="Facebook icon" ></a>',Instead of
title="'.$title.'"it should betitle="'.$stitle.'".Comment #4
broonMissed the update to beta13. Still, it now reads
title="' . $title . '"and should betitle="' . $stitle . '".And regarding the issue of alternatives for English phrases, until this is maybe integrated as a social media option, one can use String Overrides to, well, override the strings. ;)