From 47dc15c9f6b5592fede970f1f27445f6435f4d0b Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Wed, 17 Feb 2016 22:48:16 +0100 Subject: [PATCH] Describe that we don't allow empty fullnames. --- actions/profilesettings.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/actions/profilesettings.php b/actions/profilesettings.php index a20615b019..21de0579b7 100644 --- a/actions/profilesettings.php +++ b/actions/profilesettings.php @@ -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.