From 49592eb70ae61841d721480ee71ea7280ef7d415 Mon Sep 17 00:00:00 2001 From: Vincent Auger Date: Thu, 5 Dec 2024 15:25:02 -0400 Subject: [PATCH] fix: missing translation --- resources/src/locales/en.json | 4 +++- resources/src/locales/fr.json | 4 +++- .../Publication/components/PublicationFileManagementCard.vue | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/resources/src/locales/en.json b/resources/src/locales/en.json index bdbafc02..6f707736 100644 --- a/resources/src/locales/en.json +++ b/resources/src/locales/en.json @@ -276,7 +276,9 @@ "cant-download": "You are not authorized to download this file.", "publication-previous-version": "This is a previous version of the publication", "unauthenticated-orcid-id": "Unauthenticated ORCID iD", - "authors": "Authors" + "authors": "Authors", + "upload-a-new-version-of-the-publication": "Upload a new version of the publication", + "upload-the-publication": "Upload the publication" }, "create-author-dialog": { "title": "Create a new author" diff --git a/resources/src/locales/fr.json b/resources/src/locales/fr.json index 8c14e359..b1d41fe2 100644 --- a/resources/src/locales/fr.json +++ b/resources/src/locales/fr.json @@ -276,7 +276,9 @@ "cant-download": "Vous n'êtes pas autorisé à télécharger ce fichier.", "publication-previous-version": "Ceci est une version précédente de la publication", "unauthenticated-orcid-id": "ORCID iD Non authentifié", - "authors": "Auteurs" + "authors": "Auteurs", + "upload-a-new-version-of-the-publication": "Télécharger une nouvelle version de la publication", + "upload-the-publication": "Téléchargez la publication" }, "create-author-dialog": { "title": "Créer un nouvel auteur" diff --git a/resources/src/models/Publication/components/PublicationFileManagementCard.vue b/resources/src/models/Publication/components/PublicationFileManagementCard.vue index 3c1b5bae..340da40a 100644 --- a/resources/src/models/Publication/components/PublicationFileManagementCard.vue +++ b/resources/src/models/Publication/components/PublicationFileManagementCard.vue @@ -132,8 +132,8 @@ watch(publicationFile, () => { use-chips :label=" publicationResourceList?.data - ? 'Upload a new version of the publication' - : 'Upload the publication' + ? t('common.upload-a-new-version-of-the-publication') + : t('common.upload-the-publication') " :hint="t('mrf.upload-hint', { max: maxFileSizeMB })" accept="application/pdf"