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

merge-requests/26/head
Dries Buytaert 2011-04-10 18:25:31 +02:00
parent 49a5c2944e
commit c884fafa63
1 changed files with 1 additions and 1 deletions

View File

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