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

QLocale::formattedDataSize() is implemented wrongly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Duplicate
    • Affects Version/s: 5.15, 6.0, 6.1
    • Fix Version/s: None
    • Component/s: Core: Locales (i18n)
    • Labels:
      None
    • Platform/s:
      All

      Description

      The implementation currently glues a unit after a formatted number, with a space between them.
      That's fine for English, and probably quite a lot of other locales, but CLDR actually provides proper formatting information, not just the name of the unit, so we should use that information, thereby combining the fragments in a locale-appropriate way, rather than combining locale-appropriate fragments in an anglophone way.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              Eddy Edward Welbourne
              Reporter:
              Eddy Edward Welbourne
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes