diff --git a/base.php b/base.php index b0ca324..4a94cc1 100644 --- a/base.php +++ b/base.php @@ -719,7 +719,7 @@ class PageAllRating extends Page { public function InitializeContent () { - $this->title = localize("rating.title"); + $this->title = localize("ratings.title"); $this->entryArray = Rating::getAllRatings(); $this->idPage = Rating::ALL_RATING_ID; } @@ -987,6 +987,7 @@ class PageCustomize extends Page PageQueryResult::SCOPE_TAG, PageQueryResult::SCOPE_SERIES, PageQueryResult::SCOPE_PUBLISHER, + PageQueryResult::SCOPE_RATING, "language"); $content = ""; diff --git a/config_default.php b/config_default.php index a201b9f..feb5e32 100644 --- a/config_default.php +++ b/config_default.php @@ -244,6 +244,7 @@ * - series * - tag * - publisher + * - rating * - language */ $config ['cops_ignored_categories'] = array (); diff --git a/lang/Localization_ca.json b/lang/Localization_ca.json index 4510d49..6eded61 100644 --- a/lang/Localization_ca.json +++ b/lang/Localization_ca.json @@ -48,7 +48,7 @@ "##TODO##publisherword.many":"{0} publishers", "##TODO##publisherword.none":"No publisher", "##TODO##publisherword.one":"1 publisher", -"##TODO##rating.title":"", +"##TODO##ratings.title":"", "##TODO##ratings.many":"", "##TODO##ratings.none":"", "##TODO##ratings.one":"", diff --git a/lang/Localization_de.json b/lang/Localization_de.json index a50365a..6d6c0c7 100644 --- a/lang/Localization_de.json +++ b/lang/Localization_de.json @@ -48,7 +48,7 @@ "publisherword.many":"{0} Verlage", "publisherword.none":"Kein Verlag", "publisherword.one":"1 Verlag", -"rating.title":"Bewertung", +"ratings.title":"Bewertung", "ratings.many":"{0} verschiedene Bewertungen", "ratings.none":"Keine Bewertungen", "ratings.one":"{0} Bewertung", diff --git a/lang/Localization_en.json b/lang/Localization_en.json index 770e8c8..a2d9d8b 100644 --- a/lang/Localization_en.json +++ b/lang/Localization_en.json @@ -48,7 +48,7 @@ "publisherword.many":"{0} publishers", "publisherword.none":"No publisher", "publisherword.one":"1 publisher", -"rating.title":"Rating", +"ratings.title":"Rating", "ratings.many":"{0} different ratings", "ratings.none":"no ratings", "ratings.one":"{0} ratings", diff --git a/lang/Localization_es.json b/lang/Localization_es.json index 0cb210b..1256276 100644 --- a/lang/Localization_es.json +++ b/lang/Localization_es.json @@ -48,7 +48,7 @@ "publisherword.many":"{0} editoriales", "publisherword.none":"No hay editoriales", "publisherword.one":"1 editorial", -"##TODO##rating.title":"", +"##TODO##ratings.title":"", "##TODO##ratings.many":"", "##TODO##ratings.none":"", "##TODO##ratings.one":"", diff --git a/lang/Localization_fr.json b/lang/Localization_fr.json index 4ce7dc7..ccddb3a 100644 --- a/lang/Localization_fr.json +++ b/lang/Localization_fr.json @@ -48,7 +48,7 @@ "publisherword.many":"{0} éditeurs", "publisherword.none":"Aucun éditeur", "publisherword.one":"1 éditeur", -"##TODO##rating.title":"", +"##TODO##ratings.title":"", "##TODO##ratings.many":"", "##TODO##ratings.none":"", "##TODO##ratings.one":"", diff --git a/lang/Localization_it.json b/lang/Localization_it.json index 4964a9f..1e3ba9e 100644 --- a/lang/Localization_it.json +++ b/lang/Localization_it.json @@ -48,7 +48,7 @@ "publisherword.many":"{0} editori", "publisherword.none":"Nessun editore", "publisherword.one":"1 editore", -"##TODO##rating.title":"", +"##TODO##ratings.title":"", "##TODO##ratings.many":"", "##TODO##ratings.none":"", "##TODO##ratings.one":"", diff --git a/lang/Localization_nb.json b/lang/Localization_nb.json index 6e8fe9b..c1df523 100644 --- a/lang/Localization_nb.json +++ b/lang/Localization_nb.json @@ -48,7 +48,7 @@ "##TODO##publisherword.many":"{0} publishers", "##TODO##publisherword.none":"No publisher", "##TODO##publisherword.one":"1 publisher", -"##TODO##rating.title":"", +"##TODO##ratings.title":"", "##TODO##ratings.many":"", "##TODO##ratings.none":"", "##TODO##ratings.one":"", diff --git a/lang/Localization_nl.json b/lang/Localization_nl.json index 5462067..40c4f9f 100644 --- a/lang/Localization_nl.json +++ b/lang/Localization_nl.json @@ -40,15 +40,15 @@ "paging.previous.alternate":"Vorige", "permalink.alternate":"Permalink", "pubdate.title":"Jaar van publicatie", -"##TODO##publisher.name":"Publisher", -"##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", -"##TODO##rating.title":"", +"publisher.name":"Uitgever", +"publishers.alphabetical.many":"Alfabetische index van {0} uitgevers", +"publishers.alphabetical.none":"Alfabetische index van afwezige uitgevers", +"publishers.alphabetical.one":"Alfabetische index van een uitgever", +"publishers.title":"Uitgevers", +"publisherword.many":"{0} uitgevers", +"publisherword.none":"Geen uitgever", +"publisherword.one":"1 uitgever", +"##TODO##ratings.title":"", "##TODO##ratings.many":"", "##TODO##ratings.none":"", "##TODO##ratings.one":"", @@ -61,7 +61,7 @@ "search.result":"Zoekresultaat voor *{0}*", "search.result.author":"Zoekresultaat voor *{0}* in auteurs", "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.tag":"Zoekresultaat voor *{0}* in tags", "search.sortorder.asc":"A-Z", diff --git a/lang/Localization_pt.json b/lang/Localization_pt.json index 1f22830..3bb3ee9 100644 --- a/lang/Localization_pt.json +++ b/lang/Localization_pt.json @@ -48,7 +48,7 @@ "publisherword.many":"{0} editoras", "publisherword.none":"Sem editora", "publisherword.one":"1 editora", -"##TODO##rating.title":"", +"##TODO##ratings.title":"", "##TODO##ratings.many":"", "##TODO##ratings.none":"", "##TODO##ratings.one":"", diff --git a/lang/Localization_ru.json b/lang/Localization_ru.json index db4ceee..bb52b1a 100644 --- a/lang/Localization_ru.json +++ b/lang/Localization_ru.json @@ -48,7 +48,7 @@ "##TODO##publisherword.many":"{0} publishers", "##TODO##publisherword.none":"No publisher", "##TODO##publisherword.one":"1 publisher", -"##TODO##rating.title":"", +"##TODO##ratings.title":"", "##TODO##ratings.many":"", "##TODO##ratings.none":"", "##TODO##ratings.one":"", diff --git a/lang/Localization_sv.json b/lang/Localization_sv.json index 9ea4b0c..dce7c2b 100644 --- a/lang/Localization_sv.json +++ b/lang/Localization_sv.json @@ -48,7 +48,7 @@ "publisherword.many":"{0} förlag", "publisherword.none":"Inget förlag", "publisherword.one":"1 förlag", -"##TODO##rating.title":"", +"##TODO##ratings.title":"", "##TODO##ratings.many":"", "##TODO##ratings.none":"", "##TODO##ratings.one":"", diff --git a/lang/Localization_zh.json b/lang/Localization_zh.json index 646d9b6..03f4ed3 100644 --- a/lang/Localization_zh.json +++ b/lang/Localization_zh.json @@ -48,7 +48,7 @@ "##TODO##publisherword.many":"{0} publishers", "##TODO##publisherword.none":"No publisher", "##TODO##publisherword.one":"1 publisher", -"##TODO##rating.title":"", +"##TODO##ratings.title":"", "##TODO##ratings.many":"", "##TODO##ratings.none":"", "##TODO##ratings.one":"", diff --git a/rating.php b/rating.php index 0c7e4b4..d8af5bf 100644 --- a/rating.php +++ b/rating.php @@ -32,7 +32,7 @@ class Rating extends Base { public static function getCount() { $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", array ( new LinkNavigation ("?page=".parent::PAGE_ALL_RATINGS))); return $entry;