diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2019-09-05 19:39:58 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2019-09-05 19:48:46 +0200 |
commit | 9a94fe7d26bfc53569317897d73d1daf0e62130f (patch) | |
tree | 06d75f2d6a9bdc45b38e73c39bb747856890ef04 /editor/code_editor.h | |
parent | 4ee8ecd3efee742be58c1ff191e78d0de09b57b6 (diff) |
Improve the `String::humanize_size()` method
- Use "B" insted of "Bytes" to be more compact
- Use suffixes that denote a binary prefix
- Make suffixes localizable
This removes the need for the custom
`EditorNetworkProfiler:_format_bandwidth()` method.
Diffstat (limited to 'editor/code_editor.h')
0 files changed, 0 insertions, 0 deletions