Needs review
Project:
Localization client
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
13 Sep 2011 at 13:21 UTC
Updated:
2 Dec 2015 at 22:46 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
gábor hojtsyWow, yeah. I've just been pushing for #967566: Several important Core User settings need to implement hook_field_extra_fields() a lot, so it only makes sense to do the same thing in my backyard :) Great suggestion. Will look into adding this in soon, thanks for the patch!
Comment #2
SebCorbin commentedComment #4
ben.kyriakou commentedThere appears to be a bug in this implementation - the key used in the hook should be
l10n_client, notl10nclient(seel10n_client_form_user_profile_form_alter()). Unfortunately the fix isn't as simple as changing the key, since the field element in the account interface has the idl10n-client, which is also used for the translation interface implemented inl10n_client_page_alter(). The styling for this breaks the element in the account interface.If I have time I'll try and roll a working patch for this - the most straightforward fix seems to be changing the id used by the translation interface so they don't collide.
Comment #5
PascalAnimateur commentedEffectively, only changing the key doesn't solve the issue... my patch is useless!
Comment #6
PascalAnimateur commentedThis is better.. I think this new patch works!
Comment #8
SebCorbin commented