Modify some locale handling to better handle plurals. Based on a patch by Tobias. re #37
This commit is contained in:
parent
0682c568b4
commit
560bb69942
13 changed files with 69 additions and 69 deletions
2
tag.php
2
tag.php
|
@ -30,7 +30,7 @@ class tag extends Base {
|
|||
public static function getCount() {
|
||||
$nTags = parent::getDb ()->query('select count(*) from tags')->fetchColumn();
|
||||
$entry = new Entry (localize("tags.title"), self::ALL_TAGS_ID,
|
||||
str_format (localize("tags.alphabetical"), $nTags), "text",
|
||||
str_format (localize("tags.alphabetical", $nTags), $nTags), "text",
|
||||
array ( new LinkNavigation ("?page=".parent::PAGE_ALL_TAGS)));
|
||||
return $entry;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue