Commit 37132323 authored by drumm's avatar drumm
Browse files

#105309 by Gábor Hojtsy. Translate language name selection on user edit pages.

parent 613b5616
......@@ -137,7 +137,7 @@ function locale_user($type, $edit, &$user, $category = NULL) {
if ($user->language == '') {
$user->language = key($languages['name']);
}
$languages['name'] = array_map('check_plain', $languages['name']);
$languages['name'] = array_map('check_plain', array_map('t', $languages['name']));
$form['locale'] = array('#type' => 'fieldset',
'#title' => t('Interface language settings'),
'#weight' => 1,
......
Supports Markdown
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