Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-82831

Do byte-amount formatting less wrongly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.14.0, 5.15
    • Core: Locales (i18n)
    • None

      QLocale::formattedDataSize() naively assumes that we can just use number + space + unit as the format string. This is, of course, not true in all locales - some put the number after the unit, most obviously. CLDR has the right formatting strings to tell us how to do this, but we're throwing that information away when we extract unit names from CLDR. We should, instead, do proper number formatting, just as we do for currencies and other formatted texts.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            cnn Qt Core & Network
            Eddy Edward Welbourne
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes