The search page title is now more precise in case a scope is provided. re #34
This commit is contained in:
parent
065d9aeb98
commit
23129b9c9e
17
base.php
17
base.php
|
@ -673,8 +673,23 @@ class PageQueryResult extends Page
|
||||||
public function InitializeContent ()
|
public function InitializeContent ()
|
||||||
{
|
{
|
||||||
global $config;
|
global $config;
|
||||||
$this->title = str_format (localize ("search.result"), $this->query);
|
|
||||||
$scope = getURLParam ("scope");
|
$scope = getURLParam ("scope");
|
||||||
|
switch ($scope) {
|
||||||
|
case self::SCOPE_AUTHOR :
|
||||||
|
$this->title = str_format (localize ("search.result.author"), $this->query);
|
||||||
|
break;
|
||||||
|
case self::SCOPE_TAG :
|
||||||
|
$this->title = str_format (localize ("search.result.tag"), $this->query);
|
||||||
|
break;
|
||||||
|
case self::SCOPE_SERIES :
|
||||||
|
$this->title = str_format (localize ("search.result.series"), $this->query);
|
||||||
|
break;
|
||||||
|
case self::SCOPE_BOOK :
|
||||||
|
$this->title = str_format (localize ("search.result.book"), $this->query);
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
$this->title = str_format (localize ("search.result"), $this->query);
|
||||||
|
}
|
||||||
|
|
||||||
$crit = "%" . $this->query . "%";
|
$crit = "%" . $this->query . "%";
|
||||||
$bad = "QQQQQ";
|
$bad = "QQQQQ";
|
||||||
|
|
|
@ -43,6 +43,10 @@
|
||||||
"recent.title":"Els més recents",
|
"recent.title":"Els més recents",
|
||||||
"##TODO##search.alternate":"Search",
|
"##TODO##search.alternate":"Search",
|
||||||
"##TODO##search.result":"Search result for *{0}*",
|
"##TODO##search.result":"Search result for *{0}*",
|
||||||
|
"##TODO##search.result.author":"Search result for *{0}* in authors",
|
||||||
|
"##TODO##search.result.book":"Search result for *{0}* in books",
|
||||||
|
"##TODO##search.result.series":"Search result for *{0}* in series",
|
||||||
|
"##TODO##search.result.tag":"Search result for *{0}* in tags",
|
||||||
"##TODO##search.sortorder.asc":"Asc",
|
"##TODO##search.sortorder.asc":"Asc",
|
||||||
"##TODO##search.sortorder.desc":"Desc",
|
"##TODO##search.sortorder.desc":"Desc",
|
||||||
"series.alphabetical.many":"{0} sèries ordenades alfabèticament",
|
"series.alphabetical.many":"{0} sèries ordenades alfabèticament",
|
||||||
|
|
|
@ -43,6 +43,10 @@
|
||||||
"recent.title":"Neuzugänge",
|
"recent.title":"Neuzugänge",
|
||||||
"search.alternate":"Suche",
|
"search.alternate":"Suche",
|
||||||
"search.result":"Suchergebnis für",
|
"search.result":"Suchergebnis für",
|
||||||
|
"##TODO##search.result.author":"Search result for *{0}* in authors",
|
||||||
|
"##TODO##search.result.book":"Search result for *{0}* in books",
|
||||||
|
"##TODO##search.result.series":"Search result for *{0}* in series",
|
||||||
|
"##TODO##search.result.tag":"Search result for *{0}* in tags",
|
||||||
"search.sortorder.asc":"Auf",
|
"search.sortorder.asc":"Auf",
|
||||||
"search.sortorder.desc":"Ab",
|
"search.sortorder.desc":"Ab",
|
||||||
"series.alphabetical.many":"Alphabetischer Index der {0} Serien",
|
"series.alphabetical.many":"Alphabetischer Index der {0} Serien",
|
||||||
|
|
|
@ -43,6 +43,10 @@
|
||||||
"recent.title":"Recent additions",
|
"recent.title":"Recent additions",
|
||||||
"search.alternate":"Search",
|
"search.alternate":"Search",
|
||||||
"search.result":"Search result for *{0}*",
|
"search.result":"Search result for *{0}*",
|
||||||
|
"search.result.author":"Search result for *{0}* in authors",
|
||||||
|
"search.result.book":"Search result for *{0}* in books",
|
||||||
|
"search.result.series":"Search result for *{0}* in series",
|
||||||
|
"search.result.tag":"Search result for *{0}* in tags",
|
||||||
"search.sortorder.asc":"Asc",
|
"search.sortorder.asc":"Asc",
|
||||||
"search.sortorder.desc":"Desc",
|
"search.sortorder.desc":"Desc",
|
||||||
"series.alphabetical.many":"Alphabetical index of the {0} series",
|
"series.alphabetical.many":"Alphabetical index of the {0} series",
|
||||||
|
|
|
@ -43,6 +43,10 @@
|
||||||
"recent.title":"Añadidos recientemente",
|
"recent.title":"Añadidos recientemente",
|
||||||
"##TODO##search.alternate":"Search",
|
"##TODO##search.alternate":"Search",
|
||||||
"##TODO##search.result":"Search result for *{0}*",
|
"##TODO##search.result":"Search result for *{0}*",
|
||||||
|
"##TODO##search.result.author":"Search result for *{0}* in authors",
|
||||||
|
"##TODO##search.result.book":"Search result for *{0}* in books",
|
||||||
|
"##TODO##search.result.series":"Search result for *{0}* in series",
|
||||||
|
"##TODO##search.result.tag":"Search result for *{0}* in tags",
|
||||||
"##TODO##search.sortorder.asc":"Asc",
|
"##TODO##search.sortorder.asc":"Asc",
|
||||||
"##TODO##search.sortorder.desc":"Desc",
|
"##TODO##search.sortorder.desc":"Desc",
|
||||||
"series.alphabetical.many":"Indice alfabético de {0}",
|
"series.alphabetical.many":"Indice alfabético de {0}",
|
||||||
|
|
|
@ -43,6 +43,10 @@
|
||||||
"recent.title":"Ajouts récents",
|
"recent.title":"Ajouts récents",
|
||||||
"search.alternate":"Rechercher",
|
"search.alternate":"Rechercher",
|
||||||
"search.result":"Résultats pour *{0}*",
|
"search.result":"Résultats pour *{0}*",
|
||||||
|
"search.result.author":"Résultats pour *{0}* dans les auteurs",
|
||||||
|
"search.result.book":"Résultats pour *{0}* dans les livres",
|
||||||
|
"search.result.series":"Résultats pour *{0}* dans les colllections",
|
||||||
|
"search.result.tag":"Résultats pour *{0}* dans les étiquettes",
|
||||||
"search.sortorder.asc":"Crois.",
|
"search.sortorder.asc":"Crois.",
|
||||||
"search.sortorder.desc":"Décrois.",
|
"search.sortorder.desc":"Décrois.",
|
||||||
"series.alphabetical.many":"Index alphabétique de {0} collections",
|
"series.alphabetical.many":"Index alphabétique de {0} collections",
|
||||||
|
|
|
@ -43,6 +43,10 @@
|
||||||
"recent.title":"Ultime aggiunte",
|
"recent.title":"Ultime aggiunte",
|
||||||
"search.alternate":"Cerca",
|
"search.alternate":"Cerca",
|
||||||
"search.result":"Risultati per *{0}*",
|
"search.result":"Risultati per *{0}*",
|
||||||
|
"##TODO##search.result.author":"Search result for *{0}* in authors",
|
||||||
|
"##TODO##search.result.book":"Search result for *{0}* in books",
|
||||||
|
"##TODO##search.result.series":"Search result for *{0}* in series",
|
||||||
|
"##TODO##search.result.tag":"Search result for *{0}* in tags",
|
||||||
"search.sortorder.asc":"Asc",
|
"search.sortorder.asc":"Asc",
|
||||||
"search.sortorder.desc":"Disc",
|
"search.sortorder.desc":"Disc",
|
||||||
"series.alphabetical.many":"Indice alfabetico di {0} collane",
|
"series.alphabetical.many":"Indice alfabetico di {0} collane",
|
||||||
|
|
|
@ -43,6 +43,10 @@
|
||||||
"recent.title":"Nylig lagt til",
|
"recent.title":"Nylig lagt til",
|
||||||
"search.alternate":"Søk",
|
"search.alternate":"Søk",
|
||||||
"search.result":"Søkeresultat for *{0}*",
|
"search.result":"Søkeresultat for *{0}*",
|
||||||
|
"##TODO##search.result.author":"Search result for *{0}* in authors",
|
||||||
|
"##TODO##search.result.book":"Search result for *{0}* in books",
|
||||||
|
"##TODO##search.result.series":"Search result for *{0}* in series",
|
||||||
|
"##TODO##search.result.tag":"Search result for *{0}* in tags",
|
||||||
"search.sortorder.asc":"Stigende",
|
"search.sortorder.asc":"Stigende",
|
||||||
"search.sortorder.desc":"Synkende",
|
"search.sortorder.desc":"Synkende",
|
||||||
"series.alphabetical.many":"Alfabetisk indeks for {0} serier",
|
"series.alphabetical.many":"Alfabetisk indeks for {0} serier",
|
||||||
|
|
|
@ -43,6 +43,10 @@
|
||||||
"recent.title":"Recent toegevoegde boeken",
|
"recent.title":"Recent toegevoegde boeken",
|
||||||
"search.alternate":"Zoeken",
|
"search.alternate":"Zoeken",
|
||||||
"search.result":"Zoekresultaat voor *{0}*",
|
"search.result":"Zoekresultaat voor *{0}*",
|
||||||
|
"##TODO##search.result.author":"Search result for *{0}* in authors",
|
||||||
|
"##TODO##search.result.book":"Search result for *{0}* in books",
|
||||||
|
"##TODO##search.result.series":"Search result for *{0}* in series",
|
||||||
|
"##TODO##search.result.tag":"Search result for *{0}* in tags",
|
||||||
"search.sortorder.asc":"A-Z",
|
"search.sortorder.asc":"A-Z",
|
||||||
"search.sortorder.desc":"Z-A",
|
"search.sortorder.desc":"Z-A",
|
||||||
"series.alphabetical.many":"Alfabetische index van {0} series",
|
"series.alphabetical.many":"Alfabetische index van {0} series",
|
||||||
|
|
|
@ -43,6 +43,10 @@
|
||||||
"recent.title":"Adições recentes",
|
"recent.title":"Adições recentes",
|
||||||
"search.alternate":"Busca",
|
"search.alternate":"Busca",
|
||||||
"search.result":"Resultado da busca por *{0}*",
|
"search.result":"Resultado da busca por *{0}*",
|
||||||
|
"##TODO##search.result.author":"Search result for *{0}* in authors",
|
||||||
|
"##TODO##search.result.book":"Search result for *{0}* in books",
|
||||||
|
"##TODO##search.result.series":"Search result for *{0}* in series",
|
||||||
|
"##TODO##search.result.tag":"Search result for *{0}* in tags",
|
||||||
"search.sortorder.asc":"Asc",
|
"search.sortorder.asc":"Asc",
|
||||||
"search.sortorder.desc":"Desc",
|
"search.sortorder.desc":"Desc",
|
||||||
"series.alphabetical.many":"Índice alfabético das {0} séries",
|
"series.alphabetical.many":"Índice alfabético das {0} séries",
|
||||||
|
|
|
@ -43,6 +43,10 @@
|
||||||
"recent.title":"Недавние поступления",
|
"recent.title":"Недавние поступления",
|
||||||
"##TODO##search.alternate":"Search",
|
"##TODO##search.alternate":"Search",
|
||||||
"##TODO##search.result":"Search result for *{0}*",
|
"##TODO##search.result":"Search result for *{0}*",
|
||||||
|
"##TODO##search.result.author":"Search result for *{0}* in authors",
|
||||||
|
"##TODO##search.result.book":"Search result for *{0}* in books",
|
||||||
|
"##TODO##search.result.series":"Search result for *{0}* in series",
|
||||||
|
"##TODO##search.result.tag":"Search result for *{0}* in tags",
|
||||||
"##TODO##search.sortorder.asc":"Asc",
|
"##TODO##search.sortorder.asc":"Asc",
|
||||||
"##TODO##search.sortorder.desc":"Desc",
|
"##TODO##search.sortorder.desc":"Desc",
|
||||||
"series.alphabetical.many":"Алфавитный указатель для {0} серий",
|
"series.alphabetical.many":"Алфавитный указатель для {0} серий",
|
||||||
|
|
|
@ -43,6 +43,10 @@
|
||||||
"recent.title":"最近添加",
|
"recent.title":"最近添加",
|
||||||
"search.alternate":"搜索",
|
"search.alternate":"搜索",
|
||||||
"search.result":"*{0}* 的搜索结果",
|
"search.result":"*{0}* 的搜索结果",
|
||||||
|
"##TODO##search.result.author":"Search result for *{0}* in authors",
|
||||||
|
"##TODO##search.result.book":"Search result for *{0}* in books",
|
||||||
|
"##TODO##search.result.series":"Search result for *{0}* in series",
|
||||||
|
"##TODO##search.result.tag":"Search result for *{0}* in tags",
|
||||||
"search.sortorder.asc":"升序",
|
"search.sortorder.asc":"升序",
|
||||||
"search.sortorder.desc":"降序",
|
"search.sortorder.desc":"降序",
|
||||||
"series.alphabetical.many":"{0} 个系列的字母索引",
|
"series.alphabetical.many":"{0} 个系列的字母索引",
|
||||||
|
|
Loading…
Reference in a new issue