Commit 3dbccfa7 authored by Dries's avatar Dries
Browse files

- Let the blocks itself take care of translating their titles.  Patch by
  Marco.
parent d22493f9
......@@ -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);
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment