Project

General

Profile

Actions

Translations #3300

open

Max filesize should be MB instead of M

Added by Michael Hosdez about 12 years ago. Updated almost 11 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
22/04/2011
Due date:
% Done:

0%

Estimated time:

Description

When creating a Content Object, the maximum file size (for an attachment) is expressed in M instead of MB


Files

FileSize.png (8.08 KB) FileSize.png Michael Hosdez, 22/04/2011 10:35
Actions #1

Updated by Maarten Meuris about 12 years ago

Actually, if you want to nitpick on something like this, the correct indication should be MiB anyway. See http://en.wikipedia.org/wiki/Mebibyte

Actions #2

Updated by Maarten Meuris about 12 years ago

Another note on this: in French, the word "octet" is used, so using MB globally and language independently would be plain wrong anyway. For French, it's "Mo", or, using the correct 1024-base, "Mio".

Actions #3

Updated by Stefaan Vanbillemont about 12 years ago

  • Project changed from Chamilo LCMS Connect to Repository
Actions #4

Updated by Stefaan Vanbillemont almost 12 years ago

  • Target version set to 2.1.0
Actions #5

Updated by Stefaan Vanbillemont over 11 years ago

  • Target version changed from 2.1.0 to Backlog (default)
Actions #6

Updated by Stefaan Vanbillemont almost 11 years ago

  • Tracker changed from Usability to Translations
  • Status changed from New to Needs testing
  • Assignee set to Michael Hosdez
  • Target version changed from Backlog (default) to LCMS 3

This should be fixed in the translations I guess

Actions #7

Updated by Michael Hosdez almost 11 years ago

  • Status changed from Needs testing to New
  • Assignee deleted (Michael Hosdez)

It's not a translation issue, after a check in the code it's a value gotten from PHP, see the code below:

Filename: \repository\content_object\document\php\lib\form\content_object.class.php

$post_max_size = (Filesystem :: interpret_file_size(ini_get('post_max_size')) < Filesystem :: interpret_file_size(ini_get('upload_max_filesize')) ? ini_get('post_max_size') : ini_get('upload_max_filesize'));

I suggest to add a translation variable to "add" another character for each language, "B" for dutch, "o" for french, etc.

Actions

Also available in: Atom PDF