Fork me on GitHub
Subscribe 5

Ticket #472 (fixed task)

Use KB, MB instead of KiB, MiB etc.

  • Created: 2011-08-07 18:13:43
  • Reported by: Koos
  • Assigned to: Franz
  • Milestone: 1.4.6
  • Component: localization
  • Priority: normal

In include/functions:

Change:

$units = array('B', 'KiB', 'MiB', 'GiB', 'TiB', 'PiB', 'EiB');

To:

$units = array('Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB');

More people are familiar with KB, MB etc.

History

Koos 2011-08-07 18:37:22

The units array should also be internationalized (use lang file).

davidlougheed 2011-08-07 23:45:20

I think that's going backwards.

quy 2011-08-08 02:59:12

Here is the previous commit for reference.

Reines 2011-08-10 08:20:28

  • Component set to localization.
  • Milestone set to 1.4.6.

I agree on localization, but not on changing back to KB, MB, etc.

Franz 2011-08-11 21:46:31

  • Owner set to Franz.

I don't care either way, really, but why not? Because it is the "correct" way?

Patch prepared, anyway.

Franz 2011-08-12 10:30:57

Commit 3181f6c to fluxbb fluxbb-1.4

#472: Make file size units translateable.

Franz 2011-08-12 12:16:16

  • Status changed from open to fixed.