Open dbungert opened 2 years ago
On a related note, we need to be able to translate unit labels.
Currently, human-readable file sizes are provided by the filesize package, which mixes hard-coded SI standard unit labels with base-2 units. :eyes:
The implementation of the data_size package looks better but it has hardcoded labels too.
The implementation of the data_size package looks better but it has hardcoded labels too.
Could we fork that one, add translation capabilities and make a pull request to the author?
https://wiki.ubuntu.com/UnitsPolicy
We appear to be using SI standard unit labels with base-2 units. Let's update things so that we are consistent with the policy.
Example: a partition of 40000028672 bytes is displayed as having size "37GB" - by this policy that size when rounded would be "40GB" or "37GiB"