summaryrefslogtreecommitdiff
path: root/modules/comment/helpers/comment_block.php
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-01-08 17:13:06 +0000
committerAndy Staudacher <andy.st@gmail.com>2009-01-08 17:13:06 +0000
commita631fe29f3950f8db1f7fb4ce1f47261a9b0feff (patch)
treeb5af3ad39362dea97ce01be63d5ec09b7846bb9c /modules/comment/helpers/comment_block.php
parentfd081159f1783918d81e355e25e262ccc5249913 (diff)
i18n refactoring: Rename all _() (reserved by gettext) calls to t().
- And refactor printf to our string interpolation / pluralization syntax - Also, a slight change to the translations_incomings table, using binary(16) instead of char(32) as message key.
Diffstat (limited to 'modules/comment/helpers/comment_block.php')
-rw-r--r--modules/comment/helpers/comment_block.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/helpers/comment_block.php b/modules/comment/helpers/comment_block.php
index 9a104baf..837eebb9 100644
--- a/modules/comment/helpers/comment_block.php
+++ b/modules/comment/helpers/comment_block.php
@@ -27,7 +27,7 @@ class comment_block_Core {
public static function photo_bottom($theme) {
$block = new Block;
$block->id = "gComments";
- $block->title = _("Comments");
+ $block->title = t("Comments");
$view = new View("comments.html");
$view->comments = ORM::factory("comment")
@@ -44,7 +44,7 @@ class comment_block_Core {
public static function admin_dashboard_blocks($theme) {
$block = new Block();
$block->id = "gRecentComments";
- $block->title = _("Recent Comments");
+ $block->title = t("Recent Comments");
$block->content = new View("admin_block_recent_comments.html");
$block->content->comments =
ORM::factory("comment")->orderby("created", "DESC")->limit(5)->find_all();