View details of Lexicon module, adding styles and global translationes
This commit is contained in:
parent
d1100db28e
commit
97bc3e5e20
7 changed files with 68 additions and 58 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -1362,11 +1362,11 @@ function taxonomy_help($path, $arg) {
|
|||
}
|
||||
switch ($vocabulary->hierarchy) {
|
||||
case 0:
|
||||
return '<p>'. t('%capital_name is a flat vocabulary. You may organize the terms in the %name vocabulary by using the handles on the left side of the table. To change the name or description of a term, click the <em>edit</em> link next to the term.', array('%capital_name' => drupal_ucfirst($vocabulary->name), '%name' => $vocabulary->name)) .'</p>';
|
||||
return '<p>'. t('%capital_name is a flat vocabulary. You may organize the terms in the %name vocabulary by using the handles on the left side of the table. To change the name or description of a term, click the <em>edit</em> link next to the term.', array('%capital_name' => t(drupal_ucfirst($vocabulary->name)), '%name' => t($vocabulary->name))) .'</p>';
|
||||
case 1:
|
||||
return '<p>'. t('%capital_name is a single hierarchy vocabulary. You may organize the terms in the %name vocabulary by using the handles on the left side of the table. To change the name or description of a term, click the <em>edit</em> link next to the term.', array('%capital_name' => drupal_ucfirst($vocabulary->name), '%name' => $vocabulary->name)) .'</p>';
|
||||
return '<p>'. t('%capital_name is a single hierarchy vocabulary. You may organize the terms in the %name vocabulary by using the handles on the left side of the table. To change the name or description of a term, click the <em>edit</em> link next to the term.', array('%capital_name' => t(drupal_ucfirst($vocabulary->name)), '%name' => t($vocabulary->name))) .'</p>';
|
||||
case 2:
|
||||
return '<p>'. t('%capital_name is a multiple hierarchy vocabulary. To change the name or description of a term, click the <em>edit</em> link next to the term. Drag and drop of multiple hierarchies is not supported, but you can re-enable drag and drop support by editing each term to include only a single parent.', array('%capital_name' => drupal_ucfirst($vocabulary->name))) .'</p>';
|
||||
return '<p>'. t('%capital_name is a multiple hierarchy vocabulary. To change the name or description of a term, click the <em>edit</em> link next to the term. Drag and drop of multiple hierarchies is not supported, but you can re-enable drag and drop support by editing each term to include only a single parent.', array('%capital_name' => t(drupal_ucfirst($vocabulary->name)))) .'</p>';
|
||||
}
|
||||
case 'admin/content/taxonomy/add/vocabulary':
|
||||
return '<p>'. t('Define how your vocabulary will be presented to administrators and users, and which content types to categorize with it. Tags allows users to create terms when submitting posts by typing a comma separated list. Otherwise terms are chosen from a select list and can only be created by users with the "administer taxonomy" permission.') .'</p>';
|
||||
|
|
Reference in a new issue