Add missing translation for search result. Based on a patch by Tobias. re #37

This commit is contained in:
Sébastien Lucas 2013-04-20 15:19:48 +02:00
parent cce56e91ca
commit 0682c568b4
4 changed files with 4 additions and 1 deletions

View file

@ -574,7 +574,7 @@ class PageQueryResult extends Page
{ {
public function InitializeContent () public function InitializeContent ()
{ {
$this->title = "Search result for query *" . $this->query . "*"; // TODO I18N $this->title = str_format (localize ("search.result"), $this->query);
$currentPage = getURLParam ("current", NULL); $currentPage = getURLParam ("current", NULL);
switch ($currentPage) { switch ($currentPage) {
case Base::PAGE_ALL_AUTHORS : case Base::PAGE_ALL_AUTHORS :

View file

@ -117,5 +117,6 @@
"intro.team.list5":"Jane Litte - Beta Tests und moralische Unterstützung", "intro.team.list5":"Jane Litte - Beta Tests und moralische Unterstützung",
"intro.thanks.1":"Speziellen Dank an Kb Sriram, der nicht nur Trook, eine exzellente und OPDS kompatible ", "intro.thanks.1":"Speziellen Dank an Kb Sriram, der nicht nur Trook, eine exzellente und OPDS kompatible ",
"intro.thanks.2":"Bibliotheksverwaltung programmierte, sondern auch einen Nook spendete!", "intro.thanks.2":"Bibliotheksverwaltung programmierte, sondern auch einen Nook spendete!",
"search.result":"Suchergebnis für",
"fin":"fin" "fin":"fin"
} }

View file

@ -120,5 +120,6 @@
"intro.team.list5":"Jane Litte - beta tester and moral support", "intro.team.list5":"Jane Litte - beta tester and moral support",
"intro.thanks.1":"Special thanks to Kb Sriram, who not only programmed Trook, an excellent and OPDS compatible ", "intro.thanks.1":"Special thanks to Kb Sriram, who not only programmed Trook, an excellent and OPDS compatible ",
"intro.thanks.2":"library manager for the Nook, but also was kind enough to donate a Nook !", "intro.thanks.2":"library manager for the Nook, but also was kind enough to donate a Nook !",
"search.result":"Search result for *{0}*",
"fin":"fin" "fin":"fin"
} }

View file

@ -105,5 +105,6 @@
"intro.team.list5":"Jane Litte - beta testeuse et soutien moral", "intro.team.list5":"Jane Litte - beta testeuse et soutien moral",
"intro.thanks.1":"Remerciements particuliers à Kb Sriram, qui est l'auteur de Trook, un excellent", "intro.thanks.1":"Remerciements particuliers à Kb Sriram, qui est l'auteur de Trook, un excellent",
"intro.thanks.2":"gestionnaire de bibliothèque pour Nook, et a m'a fait cadeau d'un Nook !", "intro.thanks.2":"gestionnaire de bibliothèque pour Nook, et a m'a fait cadeau d'un Nook !",
"search.result":"Résultats pour *{0}*",
"fin":"fin" "fin":"fin"
} }