Changeset 671 for trunk/app

Show
Ignore:
Timestamp:
07/23/08 01:21:43 (3 months ago)
Author:
aarkerio
Message:

Update forums and tests

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/controllers/users_controller.php

    r670 r671  
    351351            //Send the confirmation email 
    352352       if ( $this->_sendNewUserPwd($this->data['User']['email'], $this->data['Confirm']['secret']) ): 
    353               $msg  = "<h2>You have been registered!</h2> <p>A confirmation email has been sent to: ".$this->data['User']['email']; 
     353              $msg  = '<h2>'. __('You have been registered', true) . '!</h2>'; 
     354              $msg .= '<p>'.__('A confirmation email has been sent to', true) .': '.$this->data['User']['email']; 
    354355          $msg .= " In order to complete the registration process, please click on the link contained on the email.</p>"; 
    355356              $this->set('message', array('Sucess'=>$msg));  
     
    393394 
    394395      if ($this->User->save($this->data['User'])): 
    395             $this->msgFlash('User has been updated.','/users/edit/'); 
     396            $this->msgFlash( __('Profile updated', true), '/users/edit/'); 
    396397      endif; 
    397398