Download & Extend

Unwanted word wrap with some translations (system.css)

Project:Drupal core
Version:6.x-dev
Component:other
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

AttachmentSizeStatusTest resultOperations
UserAdmin.gif25.63 KBIgnored: Check issue status.NoneNone

Comments

#1

Version:5.0» 6.x-dev
Status:active» needs review

A patch to fix this.

AttachmentSizeStatusTest resultOperations
system_nowrap_fix_css.patch483 bytesIgnored: Check issue status.NoneNone

#2

Status:needs review» reviewed & tested by the community

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.

AttachmentSizeStatusTest resultOperations
system_nowrap_fix_css_0.patch468 bytesIgnored: Check issue status.NoneNone

#3

Status:reviewed & tested by the community» fixed

Thanks, committed.

#4

Status:fixed» closed (fixed)

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

#5

Status:closed (fixed)» needs work

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

#6

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.

#7

Status:fixed» closed (fixed)

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