Show
Ignore:
Timestamp:
07/02/08 18:44:15 (5 months ago)
Author:
aarkerio
Message:

In spanish please

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/views/helpers/gags.php

    r455 r620  
    1414   public function confirmDel($id, $model)  
    1515   { 
     16     $msg   = __('Are you sure to want to delete this?', true);    
     17     $strB  = $this->Form->create($model, array('action'=>'/admin_delete/'.$id, "onsubmit"=>"return confirm('".$msg."')")); 
     18     $strB .= $this->Form->end(__('Delete', true)); 
    1619         
    17         $strB  = $this->Form->create($model, array('action'=>'/admin_delete/'.$id, "onsubmit"=>"return confirm('Are you sure to delete?')")); 
    18         $strB .= $this->Form->end('Delete'); 
    19          
    20         return $strB; 
     20     return $strB; 
    2121   } 
    2222    
     
    2525         
    2626        $strB  = $this->Form->create($model, array('action'=>'admin_edit/'.$id)); 
    27         $strB .= $this->Form->end('Edit'); 
     27        $strB .= $this->Form->end(__('Edit', true)); 
    2828         
    2929        return $strB; 
     
    3333   { 
    3434            
    35            $status = ( $s == 1 ) ? 'Published' : 'Draft'; 
     35           $status = ( $s == 1 ) ? __('Published', true) : __('Draft', true); 
    3636            
    3737           return $status;