Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
<transition name="slide-fade-up">
<div v-show="open">
<div v-if="type === 'activity'">
<span>Qui reçoit les notifications ?</span>
<span>
{{ $t("ProjectOverview.notifications.settings.activity.recipientsNotificationsText") }}
</span>
<BIMDataButton
color="primary"
fill
Expand All @@ -28,7 +30,9 @@
</BIMDataButton>

<div v-for="(labels, section) in activityOptions" :key="section">
<h5>{{ section }}</h5>
<h5>
{{ t(`ProjectOverview.notifications.settings.activity.${section}.title`, section) }}
</h5>
<BIMDataCheckbox
v-for="(label, index) in labels"
:key="`${section}-${index}`"
Expand Down Expand Up @@ -69,7 +73,9 @@
/>

<div class="flex items-center m-l-24 m-t-12">
<span>À :</span>
<span>
{{ $t("ProjectOverview.notifications.settings.general.sendAt") }}
</span>
<TimePicker v-model="notificationTime" class="m-x-12" />
<BIMDataButton
color="primary"
Expand Down
57 changes: 28 additions & 29 deletions src/i18n/lang/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,15 @@
"size": "Sie haben nicht mehr genug Speicherplatz."
},
"notifications": {
"title": "Einstellungen Benachrichtigung per Email",
"headerText": "Die Projektkonfiguration auf BIMData ermöglicht die Anpassung der Art und Häufigkeit der Benachrichtigungen für eine personalisierte Nachbearbeitung",
"title": "E-Mail-Benachrichtigungseinstellungen",
"headerText": "Passen Sie hier die Art und Häufigkeit der E-Mail-Benachrichtigungen an",
"validateButton": "Projektkonfiguration bestätigen",
"settings": {
"general": {
"sendNever": "nie Benachrichtigungsmail senden",
"sendEventOccurs": "ereignisaktuell versenden",
"sendEvery": "eine Mail immer versenden am :",
"sendNever": "Keine Benachrichtigungsmails versenden",
"sendEventOccurs": "Sofort versenden",
"sendEvery": "E-Mail versenden am:",
"sendAt": "um:",
"monday": "Montag",
"tuesday": "Dienstag",
"wednesday": "Mittwoch",
Expand All @@ -45,38 +46,36 @@
"successDeleteNotifText": "Benachrichtigungen wurden deaktiviert.",
"errorDeleteNotifText": "Bei der Deaktivierung der Benachrichtigungen ist ein Fehler aufgetreten."
},
"bcf": {
"title": "Benachrichtigungen per Mail BCF"
},
"visa": {
"title": "Benachrichtigungen per Mail VISA"
},
"activity": {
"title": "Benachrichtigungen Projektaktivität",
"recipientsNotificationsButton": "Empfänger der Benachrichtigungen",
"title": "Projektaktivität",
"recipientsNotificationsText": "Wer erhält die Benachrichtigungen?",
"recipientsNotificationsButton": "Empfänger",
"ged": {
"fileUpload": "eine Datei ablegen",
"fileDeletion": "eine Datei löschen",
"newVersion": "neue Version",
"folderCreation": "Ordner erstellen",
"folderDeletion": "Ordner löschen"
"title": "Dateisystem",
"fileUpload": "Datei abgelegt",
"fileDeletion": "Datei gelöscht",
"newVersion": "Neue Version",
"folderCreation": "Ordner erstellt",
"folderDeletion": "Ordner gelöscht"
},
"visa": {
"title": "Benachrichtigungen per Mail VISA",
"visaCreation": "Visa erstellen",
"visaDeletion": "Visa löschen",
"visaValidation": "Visa bestätigen",
"visaRejection": "Visa ablehnen"
"title": "VISA",
"visaCreation": "Visa erstellt",
"visaDeletion": "Visa gelöscht",
"visaValidation": "Visa bestätigt",
"visaRejection": "Visa abgelehnt"
},
"bcf": {
"bcfCreation": "BCF erstellen",
"bcfDeletion": "BCF löschen"
"title": "BCF",
"bcfCreation": "BCF erstellt",
"bcfDeletion": "BCF gelöscht"
},
"otherEvents": {
"acceptInvit": "Einladung annehmen",
"removeModels": "Aus den Projektvorlagen löschen",
"createMetaBuilding": "meta-building erstellen",
"deleteMetaBuilding": "meta-building löschen"
"title": "Sonstige Ereignisse",
"acceptInvit": "Einladung angenommen",
"removeModels": "Modell entfernt",
"createMetaBuilding": "meta-building erstellt",
"deleteMetaBuilding": "meta-building gelöscht"
}
}
},
Expand Down
15 changes: 7 additions & 8 deletions src/i18n/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"sendNever": "Never send notification emails",
"sendEventOccurs": "When the event occurs",
"sendEvery": "Send an email every:",
"sendAt": "at:",
"monday": "Monday",
"tuesday": "Tuesday",
"wednesday": "Wednesday",
Expand All @@ -45,36 +46,34 @@
"successDeleteNotifText": "Notifications have been disabled.",
"errorDeleteNotifText": "An error occurred while disabling notifications."
},
"bcf": {
"title": "BCF Email Notifications"
},
"visa": {
"title": "VISA Email Notifications"
},
"activity": {
"title": "Project activity notifications",
"recipientsNotificationsText": "Who receives notifications?",
"recipientsNotificationsButton": "Notification recipients",
"ged": {
"title": "File system",
"fileUpload": "File upload",
"fileDeletion": "File deletion",
"newVersion": "New version",
"folderCreation": "Folder creation",
"folderDeletion": "Folder deletion"
},
"visa": {
"title": "Visa email notifications",
"title": "Visa",
"visaCreation": "Visa creation",
"visaDeletion": "Visa deletion",
"visaValidation": "Visa approval",
"visaRejection": "Visa rejection"
},
"bcf": {
"title": "BCF",
"bcfCreation": "BCF creation",
"bcfDeletion": "BCF deletion"
},
"otherEvents": {
"title": "Other events",
"acceptInvit": "Invitation acceptance",
"removeModels": "Remove models",
"removeModels": "Models removed",
"createMetaBuilding": "Meta-building creation",
"deleteMetaBuilding": "Meta-building deletion"
}
Expand Down
13 changes: 6 additions & 7 deletions src/i18n/lang/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"sendNever": "Nunca enviar correos electrónicos de notificación",
"sendEventOccurs": "En el momento en que ocurre el evento",
"sendEvery": "Enviar un correo electrónico cada:",
"sendAt": "a las:",
"monday": "Lunes",
"tuesday": "Martes",
"wednesday": "Miércoles",
Expand All @@ -45,34 +46,32 @@
"successDeleteNotifText": "Se han desactivado las notificaciones.",
"errorDeleteNotifText": "Se ha producido un error al desactivar las notificaciones."
},
"bcf": {
"title": "Notificaciones por correo electrónico de BCF"
},
"visa": {
"title": "Notificaciones por correo electrónico de VISA"
},
"activity": {
"title": "Notificaciones de actividad del proyecto",
"recipientsNotificationsText": "¿Quién recibe las notificaciones?",
"recipientsNotificationsButton": "Destinatarios de las notificaciones",
"ged": {
"title": "Sistema de archivos",
"fileUpload": "Enviar un archivo",
"fileDeletion": "Eliminar un archivo",
"newVersion": "Versión nueva",
"folderCreation": "Crear carpeta",
"folderDeletion": "Eliminar carpeta"
},
"visa": {
"title": "Notificaciones por correo electrónico de VISA",
"title": "VISA",
"visaCreation": "Crear Visa",
"visaDeletion": "Eliminar Visa",
"visaValidation": "Validar Visa",
"visaRejection": "Denegación de Visa"
},
"bcf": {
"title": "BCF",
"bcfCreation": "Crear BCF",
"bcfDeletion": "Eliminar BCF"
},
"otherEvents": {
"title": "Otros eventos",
"acceptInvit": "Aceptar invitación",
"removeModels": "Eliminar plantillas",
"createMetaBuilding": "Crear meta-building",
Expand Down
13 changes: 6 additions & 7 deletions src/i18n/lang/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
"sendNever": "Ne jamais envoyer de mail de notification",
"sendEventOccurs": "Au moment où l'événement se produit",
"sendEvery": "Envoyer un mail tous les :",
"sendAt": "À:",
"monday": "Lundi",
"tuesday": "Mardi",
"wednesday": "Mercredi",
Expand All @@ -107,34 +108,32 @@
"successDeleteNotifText": "Les notifications ont été désactivées.",
"errorDeleteNotifText": "Une erreur est survenue lors de la désactivation des notifications."
},
"bcf": {
"title": "Notifications mail BCF"
},
"visa": {
"title": "Notifications mail VISA"
},
"activity": {
"title": "Notifications activité projet",
"recipientsNotificationsText": "Qui reçoit les notifications?",
"recipientsNotificationsButton": "Destinataires des notifications",
"ged": {
"title": "GED",
"fileUpload": "Dépôt d'un fichier",
"fileDeletion": "Suppression d'un fichier",
"newVersion": "Nouvelle version",
"folderCreation": "Création dossier",
"folderDeletion": "Suppression dossier"
},
"visa": {
"title": "Notifications mail VISA",
"title": "VISA",
"visaCreation": "Création de Visa",
"visaDeletion": "Suppression Visa",
"visaValidation": "Validation Visa",
"visaRejection": "Refus Visa"
},
"bcf": {
"title": "BCF",
"bcfCreation": "Création BCF",
"bcfDeletion": "Suppression BCF"
},
"otherEvents": {
"title": "Autres évènements",
"acceptInvit": "Acceptation d’invitation",
"removeModels": "Retirer des modèles",
"createMetaBuilding": "Création méta-building",
Expand Down
8 changes: 4 additions & 4 deletions src/utils/notifications.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,24 @@ export const WEEK_DAYS = [
];

export const RAW_ACTIVITY_OPTIONS = {
GED: [
ged: [
"ged.fileUpload",
"ged.fileDeletion",
// "ged.newVersion",
"ged.folderCreation",
"ged.folderDeletion",
],
Visa: [
visa: [
"visa.visaCreation",
"visa.visaDeletion",
"visa.visaValidation",
"visa.visaRejection",
],
BCF: [
bcf: [
"bcf.bcfCreation",
"bcf.bcfDeletion",
],
"Autres évènements": [
otherEvents: [
"otherEvents.acceptInvit",
// "otherEvents.removeModels",
"otherEvents.createMetaBuilding",
Expand Down
Loading