Do not hardcode ordering of day number and day name in DatePicker
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-ui-toolkit (Ubuntu) |
Confirmed
|
Medium
|
Cris Dywan |
Bug Description
In my locale, when I'm seeing the day name and day number in a sentence, I expect to have them in "day_name day_number" format. However in the DatePicker, they seem to be the other way around.
I.e. "dissabte 26" (expected, correct) vs "26 dissabte" (actual, incorrect).
This comes from hardcoding the ordering in DayModel.qml [1]. Instead,
- the day_name, day_number ordering should be taken from the user's locale or,
- alternatively, if that ordering is not available, the string should be made translatable so that translators can reorder it according to their locale by translating the SDK
zsombi mentioned there is a bug in MonthModel.qml too, but I couldn't quite find it.
See the attached image showing the wrong order for the day picker.
Changed in ubuntu-ui-toolkit: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in ubuntu-ui-toolkit: | |
assignee: | nobody → Zsombor Egri (zsombi) |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Zsombor Egri (zsombi) |
importance: | Undecided → Medium |
status: | New → Confirmed |
no longer affects: | ubuntu-ui-toolkit |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | Zsombor Egri (zsombi) → Christian Dywan (kalikiana) |