Closed Bug 883829 Opened 11 years ago Closed 11 years ago

When the handset receives a notification in Portuguese, the relative time is cut

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

ARM
Gonk (Firefox OS)
defect
Not set
minor

Tracking

(blocking-b2g:leo+, b2g18 fixed)

RESOLVED FIXED
1.1 QE3 (26jun)
blocking-b2g leo+
Tracking Status
b2g18 --- fixed

People

(Reporter: leo.bugzilla.gaia, Assigned: rik)

References

Details

(Keywords: l12y, Whiteboard: [TD-44999])

Attachments

(7 files, 1 obsolete file)

1. Title: when the handset receives a notification, the notification is not displayed correctly. 2. Precondition: Settings -> Language -> Select Portugues 3. Tester's Action:(1)On idle screen receive a SMS and check the Notifications Panel. (2)In Sleep Mode receive a SMS and Check the popup. 4. Detailed Symptom (ENG.) : In both cases when the handset receives a notification, the notification is not displayed correctly 5. Expected: In both cases the notifications should displayed normally. 6. Reproducibility: Y 1) Frequency Rate : 100% 7. Gaia Master/v1-train: Reproduced on v1-train and master 8. Gaia Revision: 1aed138dfef6279a00475f51ce0c491f32799ab6 9. Personal email id: sasikala.paruchuri8@gmail.com
blocking-b2g: --- → leo+
Whiteboard: [TD-44999]
Target Milestone: --- → 1.1 QE3 (24jun)
Attached file SMS Screenshots attached. (obsolete) —
Assignee: nobody → anthony
Blocks: 883821
I can't reproduce this on v1-train or master. This looks like a locale properties file issue, maybe the build you're using has old pt-BR strings?
Could you kindly help us check two things ? 1. same issue with other language ? Chineses or france 2. please check date.(pt-BR ?).properties file under shared/locales/date folder , see if it's latest one as below source http://hg.mozilla.org/gaia-l10n/
Flags: needinfo?(sasikala.paruchuri8)
In the latest version of leo, its not showing as "{[ plural". Its showing the localized value. But now the issue is in english its showing "just now" properly, but for portugese language "há pouco" is not shown completely but ellipsized. Also for minute representation english show "1m ago" but for portugese its showing "1min atrás" again ellipsized. can we have a shorter string in this case?
Flags: needinfo?(sasikala.paruchuri8) → needinfo?(anthony)
Please refer to bug 881111. The pt-BR.properties file under shared/locales/date might be not updated.
Adding in cc people from l10n team to know the status and if they can help.
Comment on attachment 763515 [details] SMS Screenshots attached. Marking the screenshots as obsolete based on the comments that this particular artifact can't be reproduced. It'd be helpful to get a screenshot of the current behavior. Even more helpful if it's not a zip, so that one can directly look at it in bugzilla.
Attachment #763515 - Attachment is obsolete: true
CCing Fernando, too. It might very well be that we'll need a code change in gaia to allow for more visual room than just the counted pixels of "Just now", though.
Fernando, can you help to answer the question in comment #8? Thank you!
Flags: needinfo?(fernandopsilveira)
Attached image Screenshots attached
Attached image Screenshots attached
Attached image Screenshots attached
Thanks for the screenshots. This should be fixed on the code side, we're replacing two characters 'co' with an ellipsis. The layout should allow for some additional space compared to en-US. This problem should reproduce on at least Spanish, Polish, and German.
Flags: needinfo?(fernandopsilveira)
Keywords: l12y
I'm not sure how to fix this. If we add more space for the relative date, we'll have to reduce the part dedicated to the title of the notification, which I believe is more important than the relative date. Maybe we could use a smaller font for this part of the notification? Requesting UX input.
Flags: needinfo?(anthony) → needinfo?(firefoxos-ux-bugzilla)
Summary: [SMS] when the handset receives a notification in Portuguese, the notification is not displayed correctly. → [SMS] when the handset receives a notification in Portuguese, the relative time is cut
Reassigning to Ayman from the general FFOS-UX identity since SMS is his domain.
Flags: needinfo?(firefoxos-ux-bugzilla) → needinfo?(aymanmaat)
It is actually not SMS specific, it affects all notifications both on the lockscreen and in the notification tray. Changing the title and the component to reflect that.
Component: Gaia::SMS → Gaia::System
Summary: [SMS] when the handset receives a notification in Portuguese, the relative time is cut → When the handset receives a notification in Portuguese, the relative time is cut
Comment on attachment 768175 [details] Pointer to https://github.com/mozilla-b2g/gaia/pull/10657 With this patch the notification title and the time will overlap when the title is long.
Attachment #768175 - Flags: review? → review-
Comment on attachment 768175 [details] Pointer to https://github.com/mozilla-b2g/gaia/pull/10657 Updated again, please check.
Attachment #768175 - Flags: review- → review?(anthony)
passing back to firefoxos-ux-bugzilla@mozilla.com as this is a notifications issue and therefore part of the system so outside my domain.
Flags: needinfo?(aymanmaat) → needinfo?(firefoxos-ux-bugzilla)
Attachment #768175 - Flags: review?(anthony) → review?(schung)
sorry, I'm late... I guess Leo's screenshots on comment #10, comment #11 and comment #12 answer the comment #8 question
Flags: needinfo?(firefoxos-ux-bugzilla)
Rob - can you comment on the solution?
Flags: needinfo?(rmacdonald)
Comment on attachment 768175 [details] Pointer to https://github.com/mozilla-b2g/gaia/pull/10657 Reassign the reviewer to system app peer who has the authority to review the changes in system notification. But I sill left some comments on github(https://github.com/mozilla-b2g/gaia/pull/10657#issuecomment-20168524).
Attachment #768175 - Flags: review?(schung) → review?(alive)
Assignee: anthony → gduan
Attachment #768175 - Flags: review?(alive) → review+
This is a screenshot with attachment 768175 [details] applied.
Comment on attachment 768175 [details] Pointer to https://github.com/mozilla-b2g/gaia/pull/10657 Based on attachment 768783 [details], I think we should not land this fix.
Attachment #768175 - Flags: review+
Here is a screenshot with the font-size and font-weight changed. I think this is still readable. We could maybe tweak the vertical alignment a bit too.
Attachment #768786 - Flags: review?(alive)
Attachment #768786 - Flags: review?(alive) → review+
Comment on attachment 768786 [details] Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/10686 I am unable to view the patch, but, assuming this is the same as attachment https://bug883829.bugzilla.mozilla.org/attachment.cgi?id=768784, then we're fine with the solution. (I'm also assuming that the space to the left of the notification is reserved for an icon.)
Clearing needsinfo based on comment above.
Flags: needinfo?(rmacdonald)
Merged in master with f05656aefc7c942e0b5dfce6de175c2e1b7742cf.
Assignee: gduan → anthony
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
I was not able to uplift this bug to v1-train. If this bug has dependencies which are not marked in this bug, please comment on this bug. If this bug depends on patches that aren't approved for v1-train, we need to re-evaluate the approval. Otherwise, if this is just a merge conflict, you might be able to resolve it with: git checkout v1-train git cherry-pick -x -m1 f05656aefc7c942e0b5dfce6de175c2e1b7742cf <RESOLVE MERGE CONFLICTS> git commit
Flags: needinfo?(anthony)
Landed in v1-train with 0417587583a19dc52e24350052f4ce1195f0241c.
Flags: needinfo?(anthony)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: