Révision 6331c987
Ajouté par Assos Assos il y a environ 10 ans
drupal7/sites/all/modules/i18n/i18n_forum/i18n_forum.module | ||
---|---|---|
35 | 35 |
if ($vid && ($vocabulary = taxonomy_vocabulary_load($vid)) && ($field = field_info_field('taxonomy_' . $vocabulary->machine_name))) { |
36 | 36 |
foreach ($field['bundles']['node'] as $type) { |
37 | 37 |
if (isset($data['actions']['output'][$type])) { |
38 |
$data['actions']['output'][$type]['#link']['title'] = t('Add new @node_type', array('@node_type' => i18n_node_type_name($type, node_type_get_name($type))));
|
|
38 |
$data['actions']['output'][$type]['#link']['title'] = t('Add new @node_type', array('@node_type' => i18n_node_type_name($type))); |
|
39 | 39 |
} |
40 | 40 |
} |
41 | 41 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules