The service links module does not call the translation function - t() - around the text & title attribute of the service links (when rendered).
i.e.
Line 588: $service['attributes']['title'] = $service['description'];
.
.
.
Line 619: 'text' => $service['name'],
I've created a patch to fix it (attached).
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | service_links-1432536-2-translations.patch | 1.08 KB | simon georges |
| service_links_t_functions.patch | 950 bytes | eyal shalev |
Comments
Comment #1
goz commentedI have same issue and patch works for me
Comment #2
simon georges commentedProper patch on 2.x-dev.
All credit goes to Eyal Shalev.
Comment #3
simon georges commentedI understand the need for the translated description, but is there a reason to translate the name? Don't all the services have the same name in all languages?
Comment #4
goz commentedThe service link on display use this name. So for example, "Share on Facebook" could be translated. Or "Bookmarks" or other service (and custom services)
Comment #5
simon georges commentedCommitted in 7.x-2.x. Thanks!
Moving to 6.x-2.x.
Comment #6
TheCrow commentedBackported some commit ago