Fix pluralized text.

This commit is contained in:
Bharat Mediratta
2009-02-15 08:12:48 +00:00
parent 590a4677f3
commit 0e3df4e5d2
+7 -5
View File
@@ -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>
</div>