Development

#3487: sfGuardUser_i18n.patch

You must first sign up to be able to contribute.

Ticket #3487: sfGuardUser_i18n.patch

File sfGuardUser_i18n.patch, 0.7 kB (added by zsolt.takacs, 8 months ago)
  • modules/sfGuardUser/lib/BasesfGuardUserActions.class.php

    old new  
    2323    { 
    2424      if ($this->getRequestParameter('sf_guard_user[password]') == '') 
    2525      { 
    26         $this->getRequest()->setError('sf_guard_user{password}', 'Password is mandatory'); 
     26        $this->getRequest()->setError('sf_guard_user{password}', $this->getContext()->getI18N()->__('Password is mandatory')); 
    2727 
    2828        return false; 
    2929      }