Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Didier Corbière 2013-09-25 08:31:32 +02:00
commit 8d17ef3563
15 changed files with 74 additions and 62 deletions

View file

@ -470,7 +470,7 @@ class Page
$currentUrl = $_SERVER['QUERY_STRING'];
$currentUrl = preg_replace ("/\&n=.*?$/", "", "?" . $_SERVER['QUERY_STRING']);
if (($this->n) * getCurrentOption ("max_item_per_page") < $this->totalNumber) {
return new LinkNavigation ($currentUrl . "&n=" . ($this->n + 1), "next", "Page suivante");
return new LinkNavigation ($currentUrl . "&n=" . ($this->n + 1), "next", localize ("paging.next.alternate"));
}
return NULL;
}
@ -481,7 +481,7 @@ class Page
$currentUrl = $_SERVER['QUERY_STRING'];
$currentUrl = preg_replace ("/\&n=.*?$/", "", "?" . $_SERVER['QUERY_STRING']);
if ($this->n > 1) {
return new LinkNavigation ($currentUrl . "&n=" . ($this->n - 1), "previous", "Page precedente");
return new LinkNavigation ($currentUrl . "&n=" . ($this->n - 1), "previous", localize ("paging.previous.alternate"));
}
return NULL;
}

View file

@ -619,6 +619,7 @@ function getJson ($complete = false) {
"searchAlt" => localize ("search.alternate"),
"sortAlt" => localize ("sort.alternate"),
"homeAlt" => localize ("home.alternate"),
"cogAlt" => localize ("cog.alternate"),
"permalinkAlt" => localize ("permalink.alternate"),
"pubdateTitle" => localize("pubdate.title"),
"languagesTitle" => localize("language.title"),

View file

@ -54,7 +54,7 @@
<script type="text/javascript" src="<?php echo getUrlWithVersion("util.js") ?>"></script>
<link rel="related" href="<?php echo $config['cops_full_url'] ?>feed.php" type="application/atom+xml;profile=opds-catalog" title="<?php echo $config['cops_title_default']; ?>" />
<link rel="icon" type="image/vnd.microsoft.icon" href="<?php echo $config['cops_icon']; ?>" />
<link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css?family=Open+Sans:400,300italic,800,300,400italic,600,600italic,700,700italic,800italic' />
<link rel='stylesheet' type='text/css' href='https://fonts.googleapis.com/css?family=Open+Sans:400,300italic,800,300,400italic,600,600italic,700,700italic,800italic&subset=latin,cyrillic' />
<link rel="stylesheet" type="text/css" href="<?php echo getUrlWithVersion("resources/normalize/normalize.css") ?>" />
<link rel="stylesheet" type="text/css" href="<?php echo getUrlWithVersion("styles/font-awesome.css") ?>" media="screen" />
<link rel="stylesheet" type="text/css" href="<?php echo getUrlWithVersion(getCurrentCss ()) ?>" media="screen" />

View file

@ -16,6 +16,7 @@
"bookword.none":"Cap llibre",
"bookword.one":"1 llibre",
"bookword.title":"Llibres",
"##TODO##cog.alternate":"Search, sort and filters",
"##TODO##content.series":"Series:",
"content.series.data":"Llibre {0} de la sèrie {1}",
"content.summary":"Sinopsi:",

View file

@ -16,6 +16,7 @@
"bookword.none":"Kein Buch",
"bookword.one":"1 Buch",
"bookword.title":"Bücher",
"##TODO##cog.alternate":"Search, sort and filters",
"content.series":"Serien: ",
"content.series.data":"Buch {0} der {1} - Reihe",
"content.summary":"Inhalt: ",

View file

@ -16,6 +16,7 @@
"bookword.none":"No book",
"bookword.one":"1 book",
"bookword.title":"Books",
"cog.alternate":"Search, sort and filters",
"content.series":"Series:",
"content.series.data":"Book {0} in the {1} series",
"content.summary":"Summary",

View file

@ -16,6 +16,7 @@
"bookword.none":"Sin libros",
"bookword.one":"1 libro",
"bookword.title":"Libros",
"##TODO##cog.alternate":"Search, sort and filters",
"##TODO##content.series":"Series:",
"content.series.data":"Libro {0} en la {1} serie",
"content.summary":"Sumario:",

View file

@ -1,11 +1,11 @@
{
"about.title":"A propos de COPS",
"allbooks.alphabetical.many":"Index alphabétique des {0} livres",
"##TODO##allbooks.alphabetical.none":"Alphabetical index of absolutely no book",
"allbooks.alphabetical.none":"Index alphabétique d'aucun livre",
"allbooks.alphabetical.one":"Index alphabétique du seul livre",
"allbooks.title":"Tous les livres",
"authors.alphabetical.many":"Index alphabétique des {0} auteurs",
"##TODO##authors.alphabetical.none":"Alphabetical index of absolutely no author",
"authors.alphabetical.none":"Index alphabétique d'aucun auteur",
"authors.alphabetical.one":"Index alphabétique du seul auteur",
"authors.title":"Auteurs",
"authorword.many":"{0} auteurs",
@ -16,6 +16,7 @@
"bookword.none":"Aucun livre",
"bookword.one":"1 livre",
"bookword.title":"Livres",
"cog.alternate":"Recherche, tri et filtres",
"content.series":"Collection:",
"content.series.data":"Livre {0} dans la collection {1}",
"content.summary":"Résumé:",

View file

@ -1,11 +1,11 @@
{
"##TODO##about.title":"About COPS",
"about.title":"A proposito di COPS",
"allbooks.alphabetical.many":"Indice alfabetico di {0} libri",
"##TODO##allbooks.alphabetical.none":"Alphabetical index of absolutely no book",
"allbooks.alphabetical.none":"Indice alfabetico indipendente dal libro",
"allbooks.alphabetical.one":"Indice alfabetico di un solo libro",
"allbooks.title":"Tutti i libri",
"authors.alphabetical.many":"Indice alfabetico di {0} autori",
"##TODO##authors.alphabetical.none":"Alphabetical index of absolutely no author",
"authors.alphabetical.none":"Indice alfabetico indipendente dall'autore",
"authors.alphabetical.one":"Indice alfabetico di un solo autore",
"authors.title":"Autori",
"authorword.many":"{0} autori",
@ -16,43 +16,44 @@
"bookword.none":"Nessun libro",
"bookword.one":"1 libro",
"bookword.title":"Libri",
"##TODO##cog.alternate":"Search, sort and filters",
"content.series":"Collana:",
"content.series.data":"Libro {0} nella collana {1}",
"content.summary":"Riassunto:",
"##TODO##customize.email":"Set your email (to allow book emailing)",
"##TODO##customize.fancybox":"Use a Lightbox",
"##TODO##customize.filter":"Enable tag filtering",
"##TODO##customize.paging":"Max number of books per page (-1 to disable)",
"##TODO##customize.style":"Theme",
"##TODO##customize.title":"Customize COPS UI",
"##TODO##home.alternate":"Home",
"##TODO##i18n.coversection":"Cover",
"customize.email":"Imposta la tua email (per permettere l'invio di email)",
"customize.fancybox":"Usa una Lightbox",
"customize.filter":"Abilita il filtro per argomento",
"customize.paging":"Numero massimo di libri per pagina (-1 per disabilitare)",
"customize.style":"Tema",
"customize.title":"Personalizza l'interfaccia di COPS",
"home.alternate":"Home",
"i18n.coversection":"Copertina",
"language.title":"Lingua",
"##TODO##languages.alphabetical.many":"Alphabetical index of the {0} languages",
"##TODO##languages.alphabetical.none":"Alphabetical index of absolutely no language",
"##TODO##languages.alphabetical.one":"Alphabetical index of the single language",
"##TODO##languages.title":"Languages",
"##TODO##mail.messagenotsent":"Message could not be sent.",
"##TODO##mail.messagesent":"Message has been sent",
"##TODO##paging.next.alternate":"Next",
"##TODO##paging.previous.alternate":"Previous",
"##TODO##permalink.alternate":"Permalink",
"##TODO##pubdate.title":"Publication year",
"languages.alphabetical.many":"Indice alfabetico delle {0} lingue",
"languages.alphabetical.none":"Indice alfabetico indipendente dalla lingua",
"languages.alphabetical.one":"Indice alfabetico della singola lingua",
"languages.title":"Lingue",
"mail.messagenotsent":"L'e-mail non può essere spedita.",
"mail.messagesent":"L'e-mail è stata spedita",
"paging.next.alternate":"Prossimo",
"paging.previous.alternate":"Precedente",
"permalink.alternate":"Permalink",
"pubdate.title":"Anno di publicazione",
"recent.list":" I {0} libri più recenti",
"recent.title":"Ultime aggiunte",
"##TODO##search.alternate":"Search",
"##TODO##search.result":"Search result for *{0}*",
"##TODO##search.sortorder.asc":"Asc",
"##TODO##search.sortorder.desc":"Desc",
"search.alternate":"Cerca",
"search.result":"Risultati per *{0}*",
"search.sortorder.asc":"Asc",
"search.sortorder.desc":"Disc",
"series.alphabetical.many":"Indice alfabetico di {0} collane",
"##TODO##series.alphabetical.none":"Alphabetical index of absolutely no series",
"series.alphabetical.none":"Indice alfabetico indipendente dalla collana",
"series.alphabetical.one":"Indice alfabetico di una sola collana",
"series.title":"Collane",
"##TODO##sort.alternate":"Sort",
"sort.alternate":"Ordina",
"splitByLetter.book.other":"Altri libri",
"splitByLetter.letter":"{0} che iniziano per {1}",
"tags.alphabetical.many":"Indice alfabetico di {0} argomenti",
"##TODO##tags.alphabetical.none":"Alphabetical index of absolutely no tag",
"tags.alphabetical.none":"Indice alfabetico indipendente dall'argomento",
"tags.alphabetical.one":"Indice alfabetico del solo argomento",
"tags.title":"Argomenti",
"tagword.title":"Argomenti",

View file

@ -16,6 +16,7 @@
"bookword.none":"Ingen bøker",
"bookword.one":"1 bok",
"bookword.title":"Bøker",
"##TODO##cog.alternate":"Search, sort and filters",
"content.series":"Serier:",
"content.series.data":"Bok {0} i serien {1}",
"content.summary":"Sammendrag",

View file

@ -1,11 +1,11 @@
{
"##TODO##about.title":"About COPS",
"about.title":"Over COPS",
"allbooks.alphabetical.many":"Alfabetische index van {0} boeken",
"##TODO##allbooks.alphabetical.none":"Alphabetical index of absolutely no book",
"allbooks.alphabetical.none":"Alfabetische index van absoluut geen enkel boek",
"allbooks.alphabetical.one":"Alfabetische index van 1 boek",
"allbooks.title":"Alle boeken",
"authors.alphabetical.many":"Alfabetische index van {0} auteurs",
"##TODO##authors.alphabetical.none":"Alphabetical index of absolutely no author",
"authors.alphabetical.none":"Alfabetische index van absoluut geen enkele auteur",
"authors.alphabetical.one":"Alfabetische index van 1 auteur",
"authors.title":"Auteurs",
"authorword.many":"{0} auteurs",
@ -16,43 +16,44 @@
"bookword.none":"Geen boek",
"bookword.one":"1 boek",
"bookword.title":"Boeken",
"cog.alternate":"Zoeken, sorteren en filters",
"content.series":"Series:",
"content.series.data":"Boek {0} in de {1} serie",
"content.summary":"Samenvatting",
"##TODO##customize.email":"Set your email (to allow book emailing)",
"##TODO##customize.fancybox":"Use a Lightbox",
"##TODO##customize.filter":"Enable tag filtering",
"##TODO##customize.paging":"Max number of books per page (-1 to disable)",
"##TODO##customize.style":"Theme",
"##TODO##customize.title":"Customize COPS UI",
"##TODO##home.alternate":"Home",
"customize.email":"Email-adres ontvanger (om boeken te versturen per elektronische post)",
"customize.fancybox":"Gebruik een Lightbox",
"customize.filter":"Zet filteren op tag aan",
"customize.paging":"Maximaal aantal boeken per pagina (-1 voor oneindig aantal)",
"customize.style":"Opmaak COPS gebruikersomgeving",
"customize.title":"Aanpassen COPS gebruikersomgeving",
"home.alternate":"Terug (home)",
"i18n.coversection":"Omslag",
"language.title":"Taal",
"##TODO##languages.alphabetical.many":"Alphabetical index of the {0} languages",
"##TODO##languages.alphabetical.none":"Alphabetical index of absolutely no language",
"##TODO##languages.alphabetical.one":"Alphabetical index of the single language",
"##TODO##languages.title":"Languages",
"##TODO##mail.messagenotsent":"Message could not be sent.",
"##TODO##mail.messagesent":"Message has been sent",
"##TODO##paging.next.alternate":"Next",
"##TODO##paging.previous.alternate":"Previous",
"##TODO##permalink.alternate":"Permalink",
"##TODO##pubdate.title":"Publication year",
"languages.alphabetical.many":"Alfabetische index van {0} talen",
"languages.alphabetical.none":"Alfabetische index van absoluut geen enkele taal",
"languages.alphabetical.one":"Alfabetische index van taal",
"languages.title":"Talen",
"mail.messagenotsent":"Bericht kon niet verzonden worden.",
"mail.messagesent":"Bericht is verzonden",
"paging.next.alternate":"Volgende",
"paging.previous.alternate":"Vorige",
"permalink.alternate":"Permalink",
"pubdate.title":"Jaar van publicatie",
"recent.list":"{0} meest recente boeken",
"recent.title":"Recent toegevoegd",
"##TODO##search.alternate":"Search",
"##TODO##search.result":"Search result for *{0}*",
"##TODO##search.sortorder.asc":"Asc",
"##TODO##search.sortorder.desc":"Desc",
"recent.title":"Recent toegevoegde boeken",
"search.alternate":"Zoeken",
"search.result":"Zoekresultaat voor *{0}*",
"search.sortorder.asc":"A-Z",
"search.sortorder.desc":"Z-A",
"series.alphabetical.many":"Alfabetische index van {0} series",
"##TODO##series.alphabetical.none":"Alphabetical index of absolutely no series",
"series.alphabetical.none":"Alfabetische index van absoluut geen ekele serie",
"series.alphabetical.one":"Alfabetische index van 1 serie",
"series.title":"Series",
"##TODO##sort.alternate":"Sort",
"sort.alternate":"Sorteren",
"splitByLetter.book.other":"Andere boeken",
"splitByLetter.letter":"{0} beginnend met {1}",
"tags.alphabetical.many":"Alfabetische index van {0} tags",
"##TODO##tags.alphabetical.none":"Alphabetical index of absolutely no tag",
"tags.alphabetical.none":"Alfabetische index van absoluut geen enkele tag",
"tags.alphabetical.one":"Alfabetische index van 1 tag",
"tags.title":"Tags",
"tagword.title":"Tags",

View file

@ -16,6 +16,7 @@
"bookword.none":"Sem livros",
"bookword.one":"1 livro",
"bookword.title":"Livros",
"##TODO##cog.alternate":"Search, sort and filters",
"content.series":"Séries:",
"content.series.data":"Livro {0} da série {1}",
"content.summary":"Sumário",

View file

@ -16,6 +16,7 @@
"bookword.none":"Нет книг",
"bookword.one":"1 книга",
"bookword.title":"Книги",
"##TODO##cog.alternate":"Search, sort and filters",
"content.series":"Серии:",
"content.series.data":"Книга {0} в {1} серии",
"content.summary":"Краткое содержание:",

View file

@ -16,6 +16,7 @@
"bookword.none":"没有书籍",
"bookword.one":"1 本书籍",
"bookword.title":"书名",
"##TODO##cog.alternate":"Search, sort and filters",
"content.series":"系列:",
"content.series.data":"{0} 系列的第 {0} 本",
"content.summary":"概要",

View file

@ -3,7 +3,7 @@
<div title="{{=it.c.i18n.homeAlt}}" class="hicon hicon64"><i class="icon-home"></i></div>
</a>
{{? it.c.config.server_side_rendering == 0}}
<div title="Settings and menu" class="hicon hicon64 headright"><i class="icon-cog" id="searchImage"></i></div>
<div title="{{=it.c.i18n.cogAlt}}" class="hicon hicon64 headright"><i class="icon-cog" id="searchImage"></i></div>
{{?}}
<div class="headcenter">
<h1>{{=it.title}}</h1>