Better internationalization for VTN-s page title

DTB - March 16, 2009 - 14:47
Project:Taxonomy VTN
Version:6.x-1.2
Component:User interface
Category:feature request
Priority:normal
Assigned:AlexisWilke
Status:closed
Description

Hi, plase review and use attached patch for taxonomy_vtn.pages.inc,
this modify title create program code. For any other lang, not good solving, if use for title
drupal_set_title($title . t('@vocabulary', array('@vocabulary' => $voc_obj->name)));

better this
$title = t('Terms in @vocabulary', array('@vocabulary' => $voc_obj->name));

THX

DTB

AttachmentSize
better_internacion.patch1.45 KB

#1

AlexisWilke - March 16, 2009 - 21:40

Hi DTB,

Note that proper Drupal code requires the { and } everywhere.

I changed the else part and removed the t() altogether since there is nothing to translate. The drupal_set_title() takes care of testing for HTML or whatnot code so we're safe on that end.

It is checked in, the -dev should be updated within the next 12h.

If you want to provide the translation(s) you are making, feel free to do so and I'll add them to the module.

Thank you.
Alexis

#2

AlexisWilke - June 16, 2009 - 08:38
Assigned to:Anonymous» AlexisWilke
Status:active» fixed

Sounds like this was fixed. Closing.

Thank you.
Alexis Wilke

#3

System Message - June 30, 2009 - 08:40
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.