diff --git a/gitscord_webhook.php b/gitscord_webhook.php index 5c7343e..d94e197 100644 --- a/gitscord_webhook.php +++ b/gitscord_webhook.php @@ -197,7 +197,7 @@ function MR_layout($messageJSON,$JSON,$lang) { $txt_action_description="*Problem with GitScord, please report.*"; } $messageJSON['content'] = $txt_ligne_MR[$lang]; - $messageJSON['embeds'] = array(array('title'=> $txt_title_MR[$lang].' *'.$JSON['project']['name'].'*', + $messageJSON['embeds'] = array(array('title'=> $txt_action.' *'.$JSON['project']['name'].'*', 'description'=> "**".$JSON['object_attributes']['title']."**\n".$txt_action_description, 'url'=> $JSON['object_attributes']['url'], 'timestamp'=> $JSON['object_attributes']['created_at'],