Closed Bug 1951907 Opened 1 year ago Closed 1 year ago

[Downloads v2] Add and use localised size formatting for downloads

Categories

(Firefox for Android :: Downloads, enhancement, P2)

All
Android
enhancement

Tracking

()

VERIFIED FIXED
138 Branch
Tracking Status
firefox138 --- verified

People

(Reporter: rsainani, Assigned: npoon)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid] [group4])

Attachments

(2 files)

Currently, the formatting for download file sizes only formats in English, and dooesn't take into account any other file size units except KB and MB. The task is to use a formatter from the android platform or stdlib that follow the general spec.

Assignee: nobody → npoon
Status: NEW → ASSIGNED
See Also: → 1948059
Pushed by npoon@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9efd3b97636b Use Formatter library for localized size formatting for downloads r=android-reviewers,rsainani
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch

Hey QA,
Can you please verify that download file sizes can now show in MB, kB, and GB? Previously, we could only display them in MB and kB. Similarly, can we please verify that these units get localized. For example, in French, MB should be localized to Mo, etc.... The places that come to mind to check for these (localized) units is the Downloads screen and the download dialog prompt before and after downloads. Please feel free to check other places if they come to mind. Note that translations was out of the scope of this ticket, so please ignore the file sizes displayed when downloading translations packs.

A website that can be used for testing download sizes is: http://xcal1.vodafone.co.uk/

Flags: qe-verify+
Attached image 1951907.png

Verified as implemented on the latest Fenix Nightly 138.0a1 from 3/20 using a Google Pixel 6 (Android 15), and a Samsung Galaxy A14 (Android 14).

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: