Closed (fixed)
Project:
Hansel breadcrumbs
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Oct 2011 at 14:36 UTC
Updated:
21 Dec 2011 at 21:30 UTC
When using 'add link to nodetype' the content type isn't translated by hansel even when it is in Drupal.
eg. 'home > news' should be 'home > nieuws' in dutch
I've fixed this with using the t function on 2 lines. Since I'm not really sure if this is the correct approach I will just post my patch here.
| Comment | File | Size | Author |
|---|---|---|---|
| add-link-to-nodetype-translatable.patch | 455 bytes | FreekyMage |
Comments
Comment #1
bertboerland commentedpatch looks clean to me and t() is indeed needed there. Mau, could you verify this? Thanks Marijn for the patch.
Comment #2
mauritsl commentedCommited to GIT. Thanks!
I only added the t() around $title. $path shouldn't be translated.
A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.