Modules: a right-to-left language name flips the whole detail line #103
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
schaefera/utStudyBIble#103
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Seen on the phone while checking PR #102. In Modules, Aleppo's detail line is laid out right to left. Its language name comes first, in Hebrew ("עברית · 2.0.1 · 1.0 MB"), so the whole Label takes RTL direction from that first strong character. The text aligns right and the version and size come out reordered ("MB 1.0 · 2.0.1 · עברית").
Fix: keep the row in the UI direction and isolate the language name: wrap it in U+2068 FSI … U+2069 PDI where the core builds the detail text, or set
horizontalAlignment: Text.AlignLeftandLayoutMirroringon the Label. Prefer the isolate in core, so every place that shows a language name gets it. A unit test should cover a Hebrew or Arabic name.🤖 Generated with Claude Code