Skip to content

Commit

Permalink
pkp/pkp-lib#4446 Adjust category pages to reflect shared pkp-lib assets
Browse files Browse the repository at this point in the history
  • Loading branch information
NateWr committed Feb 12, 2019
1 parent 8474cda commit 54c19b3
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 16 deletions.
4 changes: 2 additions & 2 deletions locale/de_DE/locale.xml
Original file line number Diff line number Diff line change
Expand Up @@ -270,14 +270,14 @@
<message key="catalog.featuredBooks">Empfohlene Bücher</message>
<message key="catalog.foundTitleSearch">Zu Ihrer Suche nach "{$searchQuery}" wurde ein Titel gefunden.</message>
<message key="catalog.foundTitlesSearch">Zu Ihrer Suche nach "{$searchQuery}" wurden {$number} Titel gefunden.</message>
<message key="catalog.allBooks">Alle Bücher</message>
<message key="catalog.category.heading">Alle Bücher</message>
<message key="catalog.newReleases">Neuerscheinungen</message>
<message key="catalog.dateAdded">Hinzugefügt {$dateAdded}</message>
<message key="catalog.publicationInfo">Informationen zum Buch</message>
<message key="catalog.published">Veröffentlicht</message>
<message key="catalog.categories">Kategorien</message>
<message key="catalog.parentCategory">Oberkategorie</message>
<message key="catalog.subcategories">Unterkategorie</message>
<message key="catalog.category.subcategories">Unterkategorie</message>
<message key="catalog.aboutTheAuthor">Über den/die {$roleName}</message>
<message key="catalog.coverImageTitle">Titelbild für {$monographTitle}</message>
<message key="catalog.loginRequiredForPayment">Bitte beachten Sie: Um einen Band zu kaufen, müssen Sie angemeldet sein. Sobald Sie einen Band ausgewählt haben, den Sie erwerben möchten, gelangen Sie automatisch zur Anmeldeseite. Alle Titel, die mit einem Open-Access-Symbol (geöffnetes Schloss) gekennzeichnet sind, können kostenlos heruntergeladen werden. Eine Anmeldung ist dazu nicht erforderlich.</message>
Expand Down
4 changes: 2 additions & 2 deletions locale/en_US/locale.xml
Original file line number Diff line number Diff line change
Expand Up @@ -275,15 +275,15 @@
<message key="catalog.featuredBooks">Featured Books</message>
<message key="catalog.foundTitleSearch">One title was found which matched your search for "{$searchQuery}".</message>
<message key="catalog.foundTitlesSearch">{$number} titles were found which matched your search for "{$searchQuery}".</message>
<message key="catalog.allBooks">All Books</message>
<message key="catalog.category.heading">All Books</message>
<message key="catalog.newReleases">New Releases</message>
<message key="catalog.dateAdded">Added</message>
<message key="catalog.publicationInfo">Publication Info</message>
<message key="catalog.published">Published</message>
<message key="catalog.forthcoming">Forthcoming</message>
<message key="catalog.categories">Categories</message>
<message key="catalog.parentCategory">Parent Category</message>
<message key="catalog.subcategories">Subcategories</message>
<message key="catalog.category.subcategories">Subcategories</message>
<message key="catalog.aboutTheAuthor">About the {$roleName}</message>
<message key="catalog.coverImageTitle">Cover for {$monographTitle}</message>
<message key="catalog.loginRequiredForPayment">Please note: In order to purchase items, you will need to log in first. Selecting an item to purchase will direct you to the login page. Any item marked with an Open Access icon may be downloaded free of charge, without logging in.</message>
Expand Down
3 changes: 3 additions & 0 deletions locale/en_US/submission.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,7 @@
<message key="submission.list.orderingFeatures">Drag-and-drop or tap the up and down buttons to change the order of features on the homepage.</message>
<message key="submission.list.orderingFeaturesSection">Drag-and-drop or tap the up and down buttons to change the order of features in {$title}.</message>
<message key="submission.list.saveFeatureOrder">Save Order</message>

<!-- categories -->
<message key="catalog.browseTitles">{$numTitles} Titles</message>
</locale>
4 changes: 2 additions & 2 deletions locale/es_ES/locale.xml
Original file line number Diff line number Diff line change
Expand Up @@ -556,12 +556,12 @@
<message key="catalog.featured">Destacado</message>
<message key="catalog.foundTitleSearch">Se ha encontrado un resultado que coincide con su búsqueda "{$searchQuery}".</message>
<message key="catalog.foundTitlesSearch">Se han encontrado {$number} resultados que coinciden con su búsqueda "{$searchQuery}".</message>
<message key="catalog.allBooks">Todos los libros</message>
<message key="catalog.category.heading">Todos los libros</message>
<message key="catalog.newReleases">Novedades</message>
<message key="catalog.published">Publicado</message>
<message key="catalog.categories">Categorías</message>
<message key="catalog.parentCategory">Categoría matriz</message>
<message key="catalog.subcategories">Subcategorías</message>
<message key="catalog.category.subcategories">Subcategorías</message>
<message key="catalog.coverImageTitle">Cubierta para {$monographTitle}</message>
<message key="catalog.sortBy">Orden de las monografías</message>
<message key="catalog.sortBy.seriesDescription">Elija la forma de ordenar los libros en estas colecciones.</message>
Expand Down
4 changes: 2 additions & 2 deletions locale/pt_BR/locale.xml
Original file line number Diff line number Diff line change
Expand Up @@ -259,14 +259,14 @@
<message key="catalog.feature">Destacar</message>
<message key="catalog.featured">Destacado</message>
<message key="catalog.featuredBooks">Livros em destaque</message>
<message key="catalog.allBooks">Todos os livros</message>
<message key="catalog.category.heading">Todos os livros</message>
<message key="catalog.newReleases">Lançamentos</message>
<message key="catalog.dateAdded">Incluído em {$dateAdded}</message>
<message key="catalog.publicationInfo">Dados da publicação</message>
<message key="catalog.published">Publicado</message>
<message key="catalog.categories">Categorias</message>
<message key="catalog.parentCategory">Categoria pai</message>
<message key="catalog.subcategories">Subcategorias</message>
<message key="catalog.category.subcategories">Subcategorias</message>
<message key="catalog.aboutTheAuthor">Sobre o {$roleName}</message>
<message key="catalog.coverImageTitle">Capa para {$monographTitle}</message>
<message key="catalog.loginRequiredForPayment">Nota: Para adquirir itens, é necessário acessar o sistema primeiro. Escolher um item para compra o levará a página de login. Itens com o ícone de acesso alberto podem ser baixados sem custos e sem login.</message>
Expand Down
4 changes: 2 additions & 2 deletions locale/sl_SI/locale.xml
Original file line number Diff line number Diff line change
Expand Up @@ -275,14 +275,14 @@
<message key="catalog.featuredBooks">Izbrane knjige</message>
<message key="catalog.foundTitleSearch">Za vašo iskalno zahtevo "{$searchQuery}" je bil najden en naslov.</message>
<message key="catalog.foundTitlesSearch">{$number} število najdenih naslovov se je ujemalo z vašo iskalno zahtevo "{$searchQuery}".</message>
<message key="catalog.allBooks">Vse knjige</message>
<message key="catalog.category.heading">Vse knjige</message>
<message key="catalog.newReleases">Nove izdaje</message>
<message key="catalog.dateAdded">Dodano</message>
<message key="catalog.publicationInfo">Podrobnosti o publikaciji</message>
<message key="catalog.published">Izdano</message>
<message key="catalog.categories">Kategorije</message>
<message key="catalog.parentCategory">Nadrejena kategorija</message>
<message key="catalog.subcategories">Podkategorije</message>
<message key="catalog.category.subcategories">Podkategorije</message>
<message key="catalog.aboutTheAuthor">O {$roleName}</message>
<message key="catalog.coverImageTitle">Naslovnica za {$monographTitle}</message>
<message key="catalog.loginRequiredForPayment">Pomembno: Za nakup se boste morali najprej prijaviti. Izbor predmeta za nakup vas bo preusmeril na stran za prijavo. Katero koli knjigo, označena z ikono Prost dostop, lahko prenesete brez plačila in brez prijave. </message>
Expand Down
2 changes: 1 addition & 1 deletion templates/frontend/pages/catalog.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
{* No published titles *}
{if !$publishedMonographs|@count}
<h2>
{translate key="catalog.allBooks"}
{translate key="catalog.category.heading"}
</h2>
<p>{translate key="catalog.noTitles"}</p>

Expand Down
6 changes: 3 additions & 3 deletions templates/frontend/pages/catalogCategory.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
{if !$subcategories->wasEmpty()}
<nav class="subcategories" role="navigation">
<h2>
{translate key="catalog.subcategories"}
{translate key="catalog.category.subcategories"}
</h2>
<ul>
{iterate from=subcategories item=subcategory}
Expand All @@ -67,7 +67,7 @@
{* No published titles in this category *}
{if empty($publishedSubmissions)}
<h2>
{translate key="catalog.allBooks"}
{translate key="catalog.category.heading"}
</h2>
<p>{translate key="catalog.noTitlesSection"}</p>

Expand All @@ -79,7 +79,7 @@
{/if}

{* All monographs *}
{include file="frontend/components/monographList.tpl" monographs=$publishedSubmissions featured=$featuredMonographIds titleKey="catalog.allBooks"}
{include file="frontend/components/monographList.tpl" monographs=$publishedSubmissions featured=$featuredMonographIds titleKey="catalog.category.heading"}

{* Pagination *}
{if $prevPage > 1}
Expand Down
4 changes: 2 additions & 2 deletions templates/frontend/pages/catalogSeries.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
{* No published titles in this category *}
{if empty($publishedMonographs)}
<h2>
{translate key="catalog.allBooks"}
{translate key="catalog.category.heading"}
</h2>
<p>{translate key="catalog.noTitlesSection"}</p>

Expand All @@ -68,7 +68,7 @@
{/if}

{* All monographs *}
{include file="frontend/components/monographList.tpl" monographs=$publishedMonographs featured=$featuredMonographIds titleKey="catalog.allBooks"}
{include file="frontend/components/monographList.tpl" monographs=$publishedMonographs featured=$featuredMonographIds titleKey="catalog.category.heading"}

{* Pagination *}
{if $prevPage > 1}
Expand Down

0 comments on commit 54c19b3

Please sign in to comment.