You are here

function _i18n_selection_mode in Internationalization 5.3

Same name and namespace in other branches
  1. 5 i18n.module \_i18n_selection_mode()
  2. 5.2 i18n.module \_i18n_selection_mode()
  3. 6 i18n.admin.inc \_i18n_selection_mode()
1 call to _i18n_selection_mode()
i18n_admin_settings in ./i18n.module
Form builder function.

File

./i18n.module, line 682
Internationalization (i18n) module

Code

function _i18n_selection_mode() {
  return array(
    // Emphasize the first 2 ones, will be the most preferred.
    'simple' => '<strong>' . t('Current language and no language') . '</strong>',
    'mixed' => '<strong>' . t('Current language (if available) or default language, and no language') . '</strong>',
    'default' => t('Only default language and no language'),
    'strict' => t('Only current language'),
    'off' => t('All content. No language conditions apply'),
  );
}