Skip to content

Commit

Permalink
Merge pull request #4454 from NateWr/i4446_stable
Browse files Browse the repository at this point in the history
STABLE: #4446 Adjust category locale strings and move app-specific…
  • Loading branch information
NateWr authored Feb 27, 2019
2 parents 242326c + d120907 commit 69154e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions locale/en_US/submission.xml
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,6 @@
<message key="category.coverImage">Cover Image</message>
<message key="submission.submit.placement.categories">Categories</message>
<message key="submission.currentCoverImage">Current Image</message>
<message key="catalog.browseTitles">{$numTitles} Titles</message>
<message key="catalog.noTitlesSection">No titles have been published yet for this section.</message>
<message key="catalog.category.noItems">Nothing has been published in this category yet.</message>
<message key="catalog.category.subcategories">Subcategories</message>
</locale>
3 changes: 1 addition & 2 deletions pages/catalog/PKPCatalogHandler.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ function thumbnail($args, $request) {
* Set up the basic template.
*/
function setupTemplate($request) {
AppLocale::requireComponents(LOCALE_COMPONENT_PKP_SUBMISSION);
AppLocale::requireComponents(LOCALE_COMPONENT_PKP_SUBMISSION, LOCALE_COMPONENT_APP_SUBMISSION);
parent::setupTemplate($request);
}

Expand Down Expand Up @@ -169,4 +169,3 @@ protected function _setupPaginationTemplate($request, $publishedMonographs, $pag
));
}
}

0 comments on commit 69154e3

Please sign in to comment.