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)
Tracking
(blocking-b2g:leo+, b2g18 fixed)
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)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → anthony
Assignee | ||
Comment 2•11 years ago
|
||
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?
Comment 3•11 years ago
|
||
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)
Comment 5•11 years ago
|
||
Please refer to bug 881111.
The pt-BR.properties file under shared/locales/date might be not updated.
Comment 6•11 years ago
|
||
Adding in cc people from l10n team to know the status and if they can help.
Comment 7•11 years ago
|
||
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
Comment 8•11 years ago
|
||
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.
Comment 9•11 years ago
|
||
Fernando, can you help to answer the question in comment #8? Thank you!
Flags: needinfo?(fernandopsilveira)
Reporter | ||
Comment 10•11 years ago
|
||
Reporter | ||
Comment 11•11 years ago
|
||
Reporter | ||
Comment 12•11 years ago
|
||
Comment 13•11 years ago
|
||
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
Assignee | ||
Comment 14•11 years ago
|
||
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
Comment 15•11 years ago
|
||
Reassigning to Ayman from the general FFOS-UX identity since SMS is his domain.
Flags: needinfo?(firefoxos-ux-bugzilla) → needinfo?(aymanmaat)
Assignee | ||
Comment 16•11 years ago
|
||
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 17•11 years ago
|
||
Extend the length of timestamp string.
Attachment #768175 -
Flags: review?
Assignee | ||
Comment 18•11 years ago
|
||
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 19•11 years ago
|
||
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)
Comment 20•11 years ago
|
||
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)
Updated•11 years ago
|
Attachment #768175 -
Flags: review?(anthony) → review?(schung)
Comment 21•11 years ago
|
||
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)
Comment 23•11 years ago
|
||
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)
Updated•11 years ago
|
Assignee: anthony → gduan
Comment 24•11 years ago
|
||
Comment on attachment 768175 [details]
Pointer to https://github.com/mozilla-b2g/gaia/pull/10657
css only change, r=me.
Attachment #768175 -
Flags: review?(alive) → review+
Assignee | ||
Comment 25•11 years ago
|
||
This is a screenshot with attachment 768175 [details] applied.
Assignee | ||
Comment 26•11 years ago
|
||
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+
Assignee | ||
Comment 27•11 years ago
|
||
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.
Assignee | ||
Comment 28•11 years ago
|
||
Pointer to Github pull-request
Assignee | ||
Updated•11 years ago
|
Attachment #768786 -
Flags: review?(alive)
Updated•11 years ago
|
Attachment #768786 -
Flags: review?(alive) → review+
Comment 29•11 years ago
|
||
attachment 768784 [details] looks good to me
Comment 30•11 years ago
|
||
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.)
Assignee | ||
Comment 32•11 years ago
|
||
Merged in master with f05656aefc7c942e0b5dfce6de175c2e1b7742cf.
Assignee: gduan → anthony
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 33•11 years ago
|
||
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)
Assignee | ||
Comment 34•11 years ago
|
||
Landed in v1-train with 0417587583a19dc52e24350052f4ce1195f0241c.
status-b2g18:
--- → fixed
Flags: needinfo?(anthony)
You need to log in
before you can comment on or make changes to this bug.
Description
•