$this->assertTrue($this->xpath('//select[@id="edit--add-existing-field-field-name"]//option[@value="'.$this->field_name.'"]'),t('Existing field was found in account settings.'));
// Only make this form include a submit button and weight if more than one
...
...
@@ -209,12 +209,12 @@ function taxonomy_form_vocabulary_submit($form, &$form_state) {
switch(taxonomy_vocabulary_save($vocabulary)){
caseSAVED_NEW:
drupal_set_message(t('Created new vocabulary %name.',array('%name'=>$vocabulary->name)));
watchdog('taxonomy','Created new vocabulary %name.',array('%name'=>$vocabulary->name),WATCHDOG_NOTICE,l(t('edit'),'admin/structure/taxonomy/'.$vocabulary->vid.'/edit'));
watchdog('taxonomy','Created new vocabulary %name.',array('%name'=>$vocabulary->name),WATCHDOG_NOTICE,l(t('edit'),'admin/structure/taxonomy/'.$vocabulary->machine_name.'/edit'));
@@ -42,7 +42,7 @@ function taxonomy_help($path, $arg) {
$output='<p>'.t('Taxonomy is for categorizing content. Terms are grouped into vocabularies. For example, a vocabulary called "Fruit" would contain the terms "Apple" and "Banana".').'</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>';
...
...
@@ -109,8 +109,8 @@ function taxonomy_entity_info() {
$this->assertRaw(t('Are you sure you want to delete the vocabulary %name?',array('%name'=>$vocabulary->name)),t('[confirm deletion] Asks for confirmation.'));
$this->assertText(t('Deleting a vocabulary will delete all the terms in it. This action cannot be undone.'),t('[confirm deletion] Inform that all terms will be deleted.'));
...
...
@@ -455,14 +455,14 @@ class TaxonomyTermTestCase extends TaxonomyWebTestCase {