Commit 5f829187 authored by Dries's avatar Dries

- Patch #45209 by markus et al: added some missing t() functions.

parent 52507806
......@@ -569,10 +569,10 @@ function theme_node($node, $teaser = FALSE, $page = FALSE) {
}
if ($page == 0) {
$output = '<h2 class="title">'. check_plain($node->title) .'</h2> by '. theme('username', $node);
$output = t('%title by %name', array('%title' => '<h2 class="title">'. check_plain($node->title) .'</h2>', '%name' => theme('username', $node)));
}
else {
$output = 'by '. theme('username', $node);
$output = t('by %name', array('%name' => theme('username', $node)));
}
if (count($terms)) {
......
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