From 0b1592c3953443286acbf74d990a8c8159fe3e62 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 9 Sep 2004 05:12:59 +0000 Subject: - Patch #10678 by drumm: usability improvement: one-liner to make the deletion message more consistent with the rest of Drupal. Use -tags instead of single quotes. --- modules/filter.module | 2 +- modules/filter/filter.module | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') 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 .= '

'. 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)) .'

'; + $form .= '

'. 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 .'')) ."

\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 .= '

'. 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)) .'

'; + $form .= '

'. 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 .'')) ."

\n"; $form .= form_submit(t('Confirm deletion')); print theme('page', form($form)); } -- cgit v1.2.3