You can change this at several levels:
Translations:
In settings.php you already see some examples: just add:
$conf ['locale_custom_strings_en'] [''] = ( 'Username' = > 'Nickname', 'username' = > 'nickname',
);
, , , " ". UX , , , , , , . .
, , " " "" ! . , .
:
template.php , . .
. :
- Drupal,
hook_theme. - . HTML-, .
:
hook_form_alter, .
template.php:
function your_template_form_user_register_form_alter(&$form, &$form_state, $form_id) {
$form['account']['name']['#title'] = t('Nickname');
}
, - ( ), form_alter :
function your_modulename_form_user_register_form_alter(&$form, &$form_state, $form_id) {
if (_your_module_is_person_from_irc()) {
$form['account']['name']['#title'] = t('Nickname');
}
}