Giving the l10n_client div the class "hidden" when it is not actually hidden but minimized is bad naming. This has lots of potential conflicts with other CSS, where hidden actually means hidden, i.e. "display:none" and/or "visibility:hidden". I recommend renaming this to "minimized" or something similar.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

afox’s picture

+1 !

Tested working on the Feb 25th 6.x-2.x-dev

tsi’s picture

Version: 6.x-2.0 » 7.x-1.0
Priority: Minor » Major

+2
HTML5 Boilerplate and many other css frameworks (including my 965 theme) use "hidden" to actually hide elements.
This makes this module unusable with any of these frameworks, so I believe this is major.

Jacine’s picture

Just lost a couple of hours trying to figure this out as well. Can you please prefix the class name with the module name? I think .minimized is also too general.

Volx’s picture

No problem, here it is with "l10-client-" prefix :)

tsi’s picture

Status: Needs review » Reviewed & tested by the community

Tested against 7.x-1.1, solves the problem.
This should get committed.

Jody Lynn’s picture

FileSize
2.34 KB

Reroll.

Yes, I found this issue because my theme hid the translation link and I had to debug it.

gagarine’s picture

Version: 7.x-1.0 » 7.x-1.x-dev
Status: Reviewed & tested by the community » Needs work

Patch #6 add l10n-client-minimized but do not clean all hidden class..

EDIT I didn't say anythings.. I test it not on right branch.

gagarine’s picture

Status: Needs work » Reviewed & tested by the community
SebCorbin’s picture

Status: Reviewed & tested by the community » Fixed

Committed, thanks !

Gábor Hojtsy’s picture

Does this apply to Drupal 6? For backport :)

SebCorbin’s picture

Status: Fixed » Closed (fixed)

Yup, backported !