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 ()
|
public function InitializeContent ()
|
||||||
{
|
{
|
||||||
$this->title = localize("publisher.title");
|
$this->title = localize("publishers.title");
|
||||||
$this->entryArray = Publisher::getAllPublishers();
|
$this->entryArray = Publisher::getAllPublishers();
|
||||||
$this->idPage = Publisher::ALL_PUBLISHERS_ID;
|
$this->idPage = Publisher::ALL_PUBLISHERS_ID;
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,11 +40,11 @@
|
||||||
"##TODO##paging.previous.alternate":"Previous",
|
"##TODO##paging.previous.alternate":"Previous",
|
||||||
"##TODO##permalink.alternate":"Permalink",
|
"##TODO##permalink.alternate":"Permalink",
|
||||||
"##TODO##pubdate.title":"Publication year",
|
"##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.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.many":"{0} publishers",
|
||||||
"##TODO##publisherword.none":"No publisher",
|
"##TODO##publisherword.none":"No publisher",
|
||||||
"##TODO##publisherword.one":"1 publisher",
|
"##TODO##publisherword.one":"1 publisher",
|
||||||
|
|
|
@ -40,11 +40,11 @@
|
||||||
"paging.previous.alternate":"Vorherige",
|
"paging.previous.alternate":"Vorherige",
|
||||||
"permalink.alternate":"Permalink",
|
"permalink.alternate":"Permalink",
|
||||||
"pubdate.title":"Veröffentlichung",
|
"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.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.many":"{0} publishers",
|
||||||
"##TODO##publisherword.none":"No publisher",
|
"##TODO##publisherword.none":"No publisher",
|
||||||
"##TODO##publisherword.one":"1 publisher",
|
"##TODO##publisherword.one":"1 publisher",
|
||||||
|
|
|
@ -40,11 +40,11 @@
|
||||||
"paging.previous.alternate":"Previous",
|
"paging.previous.alternate":"Previous",
|
||||||
"permalink.alternate":"Permalink",
|
"permalink.alternate":"Permalink",
|
||||||
"pubdate.title":"Publication year",
|
"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.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.many":"{0} publishers",
|
||||||
"publisherword.none":"No publisher",
|
"publisherword.none":"No publisher",
|
||||||
"publisherword.one":"1 publisher",
|
"publisherword.one":"1 publisher",
|
||||||
|
|
|
@ -40,11 +40,11 @@
|
||||||
"##TODO##paging.previous.alternate":"Previous",
|
"##TODO##paging.previous.alternate":"Previous",
|
||||||
"##TODO##permalink.alternate":"Permalink",
|
"##TODO##permalink.alternate":"Permalink",
|
||||||
"##TODO##pubdate.title":"Publication year",
|
"##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.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.many":"{0} publishers",
|
||||||
"##TODO##publisherword.none":"No publisher",
|
"##TODO##publisherword.none":"No publisher",
|
||||||
"##TODO##publisherword.one":"1 publisher",
|
"##TODO##publisherword.one":"1 publisher",
|
||||||
|
|
|
@ -40,11 +40,11 @@
|
||||||
"paging.previous.alternate":"Précédent",
|
"paging.previous.alternate":"Précédent",
|
||||||
"permalink.alternate":"Permalien",
|
"permalink.alternate":"Permalien",
|
||||||
"pubdate.title":"Année de publication",
|
"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.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.many":"{0} éditeurs",
|
||||||
"publisherword.none":"Aucun éditeur",
|
"publisherword.none":"Aucun éditeur",
|
||||||
"publisherword.one":"1 éditeur",
|
"publisherword.one":"1 éditeur",
|
||||||
|
|
|
@ -40,11 +40,11 @@
|
||||||
"paging.previous.alternate":"Precedente",
|
"paging.previous.alternate":"Precedente",
|
||||||
"permalink.alternate":"Permalink",
|
"permalink.alternate":"Permalink",
|
||||||
"pubdate.title":"Anno di publicazione",
|
"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.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.many":"{0} publishers",
|
||||||
"##TODO##publisherword.none":"No publisher",
|
"##TODO##publisherword.none":"No publisher",
|
||||||
"##TODO##publisherword.one":"1 publisher",
|
"##TODO##publisherword.one":"1 publisher",
|
||||||
|
|
|
@ -40,11 +40,11 @@
|
||||||
"paging.previous.alternate":"Forrige",
|
"paging.previous.alternate":"Forrige",
|
||||||
"permalink.alternate":"Permalenke",
|
"permalink.alternate":"Permalenke",
|
||||||
"pubdate.title":"Publikasjonsår",
|
"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.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.many":"{0} publishers",
|
||||||
"##TODO##publisherword.none":"No publisher",
|
"##TODO##publisherword.none":"No publisher",
|
||||||
"##TODO##publisherword.one":"1 publisher",
|
"##TODO##publisherword.one":"1 publisher",
|
||||||
|
|
|
@ -40,11 +40,11 @@
|
||||||
"paging.previous.alternate":"Vorige",
|
"paging.previous.alternate":"Vorige",
|
||||||
"permalink.alternate":"Permalink",
|
"permalink.alternate":"Permalink",
|
||||||
"pubdate.title":"Jaar van publicatie",
|
"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.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.many":"{0} publishers",
|
||||||
"##TODO##publisherword.none":"No publisher",
|
"##TODO##publisherword.none":"No publisher",
|
||||||
"##TODO##publisherword.one":"1 publisher",
|
"##TODO##publisherword.one":"1 publisher",
|
||||||
|
|
|
@ -40,11 +40,11 @@
|
||||||
"paging.previous.alternate":"Anterior",
|
"paging.previous.alternate":"Anterior",
|
||||||
"permalink.alternate":"Permalink",
|
"permalink.alternate":"Permalink",
|
||||||
"pubdate.title":"Ano de publicação",
|
"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.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.many":"{0} publishers",
|
||||||
"##TODO##publisherword.none":"No publisher",
|
"##TODO##publisherword.none":"No publisher",
|
||||||
"##TODO##publisherword.one":"1 publisher",
|
"##TODO##publisherword.one":"1 publisher",
|
||||||
|
|
|
@ -40,11 +40,11 @@
|
||||||
"paging.previous.alternate":"Предыд.",
|
"paging.previous.alternate":"Предыд.",
|
||||||
"permalink.alternate":"Постоянная Ссылка",
|
"permalink.alternate":"Постоянная Ссылка",
|
||||||
"pubdate.title":"Дата публикации",
|
"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.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.many":"{0} publishers",
|
||||||
"##TODO##publisherword.none":"No publisher",
|
"##TODO##publisherword.none":"No publisher",
|
||||||
"##TODO##publisherword.one":"1 publisher",
|
"##TODO##publisherword.one":"1 publisher",
|
||||||
|
|
|
@ -40,11 +40,11 @@
|
||||||
"paging.previous.alternate":"上一页",
|
"paging.previous.alternate":"上一页",
|
||||||
"permalink.alternate":"永久链接",
|
"permalink.alternate":"永久链接",
|
||||||
"pubdate.title":"出版时间",
|
"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.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.many":"{0} publishers",
|
||||||
"##TODO##publisherword.none":"No publisher",
|
"##TODO##publisherword.none":"No publisher",
|
||||||
"##TODO##publisherword.one":"1 publisher",
|
"##TODO##publisherword.one":"1 publisher",
|
||||||
|
|
|
@ -30,8 +30,8 @@ class Publisher extends Base {
|
||||||
public static function getCount() {
|
public static function getCount() {
|
||||||
$nPublishers = parent::getDb ()->query('select count(*) from publishers')->fetchColumn();
|
$nPublishers = parent::getDb ()->query('select count(*) from publishers')->fetchColumn();
|
||||||
if ($nPublishers == 0) return NULL;
|
if ($nPublishers == 0) return NULL;
|
||||||
$entry = new Entry (localize("publisher.title"), self::ALL_PUBLISHERS_ID,
|
$entry = new Entry (localize("publishers.title"), self::ALL_PUBLISHERS_ID,
|
||||||
str_format (localize("publisher.alphabetical", $nPublishers), $nPublishers), "text",
|
str_format (localize("publishers.alphabetical", $nPublishers), $nPublishers), "text",
|
||||||
array ( new LinkNavigation ("?page=".parent::PAGE_ALL_PUBLISHERS)));
|
array ( new LinkNavigation ("?page=".parent::PAGE_ALL_PUBLISHERS)));
|
||||||
return $entry;
|
return $entry;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue