View details of Lexicon module, adding styles and global translationes

This commit is contained in:
Manuel Cillero 2017-08-03 23:25:25 +02:00
parent d1100db28e
commit 97bc3e5e20
7 changed files with 68 additions and 58 deletions

View file

@ -250,7 +250,7 @@ function taxonomy_overview_terms(&$form_state, $vocabulary) {
return taxonomy_vocabulary_confirm_reset_alphabetical($form_state, $vocabulary->vid);
}
drupal_set_title(t('Terms in %vocabulary', array('%vocabulary' => $vocabulary->name)));
drupal_set_title(t('Terms in %vocabulary', array('%vocabulary' => t($vocabulary->name))));
$form = array(
'#vocabulary' => (array)$vocabulary,
'#tree' => TRUE,
@ -620,7 +620,7 @@ function theme_taxonomy_overview_terms($form) {
* Menu callback; return the edit form for a new term after setting the title.
*/
function taxonomy_add_term_page($vocabulary) {
drupal_set_title(t('Add term to %vocabulary', array('%vocabulary' => $vocabulary->name)));
drupal_set_title(t('Add term to %vocabulary', array('%vocabulary' => t($vocabulary->name))));
return drupal_get_form('taxonomy_form_term' , $vocabulary);
}