Fix the languages string to add consistancy (plural form). re #34

This commit is contained in:
Sébastien Lucas 2013-12-19 08:24:02 +01:00
parent 7e8a1fefdb
commit 1e165fb574
13 changed files with 47 additions and 47 deletions

View file

@ -30,8 +30,8 @@ class Publisher extends Base {
public static function getCount() {
$nPublishers = parent::getDb ()->query('select count(*) from publishers')->fetchColumn();
if ($nPublishers == 0) return NULL;
$entry = new Entry (localize("publisher.title"), self::ALL_PUBLISHERS_ID,
str_format (localize("publisher.alphabetical", $nPublishers), $nPublishers), "text",
$entry = new Entry (localize("publishers.title"), self::ALL_PUBLISHERS_ID,
str_format (localize("publishers.alphabetical", $nPublishers), $nPublishers), "text",
array ( new LinkNavigation ("?page=".parent::PAGE_ALL_PUBLISHERS)));
return $entry;
}