summaryrefslogtreecommitdiff
path: root/modules/info/helpers/info_block.php
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-01-15 10:02:41 +0000
committerAndy Staudacher <andy.st@gmail.com>2009-01-15 10:02:41 +0000
commite4a9b19bf9997f46203fbc18c696c63703a72625 (patch)
treec33f4cb354961eeba452f428dfa68c664bc3226f /modules/info/helpers/info_block.php
parente53916dd0622e3db61d6a05ad0fe69e8d7c7f11a (diff)
Changing t() placeholder syntax from {{replace_me}} to %replace_me.
Diffstat (limited to 'modules/info/helpers/info_block.php')
-rw-r--r--modules/info/helpers/info_block.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/info/helpers/info_block.php b/modules/info/helpers/info_block.php
index 3bc51c73..c832b4f6 100644
--- a/modules/info/helpers/info_block.php
+++ b/modules/info/helpers/info_block.php
@@ -32,12 +32,12 @@ class info_block_Core {
$results = "";
if ($item->view_count) {
$results .= "<li>";
- $results .= t("Views: {{view_count}}", array("view_count" => $item->view_count));
+ $results .= t("Views: %view_count", array("view_count" => $item->view_count));
$results .= "</li>";
}
if ($item->owner) {
$results .= "<li>";
- $results .= t("By: {{owner_name}}", array("owner_name" => "<a href=\"#\">{$item->owner->name}</a>"));
+ $results .= t("By: %owner_name", array("owner_name" => "<a href=\"#\">{$item->owner->name}</a>"));
$results .= "</li>";
}
return $results;