diff --git a/l10n_client.module b/l10n_client.module index 71811e2..a5ea8f6 100644 --- a/l10n_client.module +++ b/l10n_client.module @@ -668,3 +668,15 @@ function l10n_client_submit_translation($langcode, $source, $translation, $user_ return array(FALSE, $message); } } + +/** + * Implements hook_field_extra_fields(). + */ +function l10n_client_field_extra_fields() { + $extra['user']['user']['form']['l10nclient'] = array( + 'label' => 'Localization client', + 'description' => t('On-page localization form element.'), + 'weight' => 10, + ); + return $extra; +}