Ticket #1051: gmg-mb-mib.patch
File gmg-mb-mib.patch, 529 bytes (added by , 10 years ago) |
---|
-
mediagoblin/submit/forms.py
diff --git a/mediagoblin/submit/forms.py b/mediagoblin/submit/forms.py index 6c0e8e9..f2ec8ad 100644
a b def get_submit_start_form(form, **kwargs): 27 27 max_file_size = kwargs.get('max_file_size') 28 28 desc = None 29 29 if max_file_size: 30 desc = _('Max file size: {0} mb'.format(max_file_size))30 desc = _('Max file size: {0} MiB'.format(max_file_size)) 31 31 32 32 class SubmitStartForm(wtforms.Form): 33 33 file = wtforms.FileField(