summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-02-15 08:12:48 +0000
committerBharat Mediratta <bharat@menalto.com>2009-02-15 08:12:48 +0000
commit0e3df4e5d2d3d07199f5465fd6d21b45c96f844b (patch)
tree10973852f9e26ee1e8874561666a92d2839741f8
parent590a4677f34f866911fa6c0902130f8dbea7421a (diff)
Fix pluralized text.
-rw-r--r--modules/tag/views/admin_tags.html.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/modules/tag/views/admin_tags.html.php b/modules/tag/views/admin_tags.html.php
index d92f422a..b65f79fa 100644
--- a/modules/tag/views/admin_tags.html.php
+++ b/modules/tag/views/admin_tags.html.php
@@ -44,7 +44,9 @@
<? $column_tag_count = 0 ?>
<table id="gTagAdmin" class="gBlockContent">
- <caption class="understate"><?= t("There are ".$tags->count()." tags") ?></caption>
+ <caption class="understate">
+ <?= t2("There is one tag", "There are %count tags", $tags->count()) ?>
+ </caption>
<tr>
<td>
<? foreach ($tags as $i => $tag): ?>
@@ -59,12 +61,12 @@
<td>
<? $column_tag_count = 0 ?>
<? endif ?>
-
+
</ul>
<strong><?= $current_letter ?></strong>
<ul>
<? endif ?>
-
+
<li>
<span id="gTag-<?= $tag->id ?>" class="gEditable"
title="<?= t("Click to edit this tag") ?>"><?= $tag->name ?></span>
@@ -72,7 +74,7 @@
<a href="<?= url::site("admin/tags/form_delete/$tag->id") ?>" class="gDialogLink"
title="<?= t("Delete this tag") ?>">X</a>
</li>
-
+
<? $column_tag_count++ ?>
<? $last_letter = $current_letter ?>
<? endforeach /* $tags */ ?>
@@ -80,4 +82,4 @@
</td>
</tr>
</table>
-</div> \ No newline at end of file
+</div>