Skip to content

Commit

Permalink
pkp/pkp-lib#10336 update locales
Browse files Browse the repository at this point in the history
  • Loading branch information
taslangraham committed Sep 3, 2024
1 parent 25696d4 commit 119d6a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/v1/submissions/SubmissionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ protected function getSubmissionPaymentForm(Request $illuminateRequest): JsonRes

if (!$paymentManager->publicationEnabled()) {
return response()->json([
'error' => __('api.publications.403.noEnabledPaymentMethods'),
'error' => __('api.publications.403.paymentFeesNotEnabled'),
], Response::HTTP_FORBIDDEN);
}

Expand Down
4 changes: 2 additions & 2 deletions locale/en/api.po
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ msgstr "The publication that you requested is not part of this submission."
msgid "api.submissionFiles.400.badRepresentationAssocType"
msgstr "You can not associated a file from this file stage with a galley."

msgid "api.publications.403.noEnabledPaymentMethods"
msgstr "Submission payments form is unavailable as there are no enabled payment methods."
msgid "api.publications.403.paymentFeesNotEnabled"
msgstr "Submission payments form is unavailable as publication payment fees are not enabled."

msgid "api.submission.400.inactiveSection"
msgstr "This section is no longer receiving submissions."

0 comments on commit 119d6a0

Please sign in to comment.