Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
29b424a2
Commit
29b424a2
authored
Apr 10, 2011
by
Dries
Browse files
- Patch
#1050686
by David_Rothstein: theme region names are no longer translated.
parent
fa64e875
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/system/system.module
View file @
29b424a2
...
...
@@ -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
)
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment