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
|
@ -30,7 +30,7 @@ class Serie extends Base {
|
|||
public static function getCount() {
|
||||
$nSeries = parent::getDb ()->query('select count(*) from series')->fetchColumn();
|
||||
$entry = new Entry (localize("series.title"), self::ALL_SERIES_ID,
|
||||
str_format (localize("series.alphabetical"), $nSeries), "text",
|
||||
str_format (localize("series.alphabetical", $nSeries), $nSeries), "text",
|
||||
array ( new LinkNavigation ("?page=".parent::PAGE_ALL_SERIES)));
|
||||
return $entry;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue