Fix the languages string to add consistancy (plural form). re #34
This commit is contained in:
parent
7e8a1fefdb
commit
1e165fb574
2
base.php
2
base.php
|
@ -581,7 +581,7 @@ class PageAllPublishers extends Page
|
|||
{
|
||||
public function InitializeContent ()
|
||||
{
|
||||
$this->title = localize("publisher.title");
|
||||
$this->title = localize("publishers.title");
|
||||
$this->entryArray = Publisher::getAllPublishers();
|
||||
$this->idPage = Publisher::ALL_PUBLISHERS_ID;
|
||||
}
|
||||
|
|
|
@ -40,11 +40,11 @@
|
|||
"##TODO##paging.previous.alternate":"Previous",
|
||||
"##TODO##permalink.alternate":"Permalink",
|
||||
"##TODO##pubdate.title":"Publication year",
|
||||
"##TODO##publisher.alphabetical.many":"Alphabetical index of the {0} publishers",
|
||||
"##TODO##publisher.alphabetical.none":"Alphabetical index of absolutely no publisher",
|
||||
"##TODO##publisher.alphabetical.one":"Alphabetical index of the single publisher",
|
||||
"##TODO##publisher.name":"Publisher",
|
||||
"##TODO##publisher.title":"Publishers",
|
||||
"##TODO##publishers.alphabetical.many":"Alphabetical index of the {0} publishers",
|
||||
"##TODO##publishers.alphabetical.none":"Alphabetical index of absolutely no publisher",
|
||||
"##TODO##publishers.alphabetical.one":"Alphabetical index of the single publisher",
|
||||
"##TODO##publishers.title":"Publishers",
|
||||
"##TODO##publisherword.many":"{0} publishers",
|
||||
"##TODO##publisherword.none":"No publisher",
|
||||
"##TODO##publisherword.one":"1 publisher",
|
||||
|
|
|
@ -40,11 +40,11 @@
|
|||
"paging.previous.alternate":"Vorherige",
|
||||
"permalink.alternate":"Permalink",
|
||||
"pubdate.title":"Veröffentlichung",
|
||||
"##TODO##publisher.alphabetical.many":"Alphabetical index of the {0} publishers",
|
||||
"##TODO##publisher.alphabetical.none":"Alphabetical index of absolutely no publisher",
|
||||
"##TODO##publisher.alphabetical.one":"Alphabetical index of the single publisher",
|
||||
"##TODO##publisher.name":"Publisher",
|
||||
"##TODO##publisher.title":"Publishers",
|
||||
"##TODO##publishers.alphabetical.many":"Alphabetical index of the {0} publishers",
|
||||
"##TODO##publishers.alphabetical.none":"Alphabetical index of absolutely no publisher",
|
||||
"##TODO##publishers.alphabetical.one":"Alphabetical index of the single publisher",
|
||||
"##TODO##publishers.title":"Publishers",
|
||||
"##TODO##publisherword.many":"{0} publishers",
|
||||
"##TODO##publisherword.none":"No publisher",
|
||||
"##TODO##publisherword.one":"1 publisher",
|
||||
|
|
|
@ -40,11 +40,11 @@
|
|||
"paging.previous.alternate":"Previous",
|
||||
"permalink.alternate":"Permalink",
|
||||
"pubdate.title":"Publication year",
|
||||
"publisher.alphabetical.many":"Alphabetical index of the {0} publishers",
|
||||
"publisher.alphabetical.none":"Alphabetical index of absolutely no publisher",
|
||||
"publisher.alphabetical.one":"Alphabetical index of the single publisher",
|
||||
"publisher.name":"Publisher",
|
||||
"publisher.title":"Publishers",
|
||||
"publishers.alphabetical.many":"Alphabetical index of the {0} publishers",
|
||||
"publishers.alphabetical.none":"Alphabetical index of absolutely no publisher",
|
||||
"publishers.alphabetical.one":"Alphabetical index of the single publisher",
|
||||
"publishers.title":"Publishers",
|
||||
"publisherword.many":"{0} publishers",
|
||||
"publisherword.none":"No publisher",
|
||||
"publisherword.one":"1 publisher",
|
||||
|
|
|
@ -40,11 +40,11 @@
|
|||
"##TODO##paging.previous.alternate":"Previous",
|
||||
"##TODO##permalink.alternate":"Permalink",
|
||||
"##TODO##pubdate.title":"Publication year",
|
||||
"##TODO##publisher.alphabetical.many":"Alphabetical index of the {0} publishers",
|
||||
"##TODO##publisher.alphabetical.none":"Alphabetical index of absolutely no publisher",
|
||||
"##TODO##publisher.alphabetical.one":"Alphabetical index of the single publisher",
|
||||
"##TODO##publisher.name":"Publisher",
|
||||
"##TODO##publisher.title":"Publishers",
|
||||
"##TODO##publishers.alphabetical.many":"Alphabetical index of the {0} publishers",
|
||||
"##TODO##publishers.alphabetical.none":"Alphabetical index of absolutely no publisher",
|
||||
"##TODO##publishers.alphabetical.one":"Alphabetical index of the single publisher",
|
||||
"##TODO##publishers.title":"Publishers",
|
||||
"##TODO##publisherword.many":"{0} publishers",
|
||||
"##TODO##publisherword.none":"No publisher",
|
||||
"##TODO##publisherword.one":"1 publisher",
|
||||
|
|
|
@ -40,11 +40,11 @@
|
|||
"paging.previous.alternate":"Précédent",
|
||||
"permalink.alternate":"Permalien",
|
||||
"pubdate.title":"Année de publication",
|
||||
"publisher.alphabetical.many":"Index alphabétique des {0} éditeurs",
|
||||
"##TODO##publisher.alphabetical.none":"Alphabetical index of absolutely no publisher",
|
||||
"publisher.alphabetical.one":"Index alphabétique de l'éditeur",
|
||||
"publisher.name":"Editeur",
|
||||
"publisher.title":"Editeurs",
|
||||
"publishers.alphabetical.many":"Index alphabétique des {0} éditeurs",
|
||||
"##TODO##publishers.alphabetical.none":"Alphabetical index of absolutely no publisher",
|
||||
"publishers.alphabetical.one":"Index alphabétique de l'éditeur",
|
||||
"publishers.title":"Editeurs",
|
||||
"publisherword.many":"{0} éditeurs",
|
||||
"publisherword.none":"Aucun éditeur",
|
||||
"publisherword.one":"1 éditeur",
|
||||
|
|
|
@ -40,11 +40,11 @@
|
|||
"paging.previous.alternate":"Precedente",
|
||||
"permalink.alternate":"Permalink",
|
||||
"pubdate.title":"Anno di publicazione",
|
||||
"##TODO##publisher.alphabetical.many":"Alphabetical index of the {0} publishers",
|
||||
"##TODO##publisher.alphabetical.none":"Alphabetical index of absolutely no publisher",
|
||||
"##TODO##publisher.alphabetical.one":"Alphabetical index of the single publisher",
|
||||
"##TODO##publisher.name":"Publisher",
|
||||
"##TODO##publisher.title":"Publishers",
|
||||
"##TODO##publishers.alphabetical.many":"Alphabetical index of the {0} publishers",
|
||||
"##TODO##publishers.alphabetical.none":"Alphabetical index of absolutely no publisher",
|
||||
"##TODO##publishers.alphabetical.one":"Alphabetical index of the single publisher",
|
||||
"##TODO##publishers.title":"Publishers",
|
||||
"##TODO##publisherword.many":"{0} publishers",
|
||||
"##TODO##publisherword.none":"No publisher",
|
||||
"##TODO##publisherword.one":"1 publisher",
|
||||
|
|
|
@ -40,11 +40,11 @@
|
|||
"paging.previous.alternate":"Forrige",
|
||||
"permalink.alternate":"Permalenke",
|
||||
"pubdate.title":"Publikasjonsår",
|
||||
"##TODO##publisher.alphabetical.many":"Alphabetical index of the {0} publishers",
|
||||
"##TODO##publisher.alphabetical.none":"Alphabetical index of absolutely no publisher",
|
||||
"##TODO##publisher.alphabetical.one":"Alphabetical index of the single publisher",
|
||||
"##TODO##publisher.name":"Publisher",
|
||||
"##TODO##publisher.title":"Publishers",
|
||||
"##TODO##publishers.alphabetical.many":"Alphabetical index of the {0} publishers",
|
||||
"##TODO##publishers.alphabetical.none":"Alphabetical index of absolutely no publisher",
|
||||
"##TODO##publishers.alphabetical.one":"Alphabetical index of the single publisher",
|
||||
"##TODO##publishers.title":"Publishers",
|
||||
"##TODO##publisherword.many":"{0} publishers",
|
||||
"##TODO##publisherword.none":"No publisher",
|
||||
"##TODO##publisherword.one":"1 publisher",
|
||||
|
|
|
@ -40,11 +40,11 @@
|
|||
"paging.previous.alternate":"Vorige",
|
||||
"permalink.alternate":"Permalink",
|
||||
"pubdate.title":"Jaar van publicatie",
|
||||
"##TODO##publisher.alphabetical.many":"Alphabetical index of the {0} publishers",
|
||||
"##TODO##publisher.alphabetical.none":"Alphabetical index of absolutely no publisher",
|
||||
"##TODO##publisher.alphabetical.one":"Alphabetical index of the single publisher",
|
||||
"##TODO##publisher.name":"Publisher",
|
||||
"##TODO##publisher.title":"Publishers",
|
||||
"##TODO##publishers.alphabetical.many":"Alphabetical index of the {0} publishers",
|
||||
"##TODO##publishers.alphabetical.none":"Alphabetical index of absolutely no publisher",
|
||||
"##TODO##publishers.alphabetical.one":"Alphabetical index of the single publisher",
|
||||
"##TODO##publishers.title":"Publishers",
|
||||
"##TODO##publisherword.many":"{0} publishers",
|
||||
"##TODO##publisherword.none":"No publisher",
|
||||
"##TODO##publisherword.one":"1 publisher",
|
||||
|
|
|
@ -40,11 +40,11 @@
|
|||
"paging.previous.alternate":"Anterior",
|
||||
"permalink.alternate":"Permalink",
|
||||
"pubdate.title":"Ano de publicação",
|
||||
"##TODO##publisher.alphabetical.many":"Alphabetical index of the {0} publishers",
|
||||
"##TODO##publisher.alphabetical.none":"Alphabetical index of absolutely no publisher",
|
||||
"##TODO##publisher.alphabetical.one":"Alphabetical index of the single publisher",
|
||||
"##TODO##publisher.name":"Publisher",
|
||||
"##TODO##publisher.title":"Publishers",
|
||||
"##TODO##publishers.alphabetical.many":"Alphabetical index of the {0} publishers",
|
||||
"##TODO##publishers.alphabetical.none":"Alphabetical index of absolutely no publisher",
|
||||
"##TODO##publishers.alphabetical.one":"Alphabetical index of the single publisher",
|
||||
"##TODO##publishers.title":"Publishers",
|
||||
"##TODO##publisherword.many":"{0} publishers",
|
||||
"##TODO##publisherword.none":"No publisher",
|
||||
"##TODO##publisherword.one":"1 publisher",
|
||||
|
|
|
@ -40,11 +40,11 @@
|
|||
"paging.previous.alternate":"Предыд.",
|
||||
"permalink.alternate":"Постоянная Ссылка",
|
||||
"pubdate.title":"Дата публикации",
|
||||
"##TODO##publisher.alphabetical.many":"Alphabetical index of the {0} publishers",
|
||||
"##TODO##publisher.alphabetical.none":"Alphabetical index of absolutely no publisher",
|
||||
"##TODO##publisher.alphabetical.one":"Alphabetical index of the single publisher",
|
||||
"##TODO##publisher.name":"Publisher",
|
||||
"##TODO##publisher.title":"Publishers",
|
||||
"##TODO##publishers.alphabetical.many":"Alphabetical index of the {0} publishers",
|
||||
"##TODO##publishers.alphabetical.none":"Alphabetical index of absolutely no publisher",
|
||||
"##TODO##publishers.alphabetical.one":"Alphabetical index of the single publisher",
|
||||
"##TODO##publishers.title":"Publishers",
|
||||
"##TODO##publisherword.many":"{0} publishers",
|
||||
"##TODO##publisherword.none":"No publisher",
|
||||
"##TODO##publisherword.one":"1 publisher",
|
||||
|
|
|
@ -40,11 +40,11 @@
|
|||
"paging.previous.alternate":"上一页",
|
||||
"permalink.alternate":"永久链接",
|
||||
"pubdate.title":"出版时间",
|
||||
"##TODO##publisher.alphabetical.many":"Alphabetical index of the {0} publishers",
|
||||
"##TODO##publisher.alphabetical.none":"Alphabetical index of absolutely no publisher",
|
||||
"##TODO##publisher.alphabetical.one":"Alphabetical index of the single publisher",
|
||||
"##TODO##publisher.name":"Publisher",
|
||||
"##TODO##publisher.title":"Publishers",
|
||||
"##TODO##publishers.alphabetical.many":"Alphabetical index of the {0} publishers",
|
||||
"##TODO##publishers.alphabetical.none":"Alphabetical index of absolutely no publisher",
|
||||
"##TODO##publishers.alphabetical.one":"Alphabetical index of the single publisher",
|
||||
"##TODO##publishers.title":"Publishers",
|
||||
"##TODO##publisherword.many":"{0} publishers",
|
||||
"##TODO##publisherword.none":"No publisher",
|
||||
"##TODO##publisherword.one":"1 publisher",
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue