Created
November 28, 2018 07:54
-
-
Save junaidpv/fb371ed195a9ffcf711486644a2c5bc1 to your computer and use it in GitHub Desktop.
Show special characters in site's name in user login form.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/modules/user/user.module b/modules/user/user.module | |
| index 2309aa9296..cb505bae69 100644 | |
| --- a/modules/user/user.module | |
| +++ b/modules/user/user.module | |
| @@ -2116,7 +2116,7 @@ function user_login($form, &$form_state) { | |
| '#required' => TRUE, | |
| ); | |
| - $form['name']['#description'] = t('Enter your @s username.', array('@s' => variable_get('site_name', 'Drupal'))); | |
| + $form['name']['#description'] = t('Enter your !s username.', array('!s' => variable_get('site_name', 'Drupal'))); | |
| $form['pass'] = array('#type' => 'password', | |
| '#title' => t('Password'), | |
| '#description' => t('Enter the password that accompanies your username.'), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment