summaryrefslogtreecommitdiff
path: root/modules/comment/views/admin_block_recent_comments.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/views/admin_block_recent_comments.html.php')
-rw-r--r--modules/comment/views/admin_block_recent_comments.html.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/comment/views/admin_block_recent_comments.html.php b/modules/comment/views/admin_block_recent_comments.html.php
index 6829d74b..2d753bd7 100644
--- a/modules/comment/views/admin_block_recent_comments.html.php
+++ b/modules/comment/views/admin_block_recent_comments.html.php
@@ -3,8 +3,9 @@
<? foreach ($comments as $comment): ?>
<li>
<?= date("Y-M-d H:i:s", $comment->created) ?>
- <? printf(_("%s said %s"), "<a href=\"#\">$comment->author</a>",
- "<i>\"" . text::limit_words($comment->text, 50) . "\"</i>"); ?>
+ <?= t("{{author_name}} said {{comment_text}}",
+ array("author_name" => "<a href=\"#\">$comment->author</a>",
+ "comment_text" => "<i>\"" . text::limit_words($comment->text, 50) . "\"</i>")); ?>
</li>
<? endforeach ?>
</ul>