diff --git a/modules/webapp/src/main/elm/Messages/Comp/EventSample.elm b/modules/webapp/src/main/elm/Messages/Comp/EventSample.elm index 9af5514d..bfd6c503 100644 --- a/modules/webapp/src/main/elm/Messages/Comp/EventSample.elm +++ b/modules/webapp/src/main/elm/Messages/Comp/EventSample.elm @@ -9,6 +9,7 @@ module Messages.Comp.EventSample exposing ( Texts , de , gb + , fr ) import Data.EventType exposing (EventType) @@ -38,3 +39,10 @@ de = , httpError = Messages.Comp.HttpError.de , selectEvent = "Ereignis wählen…" } + +fr : Texts +fr = + { eventType = Messages.Data.EventType.fr + , httpError = Messages.Comp.HttpError.fr + , selectEvent = "Sélectionner un événement…" + } diff --git a/modules/webapp/src/main/elm/Messages/Comp/NotificationHookForm.elm b/modules/webapp/src/main/elm/Messages/Comp/NotificationHookForm.elm index 21189adc..6d9a456d 100644 --- a/modules/webapp/src/main/elm/Messages/Comp/NotificationHookForm.elm +++ b/modules/webapp/src/main/elm/Messages/Comp/NotificationHookForm.elm @@ -9,6 +9,7 @@ module Messages.Comp.NotificationHookForm exposing ( Texts , de , gb + , fr ) import Data.EventType exposing (EventType) @@ -81,3 +82,24 @@ de = , messagePayload = "Nachricht" , payloadInfo = "Es werden abhängig vom Kanal JSON oder Nachricht-Formate versendet. Der HTTP Kanal empfängt nur JSON, an die anderen wird das Nachrichtformat gesendet." } + +fr : Texts +fr = + { basics = Messages.Basics.fr + , channelRef = Messages.Comp.ChannelRefInput.fr + , eventType = Messages.Data.EventType.fr + , eventSample = Messages.Comp.EventSample.fr + , channelHeader = "Sélectionner les canaux" + , enableDisable = "Activé / Désactivé" + , eventsInfo = "Sélectionner un événement que déclenche ce webhook" + , selectEvents = "Sélectionner..." + , events = "Événements" + , samplePayload = "Aperçu du contenu envoyé" + , toggleAllEvents = "Notifier pour les événements" + , eventFilter = "Expression de filtre des événements" + , eventFilterInfo = "Spécifier (optionnel) une expression pour filtrer les événements selon leur structure JSON" + , eventFilterClickForHelp = "Cliquer pour l'aide" + , jsonPayload = "JSON" + , messagePayload = "Message" + , payloadInfo = "Les messages sont envoyés à gotify, email and matrix. Le JSON est envoyé au canal HTTP." + } diff --git a/modules/webapp/src/main/elm/Messages/Comp/NotificationHookManage.elm b/modules/webapp/src/main/elm/Messages/Comp/NotificationHookManage.elm index 6b4c7f2f..3d5a50e7 100644 --- a/modules/webapp/src/main/elm/Messages/Comp/NotificationHookManage.elm +++ b/modules/webapp/src/main/elm/Messages/Comp/NotificationHookManage.elm @@ -9,6 +9,7 @@ module Messages.Comp.NotificationHookManage exposing ( Texts , de , gb + , fr ) import Http @@ -82,3 +83,24 @@ de = , updateWebhook = "Webhook aktualisieren" , addWebhook = "Neuen Webhook hinzufügen" } + +fr : Texts +fr = + { basics = Messages.Basics.fr + , notificationForm = Messages.Comp.NotificationHookForm.fr + , notificationTable = Messages.Comp.NotificationHookTable.fr + , httpError = Messages.Comp.HttpError.fr + , channelType = Messages.Data.ChannelType.fr + , newHook = "Nouveau webhook" + , httpRequest = "Requête HTTP" + , hookCreated = "Webhook créé" + , hookUpdated = "Webhook mis à jour" + , hookStarted = "Webhook démarré" + , hookDeleted = "Webhook supprimé" + , deleteThisHook = "Supprimer ce webhook" + , reallyDeleteHook = "Confirmer la suppression de ce webhook ?" + , formInvalid = "Veuillez remplir tous les champs requis" + , invalidJsonFilter = \m -> "Filtre d'événement invalide " ++ m + , updateWebhook = "Mettre à jour le webhook" + , addWebhook = "Ajouter un webhook" + } diff --git a/modules/webapp/src/main/elm/Messages/Comp/NotificationHookTable.elm b/modules/webapp/src/main/elm/Messages/Comp/NotificationHookTable.elm index 411a646b..3e0b7abe 100644 --- a/modules/webapp/src/main/elm/Messages/Comp/NotificationHookTable.elm +++ b/modules/webapp/src/main/elm/Messages/Comp/NotificationHookTable.elm @@ -9,6 +9,7 @@ module Messages.Comp.NotificationHookTable exposing ( Texts , de , gb + , fr ) import Data.EventType exposing (EventType) @@ -50,3 +51,14 @@ de = , events = "Ereignisse" , allEvents = "Alle" } + +fr : Texts +fr = + { basics = Messages.Basics.fr + , eventType = Messages.Data.EventType.fr + , channelType = Messages.Data.ChannelType.fr + , enabled = "Activé" + , channel = "Canal" + , events = "Événements" + , allEvents = "Tout" + } diff --git a/modules/webapp/src/main/elm/Messages/Data/EventType.elm b/modules/webapp/src/main/elm/Messages/Data/EventType.elm index 99ccb99e..0a0073ca 100644 --- a/modules/webapp/src/main/elm/Messages/Data/EventType.elm +++ b/modules/webapp/src/main/elm/Messages/Data/EventType.elm @@ -9,6 +9,7 @@ module Messages.Data.EventType exposing ( Texts , de , gb + , fr ) import Data.EventType exposing (EventType(..)) @@ -76,3 +77,32 @@ de et = { name = "Auftrag beendet" , info = "Wenn ein Auftrag beendet wurde" } + + +fr : EventType -> Texts +fr et = + case et of + TagsChanged -> + { name = "Tags changés" + , info = "Quand un tag est ajouté ou supprimé d'un document" + } + + SetFieldValue -> + { name = "Valeur de champs affectée" + , info = "Quand une valeur est affectée à un champs personnalisé" + } + + DeleteFieldValue -> + { name = "Champs supprimé" + , info = "Quand un champs personnalisé est supprimé" + } + + JobSubmitted -> + { name = "Tâche soumise" + , info = "Quand une nouvelle tâche est soumise" + } + + JobDone -> + { name = "Tâche terminée" + , info = "Quand une tâche est terminée" + }