Ignore:
Timestamp:
03/05/08 08:46:58 (16 years ago)
Author:
niltonneto
Message:

Ticket #147: Revisão da internacionalização
Ticket #152: Melhoria no Fora de Escritório
Implementação da funcao write_msg com a opção de não apagar aviso.
Implementação da funcao clean_msg para limpar aviso.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/inc/class.imap_functions.inc.php

    r178 r197  
    204204                        if (gmdate("H",$timestamp_diff) > 0) 
    205205                        { 
    206                                 $return['fulldate'] .= " (" . gmdate("H:i", $timestamp_diff) . " atrás)"; 
     206                                $return['fulldate'] .= " (" . gmdate("H:i", $timestamp_diff) . ' ' . $this->functions->getLang('hours ago') . ')'; 
    207207                        } 
    208208                        else 
    209209                        { 
    210210                                if (gmdate("i",$timestamp_diff) == 0){ 
    211                                         $return['fulldate'] .= " (agora)"; 
     211                                        $return['fulldate'] .= ' ('. $this->functions->getLang('now').')'; 
    212212                                } 
    213213                                elseif (gmdate("i",$timestamp_diff) == 1){ 
    214                                         $return['fulldate'] .= " (1 minuto atrás)"; 
     214                                        $return['fulldate'] .= ' (1 '. $this->functions->getLang('minute ago').')'; 
    215215                                } 
    216216                                else{ 
    217                                         $return['fulldate'] .= " (" . gmdate("i",$timestamp_diff) . " minutos atrás)"; 
     217                                        $return['fulldate'] .= " (" . gmdate("i",$timestamp_diff) .' '. $this->functions->getLang('minutes ago') . ')'; 
    218218                                } 
    219219                        } 
Note: See TracChangeset for help on using the changeset viewer.