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 |
Jump to:
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
| Attachment | Size |
|---|---|
| better_internacion.patch | 1.45 KB |

#1
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
Sounds like this was fixed. Closing.
Thank you.
Alexis Wilke
#3
Automatically closed -- issue fixed for 2 weeks with no activity.