From e694da24a9b6ec242fd49b5ce6e012d0a2a28679 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Wed, 28 Jul 2010 22:17:54 +0200 Subject: Number parameters --- classes/File.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'classes') diff --git a/classes/File.php b/classes/File.php index 0f230a6ee..ba8cea9d9 100644 --- a/classes/File.php +++ b/classes/File.php @@ -182,8 +182,8 @@ class File extends Memcached_DataObject function isRespectsQuota($user,$fileSize) { if ($fileSize > common_config('attachments', 'file_quota')) { - return sprintf(_('No file may be larger than %d bytes ' . - 'and the file you sent was %d bytes. Try to upload a smaller version.'), + return sprintf(_('No file may be larger than %1$d bytes ' . + 'and the file you sent was %2$d bytes. Try to upload a smaller version.'), common_config('attachments', 'file_quota'), $fileSize); } -- cgit v1.2.3-54-g00ecf