Use consistent wording 'acceptable' in Upload.js
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 30 Jun 2020 09:47:51 +0000 (11:47 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 30 Jun 2020 09:47:51 +0000 (11:47 +0200)
wcfsetup/install/files/js/WoltLabSuite/Core/Ui/File/Upload.js
wcfsetup/install/files/js/WoltLabSuite/Core/Upload.js

index 24a657278e5d0eb58c97d8b3dbb4245942ba2516..375fa63e58ec22cd05ea7637f5e2099471b30693 100644 (file)
@@ -32,7 +32,7 @@ define(['Core', 'Language', 'Dom/Util', 'WoltLabSuite/Core/Ui/File/Delete', 'Upl
                        imagePreview: false,
                        // max files
                        maxFiles: null,
-                       // array of acceptable file types, null if any file type is allowed
+                       // array of acceptable file types, null if any file type is acceptable
                        acceptableFiles: null,
                }, options);
                
index 0b03a829f9b937341ec87958a0cef9eb2175cb2d..2c4b551650e130cdd6df349c5a2d53d5193d0fbf 100644 (file)
@@ -44,7 +44,7 @@ define(['AjaxRequest', 'Core', 'Dom/ChangeListener', 'Language', 'Dom/Util', 'Do
                        action: 'upload',
                        // is true if multiple files can be uploaded at once
                        multiple: false,
-                       // array of accepted file types, null if any file type is allowed
+                       // array of acceptable file types, null if any file type is acceptable
                        acceptableFiles: null,
                        // name if the upload field
                        name: '__files[]',