Closed Bug 1673539 Opened 4 years ago Closed 4 years ago

Fluent NUMBER() function: style="percent" has a different display between Firefox and the Fluent playground

Categories

(Core :: Internationalization: Localization, defect)

defect

Tracking

()

RESOLVED FIXED
84 Branch
Tracking Status
firefox84 --- fixed

People

(Reporter: Yoric, Assigned: zbraniecki)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

percent = { NUMBER(1, style: "percent") }

Displays 100% in the fluent playground and 1% in Firefox.

Not sure if this belongs to Core::Internationalization, the subcomponent Localization, or a GH issue :-\

Component: General → Internationalization: Localization
Product: Localization Infrastructure and Tools → Core
Component: Internationalization: Localization → Internationalization
Summary: style="percent" has a different display between Firefox and the Fluent playground → Fluent NUMBER() function: style="percent" has a different display between Firefox and the Fluent playground
Component: Internationalization → Internationalization: Localization

This is a bug from migration to Rust, and as we fix it, we should use Preferences::General Default Zoom to validate the fix.

Assignee: nobody → gandalf
Status: NEW → ASSIGNED
Pushed by zbraniecki@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b299574ca450 Multiply by 100 when using style percent in Fluent. r=dminor
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: