- Let the blocks itself take care of translating their titles. Patch by

Marco.
4.1.x
Dries Buytaert 2002-06-20 18:52:32 +00:00
parent d22493f926
commit 3dbccfa7cf
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ function theme_blocks($region, &$theme) {
if (($block->status && (!$user->uid || !$block->custom)) || ($block->custom && $user->block[$block->name])) {
$blocks = module_invoke($block->module, "block");
if ($blocks[$block->delta]["content"]) {
$theme->box(t($blocks[$block->delta]["subject"]), $blocks[$block->delta]["content"], $region);
$theme->box($blocks[$block->delta]["subject"], $blocks[$block->delta]["content"], $region);
}
}
}