diff --git a/src/Bundle/ChillDocStoreBundle/Resources/public/vuejs/DropFileWidget/DropFileModal.vue b/src/Bundle/ChillDocStoreBundle/Resources/public/vuejs/DropFileWidget/DropFileModal.vue index 216e2ddad..453cc7e61 100644 --- a/src/Bundle/ChillDocStoreBundle/Resources/public/vuejs/DropFileWidget/DropFileModal.vue +++ b/src/Bundle/ChillDocStoreBundle/Resources/public/vuejs/DropFileWidget/DropFileModal.vue @@ -4,6 +4,7 @@ import { StoredObject, StoredObjectVersion } from "../../types"; import DropFileWidget from "ChillDocStoreAssets/vuejs/DropFileWidget/DropFileWidget.vue"; import { computed, reactive } from "vue"; import { useToast } from "vue-toast-notification"; +import { DOCUMENT_REPLACE, DOCUMENT_ADD, trans } from "translator"; interface DropFileConfig { allowRemove: boolean; @@ -72,10 +73,10 @@ function closeModal(): void { @click="openModal" class="btn btn-create" > - Ajouter un document + {{ trans(DOCUMENT_ADD ) }} +
  • +
    + + +
    +
  • -
  • - -
  • @@ -181,6 +181,9 @@ import { EVALUATION_NOTIFICATION_NOTIFY_ANY, EVALUATION_NOTIFICATION_SEND, EVALUATION_DOCUMENTS, + EVALUATION_DOCUMENT_DUPLICATE, + EVALUATION_DOCUMENT_DUPLICATE_HERE, + EVALUATION_DOCUMENT_DUPLICATE_TO_OTHER_WORK, trans, } from "translator"; import { ref, watch } from "vue"; diff --git a/src/Bundle/ChillPersonBundle/translations/messages.fr.yml b/src/Bundle/ChillPersonBundle/translations/messages.fr.yml index 9b75b649e..dc8f5f744 100644 --- a/src/Bundle/ChillPersonBundle/translations/messages.fr.yml +++ b/src/Bundle/ChillPersonBundle/translations/messages.fr.yml @@ -772,6 +772,10 @@ evaluation: notification_notify_referrer: Notifier le référent notification_notify_any: Notifier d'autres utilisateurs notification_send: Envoyer une notification + document: + duplicate: Dupliquer + duplicate_here: Dupliquer ici + duplicate_to_other_work: Dupliquer vers un autre actions d'accompagnement goal: