Closed Bug 1141949 Opened 9 years ago Closed 9 years ago

[RTL][Calendar]The date is not shown as week, day, month from right to left.

Categories

(Mozilla Localizations :: ar / Arabic, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.2 verified, b2g-master verified)

VERIFIED FIXED
Tracking Status
b2g-v2.2 --- verified
b2g-master --- verified

People

(Reporter: lulu.tian, Unassigned)

Details

Attachments

(3 files)

Attached image date_in_calendar.png
[1.Description]:
[RTL][Calendar]The date which should be shown as week, day, month from right to left is shown as week, month, day from right to left.
See attachment:date_in_calendar.png

[2.Testing Steps]: 
Prerequisite: Set system language as Arabic.
1. Go to Calendar app.
2. Observe the Calendar month view display.

[3.Expected Result]: 
2. The date should be right-aligned with any Arabic labels reading right to left, and it should successively be shown as week, day, month from right to left.

[4.Actual Result]: 
2. The date shown as week, month, day from right to left.

[5.Reproduction build]: 
Flame 2.2 build:
Build ID               20150310002536
Gaia Revision          166491b92278dc9e648f8d49ab02d9ca00d74421
Gaia Date              2015-03-06 18:26:27
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/1cda026f8996
Gecko Version          37.0
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150310.042346
Firmware Date          Tue Mar 10 04:23:56 EDT 2015
Bootloader             L1TC000118D0

Flame 3.0 build:
Build ID               20150310160234
Gaia Revision          943c8b4039f59b08ba100390e164a076a20c892e
Gaia Date              2015-03-10 20:35:07
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/a9aff724afc7
Gecko Version          39.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150310.192051
Firmware Date          Tue Mar 10 19:21:00 EDT 2015
Bootloader             L1TC000118D0

[6.Reproduction Frequency]: 
Always Recurrence,5/5

[7.TCID]: 
15238

[8.Note]:
When check details view of event, the order of the date displayed as year-> day -> month -> weekday from left to right, and it should be displayed as  year-> month -> day -> weekday from left to right.
QA Whiteboard: [rtl-impact]
the event details uses `longDateFormat`[1] and the month view uses the `months-day-view-header-format`[2]. need to ask someone from the l10n team to update it.

 [1] http://transvision.mozfr.org/?recherche=longDateFormat&repo=gaia&sourcelocale=en-US&locale=ar&search_type=strings_entities (this string exists in many apps, not only calendar, might be wrong in multiple places)
 [2] http://transvision.mozfr.org/?sourcelocale=en-US&locale=ar&repo=gaia&search_type=entities&recherche=apps/calendar/calendar.properties:months-day-view-header-format
Rami can you please look into this when you get the chance? You can find location of strings above. THanks!
Component: Gaia::Calendar → ar / Arabic
Flags: needinfo?(rami223)
Product: Firefox OS → Mozilla Localizations
No longer blocks: calendar-rtl
I fixed the strings to show %A, %d %B, %Y and %A, %e %B
Flags: needinfo?(rami223)
I confirm this looks good on 2.2 now :) Thanks Rami!
Sue can you please just confirm on 3.0? thanks!
Flags: needinfo?(lulu.tian)
Hi Delphine,
Could you help with it? Thanks!
I have verified it on Flame 3.0, the date shown as mouth, day, week from right to left and the language shown as English.
See attachment:date_in_calendar_v3.0.png

Flame 3.0 build:
Build ID               20150316160204
Gaia Revision          4868c56c0a3b7a1e51d55b24457e44a7709ea1ae
Gaia Date              2015-03-14 18:50:17
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/436686833af0
Gecko Version          39.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150316.193248
Firmware Date          Mon Mar 16 19:32:58 EDT 2015
Bootloader             L1TC000118D0
Flags: needinfo?(lulu.tian) → needinfo?(lebedel.delphine)
QA Whiteboard: [rtl-impact] → [rtl-impact][MGSEI-Triage+]
seems like we're facing some l10n issues on 3.0 - or this might just be due to the fact that we're not localizing 3.0 yet.
In any case, since this bug a localization issue and we're  currently working off 2.2, let's leave the flags as are and deal with 3.0 once 3.0 localization starts - if it's still an issue then. thanks!
Flags: needinfo?(lebedel.delphine)
Attached image verify_pass.png
This issue has been verified passed on latest build of Flame 2.2/3.0 and Nexus 5 2.2/3.0 with the same steps in comment 0.
See attachment:verify_pass.png
Rate:0/5

Device: Flame 2.2 (pass)
Build ID               20150428002500
Gaia Revision          9f6b1b9082662ba2c14168fc66bb02b4df3141e5
Gaia Date              2015-04-27 20:41:33
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/e79c19bf19bf
Gecko Version          37.0
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150428.042318
Firmware Date          Tue Apr 28 04:23:30 EDT 2015
Bootloader             L1TC000118D0

Device: Flame 3.0 (pass)
Build ID               20150428010206
Gaia Revision          0636405f0844bf32451a375b2d61a2b16fe33348
Gaia Date              2015-04-27 16:42:28
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/caf25344f73e
Gecko Version          40.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150428.043926
Firmware Date          Tue Apr 28 04:39:37 EDT 2015
Bootloader             L1TC000118D0

Device: Nexus 5 2.2 (pass)
Build ID               20150428002500
Gaia Revision          9f6b1b9082662ba2c14168fc66bb02b4df3141e5
Gaia Date              2015-04-27 20:41:33
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/e79c19bf19bf
Gecko Version          37.0
Device Name            hammerhead
Firmware(Release)      5.1
Firmware(Incremental)  eng.cltbld.20150428.041949
Firmware Date          Tue Apr 28 04:20:07 EDT 2015
Bootloader             HHZ12f

Device: Nexus 5 3.0 (pass)
Build ID               20150428010206
Gaia Revision          0636405f0844bf32451a375b2d61a2b16fe33348
Gaia Date              2015-04-27 16:42:28
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/caf25344f73e
Gecko Version          40.0a1
Device Name            hammerhead
Firmware(Release)      5.1
Firmware(Incremental)  eng.cltbld.20150428.043749
Firmware Date          Tue Apr 28 04:38:06 EDT 2015
Bootloader             HHZ12f
Status: NEW → RESOLVED
Closed: 9 years ago
QA Whiteboard: [rtl-impact][MGSEI-Triage+] → [rtl-impact][MGSEI-Triage+][MGSEI-Triage+]
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: