FIX: ensure a file is present when creating an upload

This commit is contained in:
Régis Hanol
2015-08-18 11:39:51 +02:00
parent ecd1bfe4cb
commit 4c2df814de
3 changed files with 22 additions and 5 deletions

View File

@@ -2063,6 +2063,7 @@ en:
unauthorized: "Sorry, the file you are trying to upload is not authorized (authorized extensions: %{authorized_extensions})."
pasted_image_filename: "Pasted image"
store_failure: "Failed to store upload #%{upload_id} for user #%{user_id}."
file_missing: "Sorry, you must provide a file to upload."
attachments:
too_large: "Sorry, the file you are trying to upload is too big (maximum size is %{max_size_kb}KB)."
images: