From 58907e0bffb5a7d2d0bfc05cec28f366432bb3e8 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Wed, 22 Jun 2011 20:57:07 +0200 Subject: use php's gettext module Signed-off-by: Florian Pritz --- web/template/pkg_comments.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'web/template/pkg_comments.php') diff --git a/web/template/pkg_comments.php b/web/template/pkg_comments.php index aed9ca8b..f62308d6 100644 --- a/web/template/pkg_comments.php +++ b/web/template/pkg_comments.php @@ -8,7 +8,7 @@ while (list($indx, $carr) = each($comments)) { ?> $carr['UserName'] = "{$carr['UserName']}"; } - $commentHeader = '

' . __('Comment by: %s on %s', $carr['UserName'], gmdate('r', $carr['CommentTS'])) . '

'; + $commentHeader = '

' . sprintf(_('Comment by: %s on %s'), $carr['UserName'], gmdate('r', $carr['CommentTS'])) . '

'; if (canDeleteCommentArray($carr, $atype, $uid)) { $durl = '
'; @@ -16,7 +16,7 @@ while (list($indx, $carr) = each($comments)) { ?> $durl.= ''; $durl.= ''; $durl.= ' $count = package_comments_count($_GET['ID']); if ($count > 10 && !isset($_GET['comments'])) { echo ''; } ?> -- cgit v1.2.3-24-g4f1b