diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-01-18 19:40:18 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-01-18 19:40:18 +0000 |
commit | 5f829187e6c3561dbfde6e3a325b599c36f59739 (patch) | |
tree | b012ac3d6b4e0fd305557639d3028ff383456ab8 | |
parent | 52507806eb2c68dbc05661261b5c10c690cc0ca0 (diff) | |
download | brdo-5f829187e6c3561dbfde6e3a325b599c36f59739.tar.gz brdo-5f829187e6c3561dbfde6e3a325b599c36f59739.tar.bz2 |
- Patch #45209 by markus et al: added some missing t() functions.
-rw-r--r-- | includes/theme.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index e7e14f3ef..5cb18985a 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -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)) { |