You are here

function _range_translatable_field_instance_settings in Range 7

Helper function. Returns translatable range field instance settings.

Return value

array Array of translatable field instance settings keyed by property ID.

2 calls to _range_translatable_field_instance_settings()
range_i18n_string_list_field_alter in ./range.i18n.inc
Implements hook_i18n_string_list_TEXTGROUP_alter().
range_translate_field_instance in ./range.i18n.inc
Translates given range field instance.

File

./range.i18n.inc, line 66
Integration with Internationalization module.

Code

function _range_translatable_field_instance_settings() {
  return array(
    'from_label' => t('FROM value: Form element label'),
    'from_prefix' => t('FROM value: Prefix'),
    'from_suffix' => t('FROM value: Suffix'),
    'to_label' => t('TO value: Form element label'),
    'to_prefix' => t('TO value: Prefix'),
    'to_suffix' => t('TO value: Suffix'),
    'field_prefix' => t('FIELD value: Prefix'),
    'field_suffix' => t('FIELD value: Suffix'),
    'combined_prefix' => t('COMBINED value: Prefix'),
    'combined_suffix' => t('COMBINED value: Suffix'),
  );
}