Existing code is bad for localization, flooding the locale's tables.

Should be as follow
Line 84, 88 respectively:

<?php
$message = t('Your file is too big. The limit is @uploadsize and your file is @filesize.', array('@uploadsize' => format_size($limit), '@filesize' => format_size($file['filesize'])));
...
$message = t('Your file is too big. The limit is @uploadsize and your file is @filesize.', array('@uploadsize' => format_size($uploadsize), '@filesize' => format_size($file['filesize'])));
?>

Comments

greg.harvey’s picture

Status: Needs review » Reviewed & tested by the community

Ahh, yes - very lazy of me! Sorry! Will commit your changes as soon as I get chance. Thanks! =)

greg.harvey’s picture

Assigned: Unassigned » greg.harvey
Status: Reviewed & tested by the community » Fixed

Committed - release should be available shortly. Thanks! =)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.