Skip to content

Commit

Permalink
feat: add localization for manuscript peer reviewer dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentauger committed Nov 18, 2024
1 parent 528ea78 commit c27bb89
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions resources/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -767,5 +767,8 @@
},
"mannage-peer-review": {
"delete-peer-reviewer": "Delete Peer Reviewer"
},
"manuscript-peer-review-dialog": {
"title": "Add a peer reviewer for this manuscript"
}
}
3 changes: 3 additions & 0 deletions resources/src/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -767,5 +767,8 @@
},
"mannage-peer-review": {
"delete-peer-reviewer": "Supprimer l'évaluateur"
},
"manuscript-peer-review-dialog": {
"title": "Ajouter un évaluateur pour ce manuscrit"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async function addManuscriptPeerReviewer() {
</script>

<template>
<BaseDialog :title="$t('manuscript-author-dialog.title')">
<BaseDialog :title="$t('manuscript-peer-review-dialog.title')">
<q-form @submit="addManuscriptPeerReviewer">
<div
class="q-mx-md q-mt-lg text-body1 text-primary text-weight-medium"
Expand All @@ -53,6 +53,7 @@ async function addManuscriptPeerReviewer() {
<AuthorSelect
v-model="authorId"
class="q-ma-md"
:label="$t('common.reviewer')"
:disabled-author-ids="disabledAuthorIds"
:rules="[(val: number|null) => val !== null || t('common.required')]"
/>
Expand Down

0 comments on commit c27bb89

Please sign in to comment.