Commit 6e15cf91 authored by Dries's avatar Dries
Browse files

- Patch #164974 by ricflomag: correct usage of t().

parent 232061b7
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment