Commit 6bb5c304 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#174440 by kkaefer: properly translatable filter dropdown elements on user admin page

parent a5adbe46
......@@ -1751,12 +1751,11 @@ function user_filters() {
}
$options = array();
$t_module = t('module');
foreach (module_list() as $module) {
if ($permissions = module_invoke($module, 'perm')) {
asort($permissions);
foreach ($permissions as $permission) {
$options["$module $t_module"][$permission] = t($permission);
$options[t('@module module', array('@module' => $module))][$permission] = t($permission);
}
}
}
......
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