Skip to content

Commit

Permalink
global: Fixes wording of error-messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriz-uniba committed Aug 1, 2022
1 parent af69a46 commit f93d3c4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/lib/components/FormFeedback.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const ACTIONS = {
[FILE_IMPORT_FAILED]: {
feedback: "negative",
message: i18next.t(
"Oops, something went wrong! Importing files from the previous draft version failed. Please try again. If the problem persists, contact user support."
"Oops, something went wrong! Importing files from the previous version failed. Please try again. If the problem persists, contact user support."
),
},
};
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/Funding/FundingModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const CustomFundingSchema = Yup.object().shape({
},
}),
url: Yup.string()
.url(i18next.t("Url must be a valid url."))
.url(i18next.t("Url must be valid."))
.test({
name: "validateUrlDependencies",
message: i18next.t("Url must be set alongside title and number."),
Expand Down
4 changes: 2 additions & 2 deletions src/lib/components/PublishButton/SubmitReviewModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ import * as Yup from "yup";
export class SubmitReviewModal extends Component {
ConfirmSubmitReviewSchema = Yup.object({
acceptAccessToRecord: Yup.string().required(
i18next.t("You must click and accept this.")
i18next.t("You must accept this.")
),
acceptAfterPublishRecord: Yup.string().required(
i18next.t("You must click and accept this.")
i18next.t("You must accept this.")
),
reviewComment: Yup.string(),
});
Expand Down

0 comments on commit f93d3c4

Please sign in to comment.