adding ratings category to possible ignores and merge lang update (nl)

had to change rating.title to ratings.title due to $keyPlural in base.php#L997
This commit is contained in:
Michael 2014-03-05 11:15:20 +01:00
parent 5bc134ad80
commit 1ad15d410c
15 changed files with 25 additions and 23 deletions

View file

@ -719,7 +719,7 @@ class PageAllRating extends Page
{ {
public function InitializeContent () public function InitializeContent ()
{ {
$this->title = localize("rating.title"); $this->title = localize("ratings.title");
$this->entryArray = Rating::getAllRatings(); $this->entryArray = Rating::getAllRatings();
$this->idPage = Rating::ALL_RATING_ID; $this->idPage = Rating::ALL_RATING_ID;
} }
@ -987,6 +987,7 @@ class PageCustomize extends Page
PageQueryResult::SCOPE_TAG, PageQueryResult::SCOPE_TAG,
PageQueryResult::SCOPE_SERIES, PageQueryResult::SCOPE_SERIES,
PageQueryResult::SCOPE_PUBLISHER, PageQueryResult::SCOPE_PUBLISHER,
PageQueryResult::SCOPE_RATING,
"language"); "language");
$content = ""; $content = "";

View file

@ -244,6 +244,7 @@
* - series * - series
* - tag * - tag
* - publisher * - publisher
* - rating
* - language * - language
*/ */
$config ['cops_ignored_categories'] = array (); $config ['cops_ignored_categories'] = array ();

View file

@ -48,7 +48,7 @@
"##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",
"##TODO##rating.title":"", "##TODO##ratings.title":"",
"##TODO##ratings.many":"", "##TODO##ratings.many":"",
"##TODO##ratings.none":"", "##TODO##ratings.none":"",
"##TODO##ratings.one":"", "##TODO##ratings.one":"",

View file

@ -48,7 +48,7 @@
"publisherword.many":"{0} Verlage", "publisherword.many":"{0} Verlage",
"publisherword.none":"Kein Verlag", "publisherword.none":"Kein Verlag",
"publisherword.one":"1 Verlag", "publisherword.one":"1 Verlag",
"rating.title":"Bewertung", "ratings.title":"Bewertung",
"ratings.many":"{0} verschiedene Bewertungen", "ratings.many":"{0} verschiedene Bewertungen",
"ratings.none":"Keine Bewertungen", "ratings.none":"Keine Bewertungen",
"ratings.one":"{0} Bewertung", "ratings.one":"{0} Bewertung",

View file

@ -48,7 +48,7 @@
"publisherword.many":"{0} publishers", "publisherword.many":"{0} publishers",
"publisherword.none":"No publisher", "publisherword.none":"No publisher",
"publisherword.one":"1 publisher", "publisherword.one":"1 publisher",
"rating.title":"Rating", "ratings.title":"Rating",
"ratings.many":"{0} different ratings", "ratings.many":"{0} different ratings",
"ratings.none":"no ratings", "ratings.none":"no ratings",
"ratings.one":"{0} ratings", "ratings.one":"{0} ratings",

View file

@ -48,7 +48,7 @@
"publisherword.many":"{0} editoriales", "publisherword.many":"{0} editoriales",
"publisherword.none":"No hay editoriales", "publisherword.none":"No hay editoriales",
"publisherword.one":"1 editorial", "publisherword.one":"1 editorial",
"##TODO##rating.title":"", "##TODO##ratings.title":"",
"##TODO##ratings.many":"", "##TODO##ratings.many":"",
"##TODO##ratings.none":"", "##TODO##ratings.none":"",
"##TODO##ratings.one":"", "##TODO##ratings.one":"",

View file

@ -48,7 +48,7 @@
"publisherword.many":"{0} éditeurs", "publisherword.many":"{0} éditeurs",
"publisherword.none":"Aucun éditeur", "publisherword.none":"Aucun éditeur",
"publisherword.one":"1 éditeur", "publisherword.one":"1 éditeur",
"##TODO##rating.title":"", "##TODO##ratings.title":"",
"##TODO##ratings.many":"", "##TODO##ratings.many":"",
"##TODO##ratings.none":"", "##TODO##ratings.none":"",
"##TODO##ratings.one":"", "##TODO##ratings.one":"",

View file

@ -48,7 +48,7 @@
"publisherword.many":"{0} editori", "publisherword.many":"{0} editori",
"publisherword.none":"Nessun editore", "publisherword.none":"Nessun editore",
"publisherword.one":"1 editore", "publisherword.one":"1 editore",
"##TODO##rating.title":"", "##TODO##ratings.title":"",
"##TODO##ratings.many":"", "##TODO##ratings.many":"",
"##TODO##ratings.none":"", "##TODO##ratings.none":"",
"##TODO##ratings.one":"", "##TODO##ratings.one":"",

View file

@ -48,7 +48,7 @@
"##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",
"##TODO##rating.title":"", "##TODO##ratings.title":"",
"##TODO##ratings.many":"", "##TODO##ratings.many":"",
"##TODO##ratings.none":"", "##TODO##ratings.none":"",
"##TODO##ratings.one":"", "##TODO##ratings.one":"",

View file

@ -40,15 +40,15 @@
"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.name":"Publisher", "publisher.name":"Uitgever",
"##TODO##publishers.alphabetical.many":"Alphabetical index of the {0} publishers", "publishers.alphabetical.many":"Alfabetische index van {0} uitgevers",
"##TODO##publishers.alphabetical.none":"Alphabetical index of absolutely no publisher", "publishers.alphabetical.none":"Alfabetische index van afwezige uitgevers",
"##TODO##publishers.alphabetical.one":"Alphabetical index of the single publisher", "publishers.alphabetical.one":"Alfabetische index van een uitgever",
"##TODO##publishers.title":"Publishers", "publishers.title":"Uitgevers",
"##TODO##publisherword.many":"{0} publishers", "publisherword.many":"{0} uitgevers",
"##TODO##publisherword.none":"No publisher", "publisherword.none":"Geen uitgever",
"##TODO##publisherword.one":"1 publisher", "publisherword.one":"1 uitgever",
"##TODO##rating.title":"", "##TODO##ratings.title":"",
"##TODO##ratings.many":"", "##TODO##ratings.many":"",
"##TODO##ratings.none":"", "##TODO##ratings.none":"",
"##TODO##ratings.one":"", "##TODO##ratings.one":"",
@ -61,7 +61,7 @@
"search.result":"Zoekresultaat voor *{0}*", "search.result":"Zoekresultaat voor *{0}*",
"search.result.author":"Zoekresultaat voor *{0}* in auteurs", "search.result.author":"Zoekresultaat voor *{0}* in auteurs",
"search.result.book":"Zoekresultaat voor *{0}* in boeken", "search.result.book":"Zoekresultaat voor *{0}* in boeken",
"##TODO##search.result.publisher":"Search result for *{0}* in publishers", "search.result.publisher":"Zoekresultaat voor *{0}* in uitgevers",
"search.result.series":"Zoekresultaat voor *{0}* in series", "search.result.series":"Zoekresultaat voor *{0}* in series",
"search.result.tag":"Zoekresultaat voor *{0}* in tags", "search.result.tag":"Zoekresultaat voor *{0}* in tags",
"search.sortorder.asc":"A-Z", "search.sortorder.asc":"A-Z",

View file

@ -48,7 +48,7 @@
"publisherword.many":"{0} editoras", "publisherword.many":"{0} editoras",
"publisherword.none":"Sem editora", "publisherword.none":"Sem editora",
"publisherword.one":"1 editora", "publisherword.one":"1 editora",
"##TODO##rating.title":"", "##TODO##ratings.title":"",
"##TODO##ratings.many":"", "##TODO##ratings.many":"",
"##TODO##ratings.none":"", "##TODO##ratings.none":"",
"##TODO##ratings.one":"", "##TODO##ratings.one":"",

View file

@ -48,7 +48,7 @@
"##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",
"##TODO##rating.title":"", "##TODO##ratings.title":"",
"##TODO##ratings.many":"", "##TODO##ratings.many":"",
"##TODO##ratings.none":"", "##TODO##ratings.none":"",
"##TODO##ratings.one":"", "##TODO##ratings.one":"",

View file

@ -48,7 +48,7 @@
"publisherword.many":"{0} förlag", "publisherword.many":"{0} förlag",
"publisherword.none":"Inget förlag", "publisherword.none":"Inget förlag",
"publisherword.one":"1 förlag", "publisherword.one":"1 förlag",
"##TODO##rating.title":"", "##TODO##ratings.title":"",
"##TODO##ratings.many":"", "##TODO##ratings.many":"",
"##TODO##ratings.none":"", "##TODO##ratings.none":"",
"##TODO##ratings.one":"", "##TODO##ratings.one":"",

View file

@ -48,7 +48,7 @@
"##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",
"##TODO##rating.title":"", "##TODO##ratings.title":"",
"##TODO##ratings.many":"", "##TODO##ratings.many":"",
"##TODO##ratings.none":"", "##TODO##ratings.none":"",
"##TODO##ratings.one":"", "##TODO##ratings.one":"",

View file

@ -32,7 +32,7 @@ class Rating extends Base {
public static function getCount() { public static function getCount() {
$nRatings = parent::getDb ()->query('select count(*) from ratings')->fetchColumn(); $nRatings = parent::getDb ()->query('select count(*) from ratings')->fetchColumn();
$entry = new Entry (localize("rating.title"), self::ALL_RATING_ID, $entry = new Entry (localize("ratings.title"), self::ALL_RATING_ID,
str_format (localize("ratings", $nRatings), $nRatings), "text", str_format (localize("ratings", $nRatings), $nRatings), "text",
array ( new LinkNavigation ("?page=".parent::PAGE_ALL_RATINGS))); array ( new LinkNavigation ("?page=".parent::PAGE_ALL_RATINGS)));
return $entry; return $entry;