Project

General

Profile

Translations #3300

Max filesize should be MB instead of M

Added by Michael Hosdez over 8 years ago. Updated over 7 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

History

#1

Updated by Maarten Meuris over 8 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

#2

Updated by Maarten Meuris over 8 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".

#3

Updated by Stefaan Vanbillemont over 8 years ago

  • Project changed from Chamilo LCMS Connect to Repository
#4

Updated by Stefaan Vanbillemont over 8 years ago

  • Target version set to 2.1.0
#5

Updated by Stefaan Vanbillemont almost 8 years ago

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

Updated by Stefaan Vanbillemont over 7 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

#7

Updated by Michael Hosdez over 7 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.

Also available in: Atom PDF