Sticky string translation

krocaine - September 26, 2008 - 15:41
Project:Marinelli
Version:6.x-2.2
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

After posting the first sticky story on my site I discovered the string sticky icon (the alt-text for the sticky icon) was not translated. I changed line 13 in node.tpl.php from this:

if ($sticky) { print '<img src="'.base_path(). drupal_get_path('theme','marinelli').'/img/sticky.gif" alt="sticky icon" class="sticky" />'; } ?>

to this:

if ($sticky) { print '<img src="'.base_path(). drupal_get_path('theme','marinelli').'/img/sticky.gif" '.'alt="'.t('sticky icon').'" '.'class="sticky" />'; } ?>

Now I can translate it with l10n_client.

#1

Lioz - September 29, 2008 - 09:30
Status:active» fixed

fixed in 6.2.3

#2

Anonymous (not verified) - October 13, 2008 - 09:32
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.