Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add binary prefixes for digital storage #90

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

gkaklas
Copy link

@gkaklas gkaklas commented Sep 4, 2017

Binary storage units are not very known, however they're the reason a 32GB flash drive shows up as 29GiB when plugged in a computer, a 1TB drive as ~900GiB and so on. I think that this PR is helpful for a user wanting to do such conversions, as doing so with a calculator requires all the intermediate 1024*1024*1024... calculations.

I wasn't sure how to leave untranslated entries for strings, so I just went ahead and added duplicate entries in every values-*/strings.xml. I'm not sure I like it and I don't know how is the correct way to do this, so if there is a better way please let me know and I'll just rebase.

This closes #46.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Binary prefix at Digital Storage
2 participants