]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Number parameters
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Wed, 28 Jul 2010 20:17:54 +0000 (22:17 +0200)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Wed, 28 Jul 2010 20:17:54 +0000 (22:17 +0200)
classes/File.php

index 0f230a6ee5c56519947bbaa78c2b3ef8d9d56f62..ba8cea9d96f1c49a2a6f2ab93a4b3607e9fb4929 100644 (file)
@@ -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);
         }