Index: trunk/extensions/UploadWizard/UploadWizardHooks.php |
— | — | @@ -399,9 +399,9 @@ |
400 | 400 | 'wm-license-cc-by-sa-3.0-no-text', |
401 | 401 | 'wm-license-cc-by-sa-3.0-pl-text', |
402 | 402 | 'wm-license-cc-by-sa-3.0-ro-text', |
403 | | - 'mwe-upwiz-to-many-files-ok', |
404 | | - 'mwe-upwiz-to-many-files-text', |
405 | | - 'mwe-upwiz-to-many-files', |
| 403 | + 'mwe-upwiz-too-many-files-ok', |
| 404 | + 'mwe-upwiz-too-many-files-text', |
| 405 | + 'mwe-upwiz-too-many-files', |
406 | 406 | ), |
407 | 407 | 'group' => 'ext.uploadWizard' |
408 | 408 | ), |
Index: trunk/extensions/UploadWizard/UploadWizard.i18n.php |
— | — | @@ -214,9 +214,9 @@ |
215 | 215 | 'mwe-upwiz-error-license-wikitext-too-long' => 'The wikitext you entered is too long.', |
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 | | - 'mwe-upwiz-to-many-files-ok' => 'Ok', |
219 | | - 'mwe-upwiz-to-many-files-text' => 'You can only upload $1 {{PLURAL:$1|file|files}} in one go. You tried to add $2 {{PLURAL:$2|file|files}}, so $3 {{PLURAL:$3|file|files}} have been omitted.', |
220 | | - 'mwe-upwiz-to-many-files' => 'To many files', |
| 218 | + 'mwe-upwiz-too-many-files-ok' => 'Ok', |
| 219 | + 'mwe-upwiz-too-many-files-text' => 'You can only upload $1 {{PLURAL:$1|file|files}} in one go. You tried to add $2 {{PLURAL:$2|file|files}}, so $3 {{PLURAL:$3|file|files}} have been removed.', |
| 220 | + 'mwe-upwiz-too-many-files' => 'Too many files', |
221 | 221 | |
222 | 222 | /* LICENSES & combinations of licenses */ |
223 | 223 | /* may be a good idea to shift to WikimediaLicenseTexts? */ |
— | — | @@ -587,9 +587,9 @@ |
588 | 588 | 'mwe-upwiz-prefs-def-3rdparty' => 'Form input label', |
589 | 589 | 'mwe-upwiz-prefs-def-license-ownwork' => 'Radio button option', |
590 | 590 | 'mwe-upwiz-prefs-def-license-3rdparty' => 'Radio button option', |
591 | | - 'mwe-upwiz-to-many-files-ok' => 'Ok button text', |
592 | | - 'mwe-upwiz-to-many-files-text' => 'Error message informing the user there are to manuy uploads in a dialog. Each param is a file count.', |
593 | | - 'mwe-upwiz-to-many-files' => 'Error dialog title', |
| 591 | + 'mwe-upwiz-too-many-files-ok' => 'Ok button text', |
| 592 | + 'mwe-upwiz-too-many-files-text' => 'Error message informing the user there are to manuy uploads in a dialog. Each param is a file count.', |
| 593 | + 'mwe-upwiz-too-many-files' => 'Error dialog title', |
594 | 594 | ); |
595 | 595 | |
596 | 596 | /** Afrikaans (Afrikaans) |
Index: trunk/extensions/UploadWizard/resources/mw.UploadWizardUpload.js |
— | — | @@ -338,7 +338,7 @@ |
339 | 339 | |
340 | 340 | if ( tooManyFiles ) { |
341 | 341 | var remainingFiles = mw.UploadWizard.config[ 'maxUploads' ] - _this.wizard.uploads.length; |
342 | | - _this.showToManyFilesWarning( files.length - remainingFiles ); |
| 342 | + _this.showTooManyFilesWarning( files.length - remainingFiles ); |
343 | 343 | var files = remainingFiles > 1 ? files.slice( 1, remainingFiles - 1 ) : []; |
344 | 344 | } |
345 | 345 | else { |
— | — | @@ -388,10 +388,10 @@ |
389 | 389 | * since they went over the max files limit. |
390 | 390 | * @param {Integer} |
391 | 391 | */ |
392 | | - showToManyFilesWarning: function( filesIgnored ) { |
| 392 | + showTooManyFilesWarning: function( filesIgnored ) { |
393 | 393 | var buttons = [ |
394 | 394 | { |
395 | | - text: gM( 'mwe-upwiz-to-many-files-ok' ), |
| 395 | + text: gM( 'mwe-upwiz-too-many-files-ok' ), |
396 | 396 | click: function() { |
397 | 397 | $( this ).dialog( "close" ); |
398 | 398 | } |
— | — | @@ -399,7 +399,7 @@ |
400 | 400 | ]; |
401 | 401 | $j( '<div></div>' ) |
402 | 402 | .msg( |
403 | | - 'mwe-upwiz-to-many-files-text', |
| 403 | + 'mwe-upwiz-too-many-files-text', |
404 | 404 | mw.UploadWizard.config[ 'maxUploads' ], |
405 | 405 | mw.UploadWizard.config[ 'maxUploads' ] + filesIgnored, |
406 | 406 | filesIgnored |
— | — | @@ -408,7 +408,7 @@ |
409 | 409 | width: 500, |
410 | 410 | zIndex: 200000, |
411 | 411 | autoOpen: true, |
412 | | - title: gM( 'mwe-upwiz-to-many-files' ), |
| 412 | + title: gM( 'mwe-upwiz-too-many-files' ), |
413 | 413 | modal: true, |
414 | 414 | buttons: buttons |
415 | 415 | } ); |