Projet

Général

Profil

Révision 219d19c4

Ajouté par Assos Assos il y a plus de 3 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ctools/plugins/access/term_has_parent.inc
38 38
    '#title' => t('Vocabulary'),
39 39
    '#type' => 'select',
40 40
    '#options' => array(),
41
    '#description' => t('Select the vocabulary for this form.'),
41
    '#description' => t('Select the vocabulary your parent term belongs to.'),
42 42
    '#id' => 'ctools-select-vid',
43 43
    '#default_value' => $conf['vid'],
44 44
    '#required' => TRUE,
......
57 57
    $options[$vid] = $vocabulary->name;
58 58
    $form['settings']['vid_' . $vid] = array(
59 59
      '#title' => t('Terms'),
60
      '#description' => t('Select a term or terms from @vocabulary.', array('@vocabulary' => $vocabulary->name)),
60
      '#description' => t('Select a parent term (or terms) from the @vocabulary vocabulary.', array('@vocabulary' => $vocabulary->name)),
61 61
      '#dependency' => array('ctools-select-vid' => array($vocabulary->vid)),
62 62
      '#default_value' => !empty($conf['vid_' . $vid]) ? $conf['vid_' . $vid] : '',
63 63
      '#size' => 10,
......
77 77
  }
78 78
  $form['settings']['vid']['#options'] = $options;
79 79
  $form['settings']['include_self'] = array(
80
    '#title' => t('Include these term(s) as candidates?'),
81
    '#description' => t('When this rule is evaluated, should the term(s) you select be included as candidates for access?'),
80
    '#title' => t('Include these parent term(s)?'),
81
    '#description' => t('Should the term(s) you selected above be included in addition to their children?'),
82 82
    '#default_value' => !empty($conf['include_self']) ? $conf['include_self'] : FALSE,
83 83
    '#type' => 'checkbox',
84 84
  );

Formats disponibles : Unified diff