--- marksmarty.module 2006-05-15 00:29:58.000000000 +0300 +++ marksmarty.module.patched 2006-05-16 23:27:00.000000000 +0300 @@ -35,7 +35,7 @@ function marksmarty_filter_tips($delta = For complete details on the Markdown syntax, see the Markdown documentation.'); } else { - $the_output = t('You can use '.l('Markdown syntax', 'filter/tips').' to format and style the text.'); + $the_output = t('You can use %link to format and style the text.', array('%link' => l('Markdown syntax', 'filter/tips')); } return $the_output; @@ -44,15 +44,15 @@ function marksmarty_filter_tips($delta = function marksmarty_help($in_section = 'admin/help#marksmarty') { switch ($in_section) { case 'admin/modules#description': - $the_output = 'Allows content to be submitted using Markdown, a simple plain-text syntax that is filtered into valid XHTML, and converts plain ASCII characters to Unicode entities using SmartyPants.'; + $the_output = t('Allows content to be submitted using Markdown, a simple plain-text syntax that is filtered into valid XHTML, and converts plain ASCII characters to Unicode entities using SmartyPants.'); break; case 'admin/help#marksmarty': - $the_output = '

The Markdown with SmartyPants module allows you to enter content using Markdown, a simple plain-text syntax that is filtered into valid XHTML, and will automatically convert plain ASCII characters to their proper Unicode entities in context ("curly quotes," et al.) using SmartyPants.

'; + $the_output = t('

The Markdown with SmartyPants module allows you to enter content using Markdown, a simple plain-text syntax that is filtered into valid XHTML, and will automatically convert plain ASCII characters to their proper Unicode entities in context ("curly quotes," et al.) using SmartyPants.

'); break; } - return t($the_output); + return $the_output; } /********************************************************************