diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-04-24 18:23:48 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-04-24 18:23:48 +0000 |
commit | 359ace36e6a56f815d1bf6e8e03eed5e11badab5 (patch) | |
tree | 6939cd65e7f25f1a6050e32a345d6b40502442c0 /modules/taxonomy/taxonomy.module | |
parent | 0a5ec93496168164c189d66def1d2c9728d1dc47 (diff) | |
download | brdo-359ace36e6a56f815d1bf6e8e03eed5e11badab5.tar.gz brdo-359ace36e6a56f815d1bf6e8e03eed5e11badab5.tar.bz2 |
#76588 patch by alienbrain: some localization-unfriendly watchdog() calls
Diffstat (limited to 'modules/taxonomy/taxonomy.module')
-rw-r--r-- | modules/taxonomy/taxonomy.module | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 07afcaf40..d65d52d7c 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -310,11 +310,11 @@ function taxonomy_form_vocabulary_submit($form_id, $form_values) { switch (taxonomy_save_vocabulary($form_values)) { case SAVED_NEW: drupal_set_message(t('Created new vocabulary %name.', array('%name' => $form_values['name']))); - watchdog('taxonomy', t('Created new vocabulary %name.', array('%name' => $form_values['name'])), WATCHDOG_NOTICE, l(t('edit'), 'admin/content/taxonomy/edit/vocabulary/'. $form_values['vid'])); + watchdog('taxonomy', 'Created new vocabulary %name.', array('%name' => $form_values['name']), WATCHDOG_NOTICE, l(t('edit'), 'admin/content/taxonomy/edit/vocabulary/'. $form_values['vid'])); break; case SAVED_UPDATED: drupal_set_message(t('Updated vocabulary %name.', array('%name' => $form_values['name']))); - watchdog('taxonomy', t('Updated vocabulary %name.', array('%name' => $form_values['name'])), WATCHDOG_NOTICE, l(t('edit'), 'admin/content/taxonomy/edit/vocabulary/'. $form_values['vid'])); + watchdog('taxonomy', 'Updated vocabulary %name.', array('%name' => $form_values['name']), WATCHDOG_NOTICE, l(t('edit'), 'admin/content/taxonomy/edit/vocabulary/'. $form_values['vid'])); break; } @@ -394,7 +394,7 @@ function taxonomy_vocabulary_confirm_delete($vid) { function taxonomy_vocabulary_confirm_delete_submit($form_id, $form_values) { $status = taxonomy_del_vocabulary($form_values['vid']); drupal_set_message(t('Deleted vocabulary %name.', array('%name' => $form_values['name']))); - watchdog('taxonomy', t('Deleted vocabulary %name.', array('%name' => $form_values['name'])), WATCHDOG_NOTICE); + watchdog('taxonomy', 'Deleted vocabulary %name.', array('%name' => $form_values['name']), WATCHDOG_NOTICE); return 'admin/content/taxonomy'; } @@ -480,11 +480,11 @@ function taxonomy_form_term_submit($form_id, $form_values) { switch (taxonomy_save_term($form_values)) { case SAVED_NEW: drupal_set_message(t('Created new term %term.', array('%term' => $form_values['name']))); - watchdog('taxonomy', t('Created new term %term.', array('%term' => $form_values['name'])), WATCHDOG_NOTICE, l(t('edit'), 'admin/content/taxonomy/edit/term/'. $form_values['tid'])); + watchdog('taxonomy', 'Created new term %term.', array('%term' => $form_values['name']), WATCHDOG_NOTICE, l(t('edit'), 'admin/content/taxonomy/edit/term/'. $form_values['tid'])); break; case SAVED_UPDATED: drupal_set_message(t('Updated term %term.', array('%term' => $form_values['name']))); - watchdog('taxonomy', t('Updated term %term.', array('%term' => $form_values['name'])), WATCHDOG_NOTICE, l(t('edit'), 'admin/content/taxonomy/edit/term/'. $form_values['tid'])); + watchdog('taxonomy', 'Updated term %term.', array('%term' => $form_values['name']), WATCHDOG_NOTICE, l(t('edit'), 'admin/content/taxonomy/edit/term/'. $form_values['tid'])); break; } return 'admin/content/taxonomy'; @@ -626,7 +626,7 @@ function taxonomy_term_confirm_delete($tid) { function taxonomy_term_confirm_delete_submit($form_id, $form_values) { taxonomy_del_term($form_values['tid']); drupal_set_message(t('Deleted term %name.', array('%name' => $form_values['name']))); - watchdog('taxonomy', t('Deleted term %name.', array('%name' => $form_values['name'])), WATCHDOG_NOTICE); + watchdog('taxonomy', 'Deleted term %name.', array('%name' => $form_values['name']), WATCHDOG_NOTICE); return 'admin/content/taxonomy'; } |