(fix) make use of existing string

This commit is contained in:
Ludovic Marcotte
2016-02-17 08:40:57 -05:00
parent 1f71cff18d
commit 4cd0c501bd
2 changed files with 5 additions and 5 deletions
@@ -260,8 +260,11 @@
"error_missingrecipients" = "Please specify at least one recipient.";
"Send Anyway" = "Send Anyway";
"Error while saving the draft" = "Error while saving the draft";
/* Error when uploading a file attachment */
"Error while uploading the file \"%{0}\":" = "Error while uploading the file \"%{0}\":";
"There is an active file upload. Closing the window will interrupt it." = "There is an active file upload. Closing the window will interrupt it.";
/* Message sending */
"cannot send message: (smtp) all recipients discarded" = "Cannot send message: all recipients are invalid.";
"cannot send message (smtp) - recipients discarded" = "Cannot send message. The following addresses are invalid";
@@ -302,7 +305,4 @@
"More search options" = "More search options";
"Your email has been saved" = "Your email has been saved";
"Your email has been sent" = "Your email has been sent";
"Folder compacted" = "Folder compacted";
/* Error when uploading a file attachment */
"An error occured while uploading" = "An error occured while uploading";
"Folder compacted" = "Folder compacted";
@@ -46,7 +46,7 @@
onErrorItem: function(item, response, status, headers) {
$mdToast.show(
$mdToast.simple()
.content(l('An error occured while uploading' + ' ' + item.file.name))
.content(l('Error while uploading the file \"%{0}\":', item.file.name))
.position('top right')
.hideDelay(3000));
this.removeFromQueue(item);