site_map_message not language depended

hass - January 3, 2008 - 22:03
Project:Site map
Version:HEAD
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

The site_map_message variable is not language depended. I'd like to translate this message into all site languages.

#1

frjo - January 8, 2008 - 11:47
Version:HEAD» 5.x-1.x-dev
Category:bug report» feature request
Status:active» fixed

Committed to 5-dev. Found a nifty solution in the captcha module.

Please try it out and report back here.

#2

hass - January 8, 2008 - 20:41
Status:fixed» patch (code needs work)

Not yet tested, but please don't forget to delete the variables on uninstall :-)

#3

frjo - January 10, 2008 - 14:15
Status:patch (code needs work)» active (needs more info)

Good catch hass! Committed a fix to 5-dev.

#4

hass - January 10, 2008 - 21:50
Status:active (needs more info)» fixed

î think you mean fixed.

#5

hass - January 10, 2008 - 21:59

It's minor, but i would change (code %lang_code) into (%lang_code) within the string '#title' => t('For language %lang_name (code %lang_code)', array('%lang_name' => $lang_name, '%lang_code' => $lang_code)),.

#6

hass - January 10, 2008 - 22:00
Status:fixed» patch (to be ported)

Aside, this needs porting to D6 - the i18n Drupal :-)

#7

hass - January 10, 2008 - 22:00
Version:5.x-1.x-dev» HEAD

#8

frjo - July 30, 2008 - 12:27
Status:patch (to be ported)» closed
 
 

Drupal is a registered trademark of Dries Buytaert.