Issue #827468 by paulmartin84, latikas, aburrows, alimac, fatfish, rocket_nova, Truptti, pektinasen, DuaelFr, YesCT, ifrik, John Cook, danylevskyi, dcam, anil.gangwal, gajendra sharma, danharper, mgriego, realityloop, bleen18, alvar0hurtad0, dddave, droplet, susanb, nlisgo, webchick, meeli: Fix the allowed punctuation wording in user_edit_form

8.0.x
webchick 2015-10-05 10:30:45 -07:00
parent cc51b6ef5a
commit f49a8a48d2
2 changed files with 2 additions and 2 deletions

View File

@ -174,7 +174,7 @@ class SiteConfigureForm extends ConfigFormBase {
'#type' => 'textfield',
'#title' => $this->t('Username'),
'#maxlength' => USERNAME_MAX_LENGTH,
'#description' => $this->t('Spaces are allowed; punctuation is not allowed except for periods, hyphens, and underscores.'),
'#description' => $this->t("Several special characters are allowed, including space, period (.), hyphen (-), apostrophe ('), underscore (_), and the @ sign."),
'#required' => TRUE,
'#attributes' => array('class' => array('username')),
);

View File

@ -104,7 +104,7 @@ abstract class AccountForm extends ContentEntityForm {
'#type' => 'textfield',
'#title' => $this->t('Username'),
'#maxlength' => USERNAME_MAX_LENGTH,
'#description' => $this->t('Spaces are allowed; punctuation is not allowed except for periods, hyphens, apostrophes, and underscores.'),
'#description' => $this->t("Several special characters are allowed, including space, period (.), hyphen (-), apostrophe ('), underscore (_), and the @ sign."),
'#required' => TRUE,
'#attributes' => array(
'class' => array('username'),