Commit 98733aa2 authored by webchick's avatar webchick
Browse files

Issue #2143013 by ti2m: 'Not specified' and 'Not applicable' appear as children of previous item.

parent 0d777769
......@@ -216,18 +216,17 @@ function language_element_info() {
* An array containing the default options.
*/
function language_configuration_element_default_options() {
$language_options = array();
$language_options = array(
'site_default' => t("Site's default language (!language)", array('!language' => language_default()->name)),
'current_interface' => t('Current interface language'),
'authors_default' => t("Author's preferred language"),
);
$languages = language_list(Language::STATE_ALL);
foreach ($languages as $langcode => $language) {
$language_options[$langcode] = $language->locked ? t('- @name -', array('@name' => $language->name)) : $language->name;
}
$language_options += array(
'site_default' => t("Site's default language (!language)", array('!language' => language_default()->name)),
'current_interface' => t('Current interface language'),
'authors_default' => t("Author's preferred language"),
);
return $language_options;
}
......
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