2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
'#description'=>t('The unique machinereadable name for this vocabulary, used for theme templates, can only contain lowercase letters, numbers and underscores.'),
'#description'=>t('The unique machine-readable name for this vocabulary, used for theme templates. Can only contain lowercase letters, numbers, and underscores.'),
@@ -45,14 +45,12 @@ function taxonomy_help($path, $arg) {
$vocabulary=taxonomy_vocabulary_load($arg[3]);
switch($vocabulary->hierarchy){
case0:
return'<p>'.t('You can reorganize the terms in %capital_name using their draganddrop handles, and group terms under a parent term by sliding them under and to the right of the parent.',array('%capital_name'=>drupal_ucfirst($vocabulary->name),'%name'=>$vocabulary->name)).'</p>';
return'<p>'.t('You can reorganize the terms in %capital_name using their drag-and-drop handles, and group terms under a parent term by sliding them under and to the right of the parent.',array('%capital_name'=>drupal_ucfirst($vocabulary->name),'%name'=>$vocabulary->name)).'</p>';
case1:
return'<p>'.t('%capital_name contains terms grouped with parent terms. You can reorganize the terms in %capital_name using their draganddrop handles.',array('%capital_name'=>drupal_ucfirst($vocabulary->name),'%name'=>$vocabulary->name)).'</p>';
return'<p>'.t('%capital_name contains terms grouped under parent terms. You can reorganize the terms in %capital_name using their drag-and-drop handles.',array('%capital_name'=>drupal_ucfirst($vocabulary->name),'%name'=>$vocabulary->name)).'</p>';
case2:
return'<p>'.t('%capital_name contains terms with multiple parents. Drag and drop of terms with multiple parents is not supported, but you can re-enable draganddrop support by editing each term to include only a single parent.',array('%capital_name'=>drupal_ucfirst($vocabulary->name))).'</p>';
return'<p>'.t('%capital_name contains terms with multiple parents. Drag and drop of terms with multiple parents 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>';
}
case'admin/structure/taxonomy/add':
return'<p>'.t('To create a new taxonomy vocabulary, type in a name and a description.').'</p>';