function admin_language_permission in Administration Language 7
Implements hook_permission().
File
- ./
admin_language.module, line 27 - Makes admin pages be displayed in the administrator's preferred language.
Code
function admin_language_permission() {
return array(
'display admin pages in another language' => array(
'title' => t('Select administration language'),
'description' => t('Show all administration pages using a different language than the rest of the site.'),
),
'use all enabled languages' => array(
'title' => t('Use all enabled languages'),
'description' => t('Select any enabled language for use as the administration language'),
),
);
}