Closed Bug 1102491 Opened 10 years ago Closed 10 years ago

SIM picker default parenthesis are misplaced

Categories

(Firefox OS Graveyard :: Gaia, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1082541

People

(Reporter: drs, Unassigned)

References

Details

(Keywords: verifyme)

Attachments

(1 file)

Attached image Screenshot
The "(default)" indicator on the SIM picker is misplaced in RTL mode.
Ahmed, as you can see from the screenshot, there are other issues as well. It's not clear to me whether or not these problems are within the scope of bug 1082541. Should I file bugs for the other problems as well?
Flags: needinfo?(nefzaoui.ahmed)
The only bug here is the text alignment, the parenthesis being messed up like that is just a matter of lack of localization. As soon as these string are localized to Arabic it will show up correctly.
But can you please try inspecting the app and changing that string with
الشريحة 1 (الإفتراضية)
So w can see if the problem persists? :)
Flags: needinfo?(nefzaoui.ahmed) → needinfo?(drs.bugzilla)
This is actually not just one string. The "SIM x" part is one string, and the "(default)" part is another, with some padding to separate them. The "(default)" part is selectively set to `display: none` or `display: initial` depending on whether or not we have a default SIM.

Since each of them are spans, I think that this might still work. Could you advise how I should insert the strings into each of these spans?
Flags: needinfo?(drs.bugzilla) → needinfo?(nefzaoui.ahmed)
So SIM x should be
الشريحة 1
I'm using 1 instead of x because the character x might make the string a little messy then :)

And (default) should be
(الإفتراضية)
Flags: needinfo?(nefzaoui.ahmed)
Thanks, that looks correct, but the whole string is left-aligned still. I assume that'll be fixed when bug 1082541 and its dependencies are resolved?
Flags: needinfo?(nefzaoui.ahmed)
If they're within a gaia-element then yes.. Even though I'm kind of lost why those gaia-elements are being used now since AFAIK the only gaia-element scheduled for 2.2 is gaia-header..
Flags: needinfo?(nefzaoui.ahmed)
(In reply to Ahmed Nefzaoui [:Nefzaoui] (Please needinfo? | Away from 30 OCT to 18 NOV) from comment #6)
> If they're within a gaia-element then yes.. Even though I'm kind of lost why
> those gaia-elements are being used now since AFAIK the only gaia-element
> scheduled for 2.2 is gaia-header..

We implemented a shared component SIM picker in bug 1037868 and bug 1045820. It was something that we had time to do, so we got to it even though it wasn't on the schedule.

To QA, please verify that this is fixed once bug 1082541 is resolved.
Status: NEW → RESOLVED
Closed: 10 years ago
Keywords: verifyme
Resolution: --- → DUPLICATE
Mass Edit: adding the [rtl-meta]
Whiteboard: [rtl-meta]
QA Whiteboard: [rtl-impact]
Whiteboard: [rtl-meta]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: