diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-09-09 05:12:59 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-09-09 05:12:59 +0000 |
commit | 0b1592c3953443286acbf74d990a8c8159fe3e62 (patch) | |
tree | 3242950f4a5ec6801100199abc02d746dc72b818 | |
parent | 3f894f81e9d4137702c910dbb70027b8c01e3cd1 (diff) | |
download | brdo-0b1592c3953443286acbf74d990a8c8159fe3e62.tar.gz brdo-0b1592c3953443286acbf74d990a8c8159fe3e62.tar.bz2 |
- Patch #10678 by drumm: usability improvement: one-liner to make the deletion message more consistent with the rest of Drupal. Use <em>-tags instead of single quotes.
-rw-r--r-- | modules/filter.module | 2 | ||||
-rw-r--r-- | modules/filter/filter.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/filter.module b/modules/filter.module index 1dcc1c59f..849c9ca4d 100644 --- a/modules/filter.module +++ b/modules/filter.module @@ -307,7 +307,7 @@ function filter_admin_delete() { $form .= form_hidden('format', $format->format); $form .= form_hidden('name', $format->name); - $form .= '<p>'. t("Are you sure you want to delete the input format '%format'? If you have any content left in this input format, it will be switched to the default input format.", array('%format' => $format->name)) .'</p>'; + $form .= '<p>'. t('Are you sure you want to delete the input format %format? If you have any content left in this input format, it will be switched to the default input format.', array('%format' => '<em>'. $format->name .'</em>')) ."</p>\n"; $form .= form_submit(t('Confirm deletion')); print theme('page', form($form)); } diff --git a/modules/filter/filter.module b/modules/filter/filter.module index 1dcc1c59f..849c9ca4d 100644 --- a/modules/filter/filter.module +++ b/modules/filter/filter.module @@ -307,7 +307,7 @@ function filter_admin_delete() { $form .= form_hidden('format', $format->format); $form .= form_hidden('name', $format->name); - $form .= '<p>'. t("Are you sure you want to delete the input format '%format'? If you have any content left in this input format, it will be switched to the default input format.", array('%format' => $format->name)) .'</p>'; + $form .= '<p>'. t('Are you sure you want to delete the input format %format? If you have any content left in this input format, it will be switched to the default input format.', array('%format' => '<em>'. $format->name .'</em>')) ."</p>\n"; $form .= form_submit(t('Confirm deletion')); print theme('page', form($form)); } |