<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE locale SYSTEM "../../dtd/locale.dtd">

<!--
  * locale/en_US/api.xml
  *
  * Copyright (c) 2014-2019 Simon Fraser University
  * Copyright (c) 2000-2019 John Willinsky
  * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
  *
  * Localization strings for the REST API.
  -->

<locale name="en_US" full_name="U.S. English">
	<message key="api.400.paramNotSupported">The {$param} parameter is not supported.</message>
	<message key="api.403.unauthorized">You are not authorized to access the requested resource.</message>
	<message key="api.404.resourceNotFound">The requested resource was not found.</message>
	<message key="api.404.endpointNotFound">The requested URL was not recognized.</message>
	<message key="api.submissions.403.csrfTokenFailure">Your request was denied. This may be because your login has expired. Try reloading the page and trying again.</message>
	<message key="api.submissions.403.requestedOthersUnpublishedSubmissions">You can only view unpublished submissions to which you have been assigned.</message>
	<message key="api.submissions.403.deleteSubmissionOutOfContext">You can not delete a submission that is not assigned to this context.</message>
	<message key="api.submissions.403.unauthorizedDeleteSubmission">You do not have permission to delete this submission.</message>
	<message key="api.submissions.404.resourceNotFound">The requested resource was not found.</message>
	<message key="api.submissions.400.missingRequired">Your request could not be fulfilled because it is missing required information.</message>
	<message key="api.submissions.400.invalidIssueIdentifiers">The requested volume, number or year is not valid.</message>
	<message key="api.submissions.unknownError">An unexpected error has occurred. Please reload the page and try again.</message>
	<message key="api.stats.400.wrongDateFormat">Your request was not valid. The date has to be in the format YYYY-MM-DD.</message>
	<message key="api.stats.400.wrongDateRange">Your request was not valid. The dateStart can not be later than the dateEnd.</message>
	<message key="api.stats.400.wrongTimeSegmentDaily">Your request was not valid. The timeSegment 'daily' can only be used together with a date range (dateStart and dateEnd) within the last 90 days.</message>
</locale>
