Skip to content

Commit

Permalink
pkp/pkp-lib#9468 add manager.dois.disabledChaptersDescription key and…
Browse files Browse the repository at this point in the history
… consider it in DoiListPanel
  • Loading branch information
bozana committed Aug 14, 2024
1 parent d2bde2d commit 690969a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion classes/components/listPanels/DoiListPanel.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ protected function setAppConfig(array &$config): void
// Provide required locale keys
$request = Application::get()->getRequest();
$templateMgr = TemplateManager::getManager($request);
$templateMgr->setLocaleKeys(['submission.monograph']);
$templateMgr->setLocaleKeys([
'submission.monograph',
'manager.dois.disabledChaptersDescription',
]);
}
}
3 changes: 3 additions & 0 deletions locale/en/manager.po
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,9 @@ msgstr "Use default patterns.<br />%p.%m for monographs<br />%p.%m.c%c for chapt
msgid "doi.manager.settings.doiCreationTime.copyedit"
msgstr "Upon reaching the copyediting stage"

msgid "manager.dois.disabledChaptersDescription"
msgstr "Chapters without a landing page cannot have a DOI."

msgid "manager.dois.formatIdentifier.file"
msgstr "Format / {$format}"

Expand Down

0 comments on commit 690969a

Please sign in to comment.