Changeset 6531 for trunk


Ignore:
Timestamp:
06/18/12 11:29:12 (12 years ago)
Author:
gustavo
Message:

Ticket #2766 - Internacionalização de textos do menu de contexto dos rentangulos da nova mensagem

Location:
trunk/expressoMail1_2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/js/doiMenuData.js

    r6528 r6531  
    200200        autoHide:true, 
    201201        items: { 
    202                 "add" : {name:"Adicao Rapida", icon : "quick-add",callback: function(key, opt){ var fname = $(opt.$trigger).find("input").val().split('"')[1];ccQuickAddOne.showList(','+fname+', ,'+$.trim($(opt.$trigger).find("input").val()).match(reComplexEmail)[1]); }}, 
    203                 "remove" : {name:"Remover Destinatario", icon:"delete-box",callback: function(key, opt){ $(opt.$trigger).remove(); }}, 
     202                "add" : {name: get_lang("Quick Add"), icon : "quick-add",callback: function(key, opt){ var fname = $(opt.$trigger).find("input").val().split('"')[1];ccQuickAddOne.showList(','+fname+', ,'+$.trim($(opt.$trigger).find("input").val()).match(reComplexEmail)[1]); }}, 
     203                "remove" : {name:get_lang("Remove recipient"), icon:"delete-box",callback: function(key, opt){ $(opt.$trigger).remove(); }}, 
    204204                "sep1": "---------", 
    205                 "quick_search" : {name:"Busca Rapida de Mensagens", icon: "quick-search-contact",callback: function(key, opt){ search_emails($.trim($(opt.$trigger).find("input").val()).match(reComplexEmail)[1]); }}, 
    206                 "full_search" : {name:"Buscar Mensagens de ...", icon: "quick-search-contact",callback: function(key, opt){ search_emails("", $.trim($(opt.$trigger).find("input").val()).match(reComplexEmail)[1]);}}           
     205                "quick_search" : {name:get_lang("Quick search of messages"), icon: "quick-search-contact",callback: function(key, opt){ search_emails($.trim($(opt.$trigger).find("input").val()).match(reComplexEmail)[1]); }}, 
     206                "full_search" : {name:get_lang("Search messages of ..."), icon: "quick-search-contact",callback: function(key, opt){ search_emails("", $.trim($(opt.$trigger).find("input").val()).match(reComplexEmail)[1]);}}          
    207207        } 
    208208}); 
     
    310310        menuItensLabel["Email"] = {name: data[1].value, disabled: true};         
    311311        if(data[2].value){ 
    312                 menuItensLabel["TelefoneLabel"] = {name: "<b>Telefone</b>", disabled: true}; 
     312                menuItensLabel["TelefoneLabel"] = {name: "<b>"+get_lang("Telephone")+"</b>", disabled: true}; 
    313313                menuItensLabel["TelefoneValue"] = {name: data[2].value, disabled: true}; 
    314314        } 
     
    324324function loadGroupBox(data, element){ 
    325325        menuItensLabel = {}; 
    326         menuItensLabel["ContactGroupLabelAll"] = {name:"<b>Contatos do Grupo</b>", disabled: true}; 
     326        menuItensLabel["ContactGroupLabelAll"] = {name:"<b>"+get_lang("Group contacts")+"</b>", disabled: true}; 
    327327        menuItensLabel["sep1"] = "---------"; 
    328328        if(data.itens){ 
     
    335335                                aux++; 
    336336                                if(aux == 1) 
    337                                         menuItensLabel["MoreContactGroupValue"] = {name : "E mais "+aux+" contato...", disabled: true }; 
     337                                        menuItensLabel["MoreContactGroupValue"] = {name : get_lang("And more %1 contact", aux), disabled: true }; 
    338338                                else 
    339                                         menuItensLabel["MoreContactGroupValue"] = {name : "E mais "+aux+" contatos...", disabled: true }; 
     339                                        menuItensLabel["MoreContactGroupValue"] = {name : get_lang("And more %1 contact", aux)+"s", disabled: true }; 
    340340                        } 
    341341                } 
  • trunk/expressoMail1_2/js/draw_api.js

    r6528 r6531  
    38463846                                        box.find(".box-loading").remove(); 
    38473847                                else{ 
    3848                                         //box.find(".box-loading").css("background-image", "url(templates/default/images/information.png) no-repeat! !important"); 
    38493848                                        box.find(".box-loading").removeClass("box-loading").addClass("box-info"); 
    38503849                                        box.addClass("box-"+value).removeClass("invalid-email-box"); 
    38513850                                        loadGroupBox(data.collection, ".box-"+value); 
    38523851                                        box.unbind("dblclick").bind("dblclick", function(e){ 
    3853                                                 new $.Zebra_Dialog('<strong>Impossivel editar</strong> um contato do catálogo pessoal\n' + 
    3854                                                         '<strong>Porém</strong> é possivel remove-lo', { 
     3852                                                new $.Zebra_Dialog(get_lang("Impossible editing this contact, but it's possible to remove it"), { 
    38553853                                                        'buttons':  false, 
    38563854                                                        'modal': false, 
     
    38743872                                        box.find(".box-loading").remove(); 
    38753873                                else{ 
    3876                                         //box.find(".box-loading").css("background-image", "url(templates/default/images/information.png) no-repeat! !important"); 
    38773874                                        box.find(".box-loading").removeClass("box-loading").addClass("box-info"); 
    38783875                                        box.addClass("box-"+value).removeClass("invalid-email-box"); 
    38793876                                        loadExtraLDAPBox(data.collection.data, ".box-"+value); 
    38803877                                        box.unbind("dblclick").bind("dblclick", function(e){ 
    3881                                                 new $.Zebra_Dialog('<strong>Impossivel editar</strong> um contato do catálogo pessoal\n' + 
    3882                                                         '<strong>Porém</strong> é possivel remove-lo', { 
     3878                                                new $.Zebra_Dialog(get_lang("Impossible editing this contact, but it's possible to remove it"), { 
    38833879                                                        'buttons':  false, 
    38843880                                                        'modal': false, 
     
    39013897                                box.find(".box-loading").remove(); 
    39023898                        else{ 
    3903                                 //box.find(".box-loading").css("background-image", "url(templates/default/images/information.png) no-repeat! !important"); 
    39043899                                box.find(".box-loading").removeClass("box-loading").addClass("box-info"); 
    39053900                                box.addClass("box-"+value).removeClass("invalid-email-box"); 
    39063901                                loadExtraLDAPBox(data.collection.itens[0].data, ".box-"+value); 
    39073902                                box.unbind("dblclick").bind("dblclick", function(e){ 
    3908                                         new $.Zebra_Dialog('<strong>Impossivel editar</strong> um contato do catálogo geral\n' + 
    3909                                                 '<strong>Porém</strong> é possivel remove-lo', { 
     3903                                        new $.Zebra_Dialog(get_lang("Impossible editing this contact, but it's possible to remove it"), { 
    39103904                                                'buttons':  false, 
    39113905                                                'modal': false, 
  • trunk/expressoMail1_2/setup/phpgw_pt-br.lang

    r6488 r6531  
    910910The filter should be set as a criteria "Sender" and action "Archive folder"     expressoMail1_2 pt-br   O filtro deve ter como critério definido "Remetente" e ação "Arquivar na pasta" 
    911911Filter with alert       expressoMail1_2 pt-br   Filtro com alerta 
     912Group contacts  expressoMail1_2 pt-br   Contatos do grupo 
     913Remove recipient        expressoMail1_2 pt-br   Remover destinatário 
     914Quick search of messages        expressoMail1_2 pt-br   Busca rápida de mensagens 
     915Search messages of ...  expressoMail1_2 pt-br   Busca mensagens de ... 
     916Telephone       expressoMail1_2 pt-br   Telefone 
     917And more %1 contact     expressoMail1_2 pt-br   E mais %1 contato 
     918Impossible editing this contact, but it's possible to remove it expressoMail1_2 pt-br   Impossível editar este contato, mas é possível removê-lo 
Note: See TracChangeset for help on using the changeset viewer.