Skip to content

Commit

Permalink
Add byte-based units to CLDR data
Browse files Browse the repository at this point in the history
Scan CLDR for {,kilo,mega,giga,tera,peta,exa}byte forms and their IEC
equivalents, providing SI and IEC defaults when missing (which all of
IEC are) in addition to the usual numeric data.  Extrapolate from any
present data (e.g. French's ko, Mo, Go, To imply Po, Eo and, for IEC,
Kio, Mio, etc.), since CLDR only goes up to tera.  Propagate this data
to QLocale's database ready for use by QLocale::formattedDataSize().

Change-Id: Ie6ee978948c68be9f71ab784a128cbfae3d80ee1
Reviewed-by: Shawn Rutledge <[email protected]>
  • Loading branch information
ediosyncratic committed Jun 13, 2017
1 parent 536b918 commit 424d9e9
Show file tree
Hide file tree
Showing 5 changed files with 699 additions and 559 deletions.
Loading

0 comments on commit 424d9e9

Please sign in to comment.