summaryrefslogtreecommitdiff
path: root/core/views/admin_block_stats.html.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 /core/views/admin_block_stats.html.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 'core/views/admin_block_stats.html.php')
-rw-r--r--core/views/admin_block_stats.html.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/views/admin_block_stats.html.php b/core/views/admin_block_stats.html.php
index b83add10..c3b9ee98 100644
--- a/core/views/admin_block_stats.html.php
+++ b/core/views/admin_block_stats.html.php
@@ -1,12 +1,12 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<ul>
<li>
- <? printf(_("Version: %s"), "3.0") ?>
+ <?= t("Version: {{version}}", array("version" => "3.0")) ?>
</li>
<li>
- <? printf(_("Albums: %d"), $album_count) ?>
+ <?= t("Albums: {{count}}", array("count" => $album_count)) ?>
</li>
<li>
- <? printf(_("Photos: %d"), $photo_count) ?>
+ <?= t("Photos: {{count}}", array("count" => $photo_count)) ?>
</li>
</ul>