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 |
Jump to:
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
fixed in 6.2.3
#2
Automatically closed -- issue fixed for two weeks with no activity.