Commit 29b424a2 authored by Dries's avatar Dries

- Patch #1050686 by David_Rothstein: theme region names are no longer translated.

parent fa64e875
...@@ -2681,7 +2681,7 @@ function system_region_list($theme_key, $show = REGIONS_ALL) { ...@@ -2681,7 +2681,7 @@ function system_region_list($theme_key, $show = REGIONS_ALL) {
// If requested, suppress hidden regions. See block_admin_display_form(). // If requested, suppress hidden regions. See block_admin_display_form().
foreach ($info['regions'] as $name => $label) { foreach ($info['regions'] as $name => $label) {
if ($show == REGIONS_ALL || !isset($info['regions_hidden']) || !in_array($name, $info['regions_hidden'])) { if ($show == REGIONS_ALL || !isset($info['regions_hidden']) || !in_array($name, $info['regions_hidden'])) {
$list[$name] = $label; $list[$name] = t($label);
} }
} }
......
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