mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-22 14:55:18 -04:00
Fix pluralized text.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user