summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-08-08 07:47:48 +0000
committerDries Buytaert <dries@buytaert.net>2007-08-08 07:47:48 +0000
commit6e15cf912442ca3efe33712206f6586032dd8ab1 (patch)
tree18a35dc0f002b1ce8856308e09b3744867c3df77 /modules
parent232061b7994df81a94f0890541fc15fdd2eaf6f1 (diff)
downloadbrdo-6e15cf912442ca3efe33712206f6586032dd8ab1.tar.gz
brdo-6e15cf912442ca3efe33712206f6586032dd8ab1.tar.bz2
- Patch #164974 by ricflomag: correct usage of t().
Diffstat (limited to 'modules')
-rw-r--r--modules/filter/filter.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/filter/filter.module b/modules/filter/filter.module
index 0f0cddb2a..4f8694b61 100644
--- a/modules/filter/filter.module
+++ b/modules/filter/filter.module
@@ -158,9 +158,9 @@ function filter_filter_tips($delta, $format, $long = FALSE) {
if ($allowed_html = variable_get("allowed_html_$format", '<a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>')) {
switch ($long) {
case 0:
- return t('Allowed HTML tags') .': '. check_plain($allowed_html);
+ return t('Allowed HTML tags: @tags', array('@tags' => $allowed_html));
case 1:
- $output = '<p>'. t('Allowed HTML tags') .': '. check_plain($allowed_html) .'</p>';
+ $output = '<p>'. t('Allowed HTML tags: @tags', array('@tags' => $allowed_html)) .'</p>';
if (!variable_get("filter_html_help_$format", 1)) {
return $output;
}