function i18n_string_permission in Internationalization 7
Implements hook_permission().
File
- i18n_string/
i18n_string.module, line 198 - Internationalization (i18n) package - translatable strings.
Code
function i18n_string_permission() {
return array(
'translate user-defined strings' => array(
'title' => t('Translate user-defined strings'),
'description' => t('Translate user-defined strings that are created as part of content or configuration.'),
'restrict access' => TRUE,
),
'translate admin strings' => array(
'title' => t('Translate admin strings'),
'description' => t('Translate administrative strings with a very permissive XSS/HTML filter that allows all HTML tags.'),
'restrict access' => TRUE,
),
);
}