Changeset 6296 for sandbox


Ignore:
Timestamp:
05/24/12 16:42:19 (12 years ago)
Author:
marcieli
Message:

Ticket #2764 - Internacionalização, alinhamento botão ok e alerta de filtro duplicado

Location:
sandbox/2.4.1-1
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.4.1-1/expressoMail1_2/setup/phpgw_pt-br.lang

    r6292 r6296  
    882882removed expressoMail1_2 pt-br   removido 
    883883Want to block the user  expressoMail1_2 pt-br   Deseja bloquear o usuário 
    884 blocked expressoMail1_2 pt-br   bloqueado. 
     884blocked expressoMail1_2 pt-br   bloqueado.Alertar ao receber mensagens filtradas por remetente 
    885885Are you sure to delete the filter       expressoMail1_2 pt-br   Deseja realmente excluir o filtro 
    886886Exclusion Confirmation  expressoMail1_2 pt-br   Confirmação de exclusão 
     
    896896 will be removed. This action cannot be undone. Want to continue?       expressoMail1_2 pt-br    serão removidas. Essa ação não poderá ser desfeita. Deseja continuar? 
    897897Message size greateruler than allowed (Default rule)    expressoMail1_2 pt-br    Tamanho da mensagem excede o limite de tamanho configurado pelo administrador 
     898You have an archived message:   expressoMail1_2 pt-br   Você tem uma mensagem arquivada: 
     899You have %1 messages archived:  expressoMail1_2 pt-br   Você tem %1 mensagens arquivadas: 
     900Filter by sender        expressoMail1_2 pt-br   Filtro por Remetente 
     901Follow ups      expressoMail1_2 pt-br   Sinalizadas 
     902Done    expressoMail1_2 pt-br   Concluídas  
  • sandbox/2.4.1-1/prototype/modules/mail/css/followupflag.css

    r6280 r6296  
    255255.confirm-alarm { 
    256256        float:right; 
    257         margin: 5px; 
    258257} 
    259258.freeow .gray h2 { 
  • sandbox/2.4.1-1/prototype/modules/mail/js/followupflag.js

    r6285 r6296  
    461461 
    462462/** 
    463  * constrói as duas possíveis janela de alerta, utilizando o mesmo template 
     463 * constrói as três possíveis janelas de alerta, utilizando o mesmo template 
    464464 * para o parametro alert_type, espera-se vazio, followupflagAlarms ou filtersAlarms 
    465465 * vazio: quando serão carregadas todas as modais de alarmes 
     
    479479                                        plural:"You have %1 undone messages today:" 
    480480                                        }, 
    481                                         title: 'Concluídas', 
     481                                        title: get_lang('Done'), 
    482482                                        enable: ($.cookie("fadeCompleted") != (new Date).toString("dd/MM/yyyy")) 
    483483                                }, 
     
    488488                                                plural:'You have %1 follow ups due for today:' 
    489489                                        }, 
    490                                         title: 'Sinalizadas', 
     490                                        title: get_lang('Follow ups'), 
    491491                                        enable: ($.cookie("fadeAlarm") != (new Date).toString("dd/MM/yyyy")) 
    492492                                } 
     
    495495                // carregar modal de filtros 
    496496                case 'filtersAlarms': 
    497                         $('.listFilters').remove(); 
     497                        $('.filtersDeadline').remove(); 
    498498                        var toIterate = [ 
    499499                                { 
    500500                                        attrDeadline: 'filtersDeadline', 
    501501                                        caption: { 
    502                                                 singular:'Você tem uma mensagem arquivada:',  
    503                                                 plural:'Você tem %1 mensagens arquivadas:' 
     502                                                singular:'You have an archived message:',  
     503                                                plural:'You have %1 messages archived:' 
    504504                                        }, 
    505                                         title: 'Filtro por remetente', 
     505                                        title: get_lang('Filter by sender'), 
    506506                                        enable: ($.cookie("fadeFilterAlarm") != (new Date).toString("dd/MM/yyyy")) 
    507507                                } 
     
    515515                                        attrDeadline: 'filtersDeadline', 
    516516                                        caption: { 
    517                                                 singular:'Você tem uma mensagem arquivada:',  
    518                                                 plural:'Você tem %1 mensagens arquivadas:' 
     517                                                singular:'You have an archived message:',  
     518                                                plural:'You have %1 messages archived:' 
    519519                                        }, 
    520                                         title: 'Filtro por remetente', 
     520                                        title: get_lang('Filter by sender'), 
    521521                                        enable: ($.cookie("fadeFilterAlarm") != (new Date).toString("dd/MM/yyyy")) 
    522522                                }, 
     
    526526                                        plural:"You have %1 undone messages today:" 
    527527                                        }, 
    528                                         title: 'Concluídas', 
     528                                        title: get_lang('Done'), 
    529529                                        enable: ($.cookie("fadeCompleted") != (new Date).toString("dd/MM/yyyy")) 
    530530                                },                               
     
    535535                                                plural:'You have %1 follow ups due for today:' 
    536536                                        }, 
    537                                         title: 'Sinalizadas', 
     537                                        title: get_lang('Follow ups'), 
    538538                                        enable: ($.cookie("fadeAlarm") != (new Date).toString("dd/MM/yyyy")) 
    539539                                } 
     
    553553                                for(var i=0; i<alarmInRange.length; i++){ 
    554554                                        if(alarmInRange[i].isDone == 1){ 
    555                                         alarmInRange.splice(i,1); 
    556                                         i--; 
     555                                                alarmInRange.splice(i,1); 
     556                                                i--; 
    557557                                        } 
    558558                                } 
     
    610610                                 
    611611                if(alarmInRange.length > 0){ 
     612                        // monta o subtitulo da modal 
    612613                        var caption = (alarmInRange.length == 1) ? 
    613614                                get_lang(it.caption.singular): 
    614615                                get_lang(it.caption.plural, alarmInRange.length); 
    615                                  
     616                        // monta o array de dados a ser passado para o template  
    616617                        var data = { 
    617618                                alarmInRange : messages_alarm,  
    618619                                caption: caption,  
    619620                        }; 
     621                        // tipo de modal a ser exibida 
    620622                        var type_alarm = it.attrDeadline; 
     623                        //função chamada ao clicar no botão Ok da modal 
    621624                        var ok_function = function(event, type, type_cookie){ 
    622625                                if($(event.target).parents('.'+type).find('[name="stopAlert"]').is(':checked')){ 
Note: See TracChangeset for help on using the changeset viewer.