diff --git a/i18n/en.i18n.json b/i18n/en.i18n.json
index 9e3b6b9adc51..97936ce44e77 100644
--- a/i18n/en.i18n.json
+++ b/i18n/en.i18n.json
@@ -159,6 +159,7 @@
"Favorites" : "Favorites",
"FileUpload" : "File Upload",
"FileUpload_Enabled" : "File Uploads Enabled",
+ "FileUpload_File_Empty" : "File empty",
"FileUpload_MaxFileSize" : "Maximum File Upload Size (in bytes)",
"FileUpload_MediaType_NotAccepted" : "Media Types Not Accepted",
"FileUpload_MediaTypeWhiteList" : "Accepted Media Types",
@@ -296,7 +297,6 @@
"Msgs" : "Msgs",
"multi" : "multi",
"Mute_user" : "Mute user",
- "Unmute_user" : "Unmute user",
"My_Account" : "My Account",
"n_messages" : "%s messages",
"Name" : "Name",
@@ -475,6 +475,7 @@
"There_is_no_integrations" : "There is no integrations",
"This_is_a_push_test_messsage" : "This is a push test messsage",
"True" : "True",
+ "Unmute_user" : "Unmute user",
"Unnamed" : "Unnamed",
"Unread_Rooms" : "Unread Rooms",
"Unread_Rooms_Mode" : "Unread Rooms Mode",
@@ -503,15 +504,15 @@
"User_left_female" : "Has left the channel.",
"User_left_male" : "Has left the channel.",
"User_logged_out" : "User is logged out",
+ "User_muted_by" : "User __user_muted__ muted by __user_by__.",
"User_muted_in_room" : "User muted in room",
- "User_unmuted_in_room" : "User unmuted in room",
"User_not_found_or_incorrect_password" : "User not found or incorrect password",
"User_or_channel_name" : "User or channel name",
"User_removed_by" : "User __user_removed__ removed by __user_by__.",
- "User_muted_by" : "User __user_muted__ muted by __user_by__.",
- "User_unmuted_by" : "User __user_unmuted__ unmuted by __user_by__.",
"User_removed_from_room" : "The user has been removed from the room",
"User_Settings" : "User Settings",
+ "User_unmuted_by" : "User __user_unmuted__ unmuted by __user_by__.",
+ "User_unmuted_in_room" : "User unmuted in room",
"User_updated_successfully" : "User updated successfully",
"Username" : "Username",
"Username_cant_be_empty" : "The username cannot be empty",
diff --git a/packages/rocketchat-ui/lib/fileUpload.coffee b/packages/rocketchat-ui/lib/fileUpload.coffee
index 52560afe2fbb..548cc76437fa 100644
--- a/packages/rocketchat-ui/lib/fileUpload.coffee
+++ b/packages/rocketchat-ui/lib/fileUpload.coffee
@@ -31,6 +31,13 @@ readAsArrayBuffer = (file, callback) ->
timer: 1000
return
+ if file.file.size is 0
+ swal
+ title: t('FileUpload_File_Empty')
+ type: 'error'
+ timer: 1000
+ return
+
text = ''
if file.type is 'audio'