Catch error when trying to upload empty or invalid avatar

This commit is contained in:
Manfred Hoffmann
2021-04-20 07:42:58 +02:00
committed by GitHub
parent 6f8f5aff33
commit ae39544e10
38 changed files with 100 additions and 2 deletions

View File

@@ -1427,4 +1427,6 @@ return array(
'Estimated vs actual time per column' => 'Temps estimé vs temps réel par colonne',
'HUF - Hungarian Forint' => 'HUF - Forint hongrois',
'XBT - Bitcoin' => 'XBT - Bitcoin',
'You must select a file to upload as your avatar!' => 'Vous devez sélectionner un fichier à télécharger pour votre avatar !',
'The file you uploaded is not a valid image! (Only *.gif, *.jpg, *.jpeg and *.png are allowed!)' => 'Le fichier que vous avez téléchargé n\'est pas une image valide ! (Seuls * .gif, * .jpg, * .jpeg et * .png sont autorisés !)',
);