You are here

function finder_i18nstrings_multilingual_instructions in Finder 7

Same name and namespace in other branches
  1. 6 modules/finder_i18nstrings/finder_i18nstrings.module \finder_i18nstrings_multilingual_instructions()

Get the form element which adds multilingual instructions to a form.

2 calls to finder_i18nstrings_multilingual_instructions()
finder_i18nstrings_form_finder_admin_edit_alter in modules/finder_i18nstrings/finder_i18nstrings.module
Implements hook_form_FORM_ID_alter().
finder_i18nstrings_form_finder_admin_element_edit_alter in modules/finder_i18nstrings/finder_i18nstrings.module
Implements hook_form_FORM_ID_alter().

File

modules/finder_i18nstrings/finder_i18nstrings.module, line 52
The finder string translation module.

Code

function finder_i18nstrings_multilingual_instructions() {
  $i18nstrings_value = t("Enter values in your site's default language and then use the\n      !translate_link to translate.", array(
    '!translate_link' => l(t('Translate interface'), 'admin/build/translate'),
  ));
  return array(
    '#title' => t('Multilingual instructions'),
    '#type' => 'fieldset',
    '#weight' => 2,
    'child' => array(
      '#markup' => $i18nstrings_value,
    ),
  );
}