Page MenuHomePhabricator

VisualEditor: Resize text in Option menu or put it on two lines if too long
Closed, ResolvedPublic

Description

In French, the option to switch to wikitext is called "Basculer vers la modification du code". In Italian, it's "Passa alla modifica sorgente".
In both languages the text is so long you need to slide to the right to see all of it. Is there a better way to display it?


Version: unspecified
Severity: minor

Details

Reference
bz61149

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:56 AM
bzimport set Reference to bz61149.

Could we improve the translations to be briefer?

I asked on fr.wp. On the Italian one, this is still the case with Monobook, but Vector displays the message just fine...

I spent a while looking into this. I gave up but here is what I found anyway

First of all I tried to make it expand outwards instead of squashing against the side, and couldn't get that to work.

Then I tried making the text wrap instead, found I could set the white-space CSS property on the tool title which kind of did the job, but it was not working well enough (last word of a wrapped line would overflow). I found word-break: break-word; but that only made things look worse.

Merging into bug 57366.

  • This bug has been marked as a duplicate of bug 57366 ***