diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/file/file.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/file/file.js b/modules/file/file.js index 7325229b3..0f0f43708 100644 --- a/modules/file/file.js +++ b/modules/file/file.js @@ -65,7 +65,7 @@ Drupal.file = Drupal.file || { if (accept.length > 1 && this.value.length > 0) { var acceptableMatch = new RegExp('\\.(' + accept + ')$', 'gi'); if (!acceptableMatch.test(this.value)) { - var error = Drupal.t("The selected file %filename cannot not be uploaded. Only files with the following extensions are allowed: %extensions.", { + var error = Drupal.t("The selected file %filename cannot be uploaded. Only files with the following extensions are allowed: %extensions.", { '%filename': this.value, '%extensions': accept.replace(/\|/g, ', ') }); |