Skip to content

[v3-4-test] UI: Render Arabic durations with the correct plural form (#72604) - #75323

Merged
vatsrahul1001 merged 2 commits into
v3-4-testfrom
backport-8070289-v3-4-test
Oct 22, 2026
Merged

vatsrahul1001 merged 2 commits into
v3-4-testfrom
backport-8070289-v3-4-test

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Arabic inflects a counted noun four ways, but dayjs's ar locale stores a
single template per unit, so every count above one took the 3-10 form: a
two-hour deadline read "2 ساعات" where the dual "ساعتان" is required, and an
eleven-day one read "11 أيام" instead of "11 يومًا".

Locales with comparable plural systems -- Hebrew, Russian, Polish -- already
pass a function instead of a template and render correctly at every count;
Arabic was simply never migrated. This applies the same treatment locally
until the fix can be made upstream.

Two assertions from the previous change pinned the uninflected output and are
updated here.
(cherry picked from commit 8070289)

Co-authored-by: Baha Bouali [email protected]

…72604)

Arabic inflects a counted noun four ways, but dayjs's `ar` locale stores a
single template per unit, so every count above one took the 3-10 form: a
two-hour deadline read "2 ساعات" where the dual "ساعتان" is required, and an
eleven-day one read "11 أيام" instead of "11 يومًا".

Locales with comparable plural systems -- Hebrew, Russian, Polish -- already
pass a function instead of a template and render correctly at every count;
Arabic was simply never migrated. This applies the same treatment locally
until the fix can be made upstream.

Two assertions from the previous change pinned the uninflected output and are
updated here.
(cherry picked from commit 8070289)

Co-authored-by: Baha Bouali <[email protected]>
@bbovenzi
bbovenzi marked this pull request as ready for review October 21, 2026 15:23
@boring-cyborg boring-cyborg Bot added the area:UI Related to UI/UX. For Frontend Developers. label Oct 21, 2026
@vatsrahul1001
vatsrahul1001 merged commit d2e3c4e into v3-4-test Oct 22, 2026
63 of 64 checks passed
@vatsrahul1001
vatsrahul1001 deleted the backport-8070289-v3-4-test branch October 22, 2026 09:55
@github-actions github-actions Bot added this to the Airflow 3.4.1 milestone Oct 22, 2026
@github-actions

Copy link
Copy Markdown
Contributor Author

Hi maintainer, this PR was merged without a milestone set.
We've automatically set the milestone to Airflow 3.4.1 based on: merged to version branch
If this milestone is not correct, please update it to the appropriate milestone.

This comment was generated by Milestone Tag Assistant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants