Don't translate empty strings in the login form

refs #5543
This commit is contained in:
Eric Lippmann 2015-10-01 02:53:04 +02:00
parent 9a072a8fd4
commit 90b64d4cc3
1 changed files with 0 additions and 2 deletions

View File

@ -41,7 +41,6 @@ class LoginForm extends Form
array( array(
'required' => true, 'required' => true,
'label' => $this->translate('Username'), 'label' => $this->translate('Username'),
'placeholder' => $this->translate(''),
'class' => false === isset($formData['username']) ? 'autofocus' : '' 'class' => false === isset($formData['username']) ? 'autofocus' : ''
) )
); );
@ -51,7 +50,6 @@ class LoginForm extends Form
array( array(
'required' => true, 'required' => true,
'label' => $this->translate('Password'), 'label' => $this->translate('Password'),
'placeholder' => $this->translate(''),
'class' => isset($formData['username']) ? 'autofocus' : '' 'class' => isset($formData['username']) ? 'autofocus' : ''
) )
); );