In the user management module (and in other modules I presume), some labels are displayed on two lines instead of one.
For example, "permission" translates into "droit d'accès" in French and this text is displayed on two lines and is unreadable (see screenshot).

I have found a fix : I added the line

white-space: nowrap;

in the label.option class definition in system/system.css.

Frederic

Comments

stevenpatz’s picture

Version: 5.0 » 6.x-dev
Status: Active » Needs review
StatusFileSize
new483 bytes

A patch to fix this.

catch’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new468 bytes

still applies with offset. I just took windows line breaks out of the patch. Didn't actually test it since I don't have translation set up, but it seems sensible enough and shouldn't affect anything negatively (and that screenshot is nasty), so RTBCing.

gábor hojtsy’s picture

Status: Reviewed & tested by the community » Fixed

Thanks, committed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

hass’s picture

Status: Closed (fixed) » Needs work

This patch should be rolled back... see http://drupal.org/node/194594 about the issue.

gábor hojtsy’s picture

Status: Needs work » Fixed

Indeed, it was a very silly decision on my part to commit this patch as is. It has quite far reaching implications, which I did not count on. Sorry guys. Rolled back in Drupal 6!

However, I can suggest shipping your translation with a supporting module which can add CSS fixes to Drupal, where your translation requires. The Hungarian translation for example ships as a custom install profile and fixes some stuff (eg. missing date format for Hungarians) this way. CSS issues can be solved just as well this way, unless generic CSS fixes are found. This one was too general, breaking more then fixing, so I needed to roll it back.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.