Postponed (maintainer needs more info)
Project:
SiteMenu
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2008 at 21:25 UTC
Updated:
27 Mar 2008 at 22:35 UTC
Wrapping the output of the sitemenu's title & description in t() will enable it to be used effectively in a multi-lingual site.
Please consider adding the following to your code:
295c295
< $output .= variable_get(SITEMENU_DESCRIPTION, '');
---
> $output .= t(variable_get(SITEMENU_DESCRIPTION, ''));
369c371
< $title = variable_get(SITEMENU_OVERVIEW_TITLE, t('site map'));
---
> $title = t(variable_get(SITEMENU_OVERVIEW_TITLE, t('site map')));
Comments
Comment #1
kbahey commentedMike,
I don't think t() would work like this.
variable_get() retrieves data from the variables table, and I don't think there is multiple languages for those.