Describe that we don't allow empty fullnames.

This commit is contained in:
Mikael Nordfeldth 2016-02-17 22:48:16 +01:00
parent d6bf90cfb7
commit 47dc15c9f6
1 changed files with 4 additions and 1 deletions

View File

@ -110,7 +110,10 @@ class ProfilesettingsAction extends SettingsAction
$this->elementStart('li');
// TRANS: Field label in form for profile settings.
$this->input('fullname', _('Full name'),
$this->trimmed('fullname') ?: $this->scoped->getFullname());
$this->trimmed('fullname') ?: $this->scoped->getFullname(),
// TRANS: Instructions for full name text field on profile settings
_('A full name is required, if empty it will be set to your nickname.'),
null, true);
$this->elementEnd('li');
$this->elementStart('li');
// TRANS: Field label in form for profile settings.