My profile page title gets not translated.
$field->page and $value should wrapped with t() or translated
somewhere before in the code...
17 @@ -67,7 +68,8 @@
18 $output .= theme('pager', NULL, 20);
19
20 if ($field->type == 'selection' || $field->type == 'list' || $field->type == 'textfield') {
21 - $title = strtr(check_plain($field->page), array('%value' => theme('placeholder', $value)));
22 + // $title = strtr(check_plain($field->page), array('%value' => theme('placeholder', $value))); // JG
23 + $title = strtr(check_plain(t($field->page)), array('%value' => theme('placeholder', t($value))));
24 }
25 else {
26 $title = check_plain($field->page);
Thanx Jens
Comments
Comment #1
kenorb commentedComment #2
kenorb commented