Closed (duplicate)
Project:
Custom Breadcrumbs
Version:
5.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Feb 2008 at 14:04 UTC
Updated:
15 Sep 2008 at 05:22 UTC
$Id: custom_breadcrumbs.module,v 1.5.2.2 2007/02/21 01:43:53 eaton Exp $
line 59
-- $trail[] = l($title, trim($paths[$i]));
++ $trail[] = l(t("$title"), trim($paths[$i]));
I cannot find another way to translate "static" (not tokens) words in breadcrumb trail.
Comments
Comment #1
eaton commentedHmm. This is actually a misuse of the t() function, which is only intended to be used with hard-coded text in modules, not user-entered text like the stuff in Custom Breadcrumbs. In the D6 branch I may try to explore multi-lingual support as an explicit feature (ie, allow the same breadcrumb to be defined in specific languages), but using t() to accomplish it would probably be a bad thing.
Comment #2
david lesieur commentedSee #173173: Multilingual support.