Skip to content

Commit 470dde0

Browse files
authored
Merge pull request #254 from ahjota/master
Proofreading error messages in initDropzone()
2 parents 003b897 + 5f0dc06 commit 470dde0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/gwt/material/design/addins/client/fileuploader/MaterialFileUploader.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,18 +239,18 @@ protected void initDropzone(Element e, Element template, String previews, Elemen
239239
}
240240

241241
if (response.indexOf("401") >= 0) {
242-
response = "Unautharized. Probably Your's session expired. Log in and try again.";
242+
response = "Unauthorized. Your session may have expired. Log in and try again.";
243243
globalResponse = response;
244244
UnauthorizedEvent.fire(this, convertUploadFile(file), new UploadResponse(file.xhr.status, file.xhr.statusText, response));
245245
}
246246

247247
if (response.indexOf("404") >= 0) {
248-
response = "There's a problem uploading your file.";
248+
response = "There is a problem uploading your file.";
249249
globalResponse = response;
250250
}
251251

252252
if (response.indexOf("500") >= 0) {
253-
response = "There's a problem uploading your file.";
253+
response = "There is a problem uploading your file.";
254254
globalResponse = response;
255255
}
256256

0 commit comments

Comments
 (0)