summaryrefslogtreecommitdiff
path: root/modules/file
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-09-28 02:31:52 +0000
committerDries Buytaert <dries@buytaert.net>2010-09-28 02:31:52 +0000
commit45bca33bc2dd42e6a5a30956f6577e8df25c72c4 (patch)
tree2525f6ebee63d80653c57f8bd4ef19450a7c9618 /modules/file
parentb1190c11b5551f20a99514bf2b0719b74449277d (diff)
downloadbrdo-45bca33bc2dd42e6a5a30956f6577e8df25c72c4.tar.gz
brdo-45bca33bc2dd42e6a5a30956f6577e8df25c72c4.tar.bz2
- Patch #924636 by grendzy: double negative 'cannot not' in error message.
Diffstat (limited to 'modules/file')
-rw-r--r--modules/file/file.js2
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, ', ')
});