Page MenuHomePhabricator

Option labels on the mobile preferences page can be too long
Closed, DeclinedPublic

Description

a screenshot with the problem

The option labels near the toggle buttons on the mobile preferences page can be too long in translations, and in English, too. When this happens their end is clipped behind the toggle button. (When I say "toggle button", I refer to <div class="mw-mf-checkbox-css3">.)

For example, this happens on my phone (Sony Xperia Neo) with the message mobile-frontend-expand-sections-status in Hebrew. The last option is clipped.

It should probably be wrapped.


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=65079

Attached:

screenshot_2014-02-09_2105.png (854×480 px, 65 KB)

Details

Reference
bz61114

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:54 AM
bzimport set Reference to bz61114.
bzimport added a subscriber: Unknown Object (MLST).

bingle-admin wrote:

Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1683

My suggested fix would be to request shorter strings from translate wiki.

(In reply to Jared Zimmerman (WMF) from comment #2)

My suggested fix would be to request shorter strings from translate wiki.

This is something that we want to avoid at all costs. It's unfair, and it just doesn't work, because nobody can guarantee that the translator will notice the request.

Can't these labels be wrapped?

Any resolution on this from the mobile team? if not, please ping kenan to get it on their roadmap to address.

Mobile team: Could you please answer comment 3 / comment 4?

Mobile team: Could you please answer comment 3 / comment 4?

Adding Maryana, she should be able to reply.

Side note: It would be good to move this component into MediaWiki UI as part of this work.

Maryana is this something we can explore soon? Bug has been open for some time.

Is there any news to this bug? :)

This doesn't appear to be a problem anymore now we use mw-ui-checkbox

Created attachment 16570
Problem not present with mw-ui-checkbox

Attached:

Screen_Shot_2014-09-23_at_4.45.19_PM.png (560×318 px, 40 KB)