]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Describe that we don't allow empty fullnames.
authorMikael Nordfeldth <mmn@hethane.se>
Wed, 17 Feb 2016 21:48:16 +0000 (22:48 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Wed, 17 Feb 2016 21:48:32 +0000 (22:48 +0100)
actions/profilesettings.php

index a20615b019480fd4c64b9dce681b24aa3f71a711..21de0579b7b1af9f0a7757284f2cde488863113a 100644 (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.