Active
Project:
AddThis
Version:
6.x-3.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
12 Jul 2011 at 15:33 UTC
Updated:
12 Jul 2011 at 15:39 UTC
I use the 'Share' service and 2 other customized services. I created these customize services because I wanted to change the name.
The problem is that I want translatable titles.
I modified addthis.module at line 224 and line 243 to translate title during rendering :
line 224 :
// Make titles translatables
//return "<a class='$class' $attributes>$title</a>";
return "<a class='$class' $attributes>".t($title)."</a>";
line 243 :
// No need to translate Share here because I did it in theme_addthis_toolbox_item ?
//'title' => t('Share'),
'title' => 'Share',
Comments
Comment #1
nikosnikos commentedI've clicked on 'Save' to fast !
So, I try to be more clear : I want the titles of my custom services to be translatable and I didn't find another way than modifying addthis.module but I'm not sure this is the good solution.