You are here

function _l10n_update_admin_import_options in Localization update 7.2

Same name and namespace in other branches
  1. 6 l10n_update.admin.inc \_l10n_update_admin_import_options()
  2. 7 l10n_update.admin.inc \_l10n_update_admin_import_options()

Get array of import options.

The import options of the Locale module are used but the UI text is altered to suit the Localization update cases.

Return value

array Keyed array of import options.

File

./l10n_update.admin.inc, line 355
Admin settings and update page.

Code

function _l10n_update_admin_import_options() {
  return array(
    LOCALE_IMPORT_OVERWRITE => t('Translation updates replace existing ones, new ones are added'),
    L10N_UPDATE_OVERWRITE_NON_CUSTOMIZED => t('Edited translations are kept, only previously imported ones are overwritten and new translations are added'),
    LOCALE_IMPORT_KEEP => t('All existing translations are kept, only new translations are added.'),
  );
}