diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-08-18 19:16:01 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-08-18 19:16:01 +0000 |
commit | 5b825a7bfe1b942441519fa62261e0478758e543 (patch) | |
tree | 7be47610f9cf77290c8c6930515ad6d6460a779c /themes/engines/phptemplate | |
parent | 7de41539df93abeea427c1aa83ee7e13684a4fc6 (diff) | |
download | brdo-5b825a7bfe1b942441519fa62261e0478758e543.tar.gz brdo-5b825a7bfe1b942441519fa62261e0478758e543.tar.bz2 |
- Fixed some t() breakage.
Diffstat (limited to 'themes/engines/phptemplate')
-rw-r--r-- | themes/engines/phptemplate/phptemplate.engine | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/themes/engines/phptemplate/phptemplate.engine b/themes/engines/phptemplate/phptemplate.engine index 6b503a782..939ef1328 100644 --- a/themes/engines/phptemplate/phptemplate.engine +++ b/themes/engines/phptemplate/phptemplate.engine @@ -279,7 +279,7 @@ function phptemplate_node($node, $teaser = 0, $page = 0) { // Display info only on certain node types. if (theme_get_setting('toggle_node_info_' . $node->type)) { - $variables['submitted'] = t('Submitted by %a on %b.', array('%a' => theme('username', $node), '%b' => format_date($node->created))); + $variables['submitted'] = t('Submitted by !a on @b.', array('!a' => theme('username', $node), '@b' => format_date($node->created))); $variables['picture'] = theme_get_setting('toggle_node_user_picture') ? theme('user_picture', $node) : ''; } else { @@ -303,9 +303,9 @@ function phptemplate_comment($comment, $links = 0) { 'links' => isset($links) ? theme('links', $links) : '', 'new' => $comment->new ? t('new') : '', 'picture' => theme_get_setting('toggle_comment_user_picture') ? theme('user_picture', $comment) : '', - 'submitted' => t('Submitted by %a on %b.', - array('%a' => theme('username', $comment), - '%b' => format_date($comment->timestamp))), + 'submitted' => t('Submitted by !a on @b.', + array('!a' => theme('username', $comment), + '@b' => format_date($comment->timestamp))), 'title' => l($comment->subject, $_GET['q'], NULL, NULL, "comment-$comment->cid") )); } |