Index: trunk/phase3/includes/SpecialUpload.php |
— | — | @@ -233,7 +233,7 @@ |
234 | 234 | if ( $wgUploadSizeWarning && ( $this->mUploadSize > $wgUploadSizeWarning ) ) { |
235 | 235 | # TODO: Format $wgUploadSizeWarning to something that looks better than the raw byte |
236 | 236 | # value, perhaps add GB,MB and KB suffixes? |
237 | | - $warning .= '<li>'.wfMsg( 'largefile', $wgUploadSizeWarning ).'</li>'; |
| 237 | + $warning .= '<li>'.wfMsg( 'largefile', $wgUploadSizeWarning, $this->mUploadSize ).'</li>'; |
238 | 238 | } |
239 | 239 | if ( $this->mUploadSize == 0 ) { |
240 | 240 | $warning .= '<li>'.wfMsg( 'emptyfile' ).'</li>'; |
Index: trunk/phase3/languages/Language.php |
— | — | @@ -1011,7 +1011,7 @@ |
1012 | 1012 | 'illegalfilename' => 'The filename "$1" contains characters that are not allowed in page titles. Please rename the file and try uploading it again.', |
1013 | 1013 | 'badfilename' => "Image name has been changed to \"$1\".", |
1014 | 1014 | 'badfiletype' => "\".$1\" is not a recommended image file format.", |
1015 | | -'largefile' => 'It is recommended that images not exceed $1 bytes in size.', |
| 1015 | +'largefile' => 'It is recommended that images not exceed $1 bytes in size, this file is $2 bytes', |
1016 | 1016 | 'emptyfile' => 'The file you uploaded seems to be empty. This might be due to a typo in the file name. Please check whether you really want to upload this file.', |
1017 | 1017 | 'fileexists' => 'A file with this name exists already, please check $1 if you are not sure if you want to change it.', |
1018 | 1018 | 'successfulupload' => 'Successful upload', |