Index: openacs-4/packages/file-storage/www/folder-zip-add.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/folder-zip-add.tcl,v diff -u -r1.11.2.1 -r1.11.2.2 --- openacs-4/packages/file-storage/www/folder-zip-add.tcl 14 Feb 2019 16:15:01 -0000 1.11.2.1 +++ openacs-4/packages/file-storage/www/folder-zip-add.tcl 25 Jun 2019 16:47:49 -0000 1.11.2.2 @@ -47,7 +47,7 @@ set n_bytes [file size ${upload_file.tmpfile}] set max_bytes [fs::max_upload_size] if { $n_bytes > $max_bytes } { - ad_complain "Your file is larger than the maximum file size allowed on this system ([util_commify_number $max_bytes] bytes)" + ad_complain "Your file is larger than the maximum file size allowed on this system ([util::content_size_pretty -size $max_bytes])" } } } Index: openacs-4/packages/general-comments/www/file-add-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/general-comments/www/file-add-2.tcl,v diff -u -r1.10 -r1.10.2.1 --- openacs-4/packages/general-comments/www/file-add-2.tcl 24 Apr 2018 16:13:07 -0000 1.10 +++ openacs-4/packages/general-comments/www/file-add-2.tcl 25 Jun 2019 16:47:49 -0000 1.10.2.1 @@ -30,7 +30,7 @@ set tmp_size [file size ${upload_file.tmpfile}] set max_file_size [parameter::get -parameter MaxFileSize -default {0}] if { $tmp_size > $max_file_size && $max_file_size > 0 } { - ad_complain "[_ general-comments.lt_Your_file_is_too_larg] [_ general-comments.The_publisher_of] [ad_system_name] [_ general-comments.lt_has_chosen_to_limit_a] [util_commify_number $max_file_size] [_ general-comments.bytes].\n" + ad_complain "[_ general-comments.lt_Your_file_is_too_larg] [_ general-comments.The_publisher_of] [ad_system_name] [_ general-comments.lt_has_chosen_to_limit_a] [util::content_size_pretty -size $max_file_size].\n" } if { $tmp_size == 0 } { ad_complain "[_ general-comments.lt_Your_file_is_zero-len]\n"