Index: trunk/extensions/UploadWizard/UploadWizard.i18n.php |
— | — | @@ -215,7 +215,7 @@ |
216 | 216 | 'mwe-upwiz-error-license-wikitext-invalid' => 'This does not seem to be valid wikitext, or does not contain a license.', |
217 | 217 | 'mwe-upwiz-details-error-count' => 'There {{PLURAL:$1|is one error|are $1 errors}} with the {{PLURAL:$2|form|forms}} above. Correct the errors, and try submitting again.', |
218 | 218 | 'mwe-upwiz-too-many-files-ok' => 'OK', |
219 | | - 'mwe-upwiz-too-many-files-text' => 'You can only upload $1 {{PLURAL:$1|file|files}} at once. You tried to add $2 {{PLURAL:$2|file|files}}, so $3 {{PLURAL:$3|file|files}} have been removed.', |
| 219 | + 'mwe-upwiz-too-many-files-text' => 'You can only upload $1 {{PLURAL:$1|file|files}} at once. You tried to upload $2 {{PLURAL:$2|file|files}} in total, so $3 {{PLURAL:$3|file has|files have}} been removed.', |
220 | 220 | 'mwe-upwiz-too-many-files' => 'Too many files.', |
221 | 221 | |
222 | 222 | /* LICENSES & combinations of licenses */ |
Index: trunk/extensions/UploadWizard/resources/mw.UploadWizardUpload.js |
— | — | @@ -339,7 +339,7 @@ |
340 | 340 | if ( tooManyFiles ) { |
341 | 341 | var remainingFiles = mw.UploadWizard.config[ 'maxUploads' ] - _this.wizard.uploads.length; |
342 | 342 | _this.showTooManyFilesWarning( files.length - remainingFiles ); |
343 | | - var files = remainingFiles > 1 ? files.slice( 1, remainingFiles - 1 ) : []; |
| 343 | + var files = remainingFiles > 1 ? files.slice( 1, remainingFiles ) : []; |
344 | 344 | } |
345 | 345 | else { |
346 | 346 | var files = files.slice( 1 ); |