Changeset 5801
- Timestamp:
- 03/23/12 16:29:33 (12 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/setup/phpgw_pt-br.lang
r5785 r5801 201 201 Forwarded message expressoMail1_2 pt-br Mensagem encaminhada 202 202 Forward expressoMail1_2 pt-br Encaminhar 203 Forward to the address expressoMail1_2 pt-br Encaminh epara o endereço203 Forward to the address expressoMail1_2 pt-br Encaminhar para o endereço 204 204 Friday expressoMail1_2 pt-br Sexta-feira 205 205 From: expressoMail1_2 pt-br De: … … 522 522 Subject: expressoMail1_2 pt-br Assunto: 523 523 Subject expressoMail1_2 pt-br Assunto 524 Subject expressoMail1_2 pt-br Assunto525 524 Sunday expressoMail1_2 pt-br Domingo 526 525 Table expressoMail1_2 pt-br Tabela … … 757 756 Error importing. expressoMail1_2 pt-br Erro ao Importar. 758 757 Using cache for list of messages admin pt-br Usar cache para lista de mensagens 759 Maximum time for the list of messages keep in cache admin pt-br Tempo maximo para listagem de mensage ms ficar no cache758 Maximum time for the list of messages keep in cache admin pt-br Tempo maximo para listagem de mensagens ficar no cache 760 759 Title expressoMail1_2 pt-br Título 761 760 Location expressoMail1_2 pt-br Local … … 817 816 You have %1 follow ups due for today: expressoMail1_2 pt-br Você tem %1 mensagens sinalizadas para hoje: 818 817 Don't show this window anymore today. expressoMail1_2 pt-br Não mostrar essa janela por hoje. 818 Criteria expressoMail1_2 pt-br Critérios 819 Name of the rule expressoMail1_2 pt-br Nome da regra 820 Sender expressoMail1_2 pt-br Remetente 821 is equal to expressoMail1_2 pt-br é igual à 822 contains the phrase expressoMail1_2 pt-br contém a frase 823 doesn't contain the phrase expressoMail1_2 pt-br não contém a frase 824 starting with expressoMail1_2 pt-br começa com 825 ends with expressoMail1_2 pt-br termina com 826 Receiver expressoMail1_2 pt-br Destinatário 827 Message expressoMail1_2 pt-br Mensagem 828 is over than expressoMail1_2 pt-br é maior que 829 is under than expressoMail1_2 pt-br é menor que 830 Attend all the criteria expressoMail1_2 pt-br Atender a todos os critérios 831 Attend any of the criteria expressoMail1_2 pt-br Atender a qualquer um dos critérios 832 Continue expressoMail1_2 pt-br Prosseguir 833 Actions expressoMail1_2 pt-br Ações 834 Actions to be performed on messages that attend the criteria specified above. expressoMail1_2 pt-br Ações a serem executadas sobre as mensagens que atenderem aos critérios especificados acima. 835 These actions apply only to new messages arriving. expressoMail1_2 pt-br Estas ações serão aplicadas somente às novas mensagens que chegarem. 836 Archive in folder expressoMail1_2 pt-br Arquivar na pasta 837 Move to Trash expressoMail1_2 pt-br Mover para a Lixeira 838 Reply with a message automatically expressoMail1_2 pt-br Responder com uma mensagem automaticamente 839 Type a reply message expressoMail1_2 pt-br Digite uma mensagem de resposta 840 All messages will be answered automatically with the message indicated. expressoMail1_2 pt-br Todas as mensagens serão respondidas automaticamente com a mensagem indicada. 841 Delete rule expressoMail1_2 pt-br Excluir regra 842 Enable rule expressoMail1_2 pt-br Habilitar regra 843 Disable rule expressoMail1_2 pt-br Desabilitar regra 844 Change rule expressoMail1_2 pt-br Alterar regra 845 No name filled expressoMail1_2 pt-br Nenhum nome preenchido 846 No criteria filled expressoMail1_2 pt-br Nenhum critério preenchido 847 Invalid name, 'vacation' is a reserved word expressoMail1_2 pt-br Nome inválido, 'vacation' é uma palavra reservada 848 There is already a filter with this name expressoMail1_2 pt-br Já existe um filtro com este nome 849 Fill the action value expressoMail1_2 pt-br Preencha o valor da ação 850 This user is already blocked. Would you like to unlock it? expressoMail1_2 pt-br Esse usuário já está bloqueado. Deseja desbloquea-lo? 851 Lock User expressoMail1_2 pt-br Bloqueio do usuário 852 removed expressoMail1_2 pt-br removido 853 Want to block the user expressoMail1_2 pt-br Deseja bloquear o usuário 854 blocked expressoMail1_2 pt-br bloqueado. 855 Are you sure to delete the filter expressoMail1_2 pt-br Deseja realmente excluir o filtro 856 Exclusion Confirmation expressoMail1_2 pt-br Confirmação de exclusão 857 List expressoMail1_2 pt-br Listagem 858 Rules for message classification expressoMail1_2 pt-br Regras de classificação de mensagem 859 Add new rule expressoMail1_2 pt-br Adicionar nova regra 860 Add rule out of office expressoMail1_2 pt-br Adicionar regra Fora do escritorio 861 Out of office expressoMail1_2 pt-br Fora do escritorio -
trunk/prototype/modules/filters/edit-filter.ejs
r5648 r5801 1 <% 2 var specialFolders = { 3 INBOX: {name:'Caixa de Entrada', classe:'inbox'}, 4 Inbox: {name:'Caixa de Entrada', classe:'inbox'}, 5 Trash: {name:'Lixeira', classe:'trash'}, 6 Drafts:{name:'Rascunhos', classe:'drafts'}, 7 Spam: {name:'Spam', classe:'spam'}, 8 Sent: {name:'Enviados', classe:'sent'} 9 }; 10 %> 1 11 <form action="filter:detail" method="POST"> 2 12 <div class="rule-details-container"> 3 <h3><a href="#"> Critérios</a></h3>13 <h3><a href="#"><%= get_lang("Criteria")%></a></h3> 4 14 <div> 5 15 <fieldset> 6 <label class="small"> Nome da regra</label>16 <label class="small"><%= get_lang("Name of the rule")%></label> 7 17 <input type="text" name="name" /> 8 18 </fieldset> 9 19 <fieldset> 10 <label class="small"> Remetente</label>20 <label class="small"><%= get_lang("Sender")%></label> 11 21 <select name="criteriaOperator[]"> 12 <option value="="> é igual à</option>13 <option value="*"> contém a frase</option>14 <option value="!*"> não contém a frase</option>15 <option value="^"> começa com</option>16 <option value="$"> termina com</option>22 <option value="="><%= get_lang("is equal to")%></option> 23 <option value="*"><%= get_lang("contains the phrase")%></option> 24 <option value="!*"><%= get_lang("doesn't contain the phrase")%></option> 25 <option value="^"><%= get_lang("starting with")%></option> 26 <option value="$"><%= get_lang("ends with")%></option> 17 27 18 28 </select> … … 21 31 </fieldset> 22 32 <fieldset> 23 <label class="small"> Destinatário</label>33 <label class="small"><%= get_lang("Receiver")%></label> 24 34 <select name="criteriaOperator[]"> 25 <option value="="> é igual à</option>26 <option value="*"> contém a frase</option>27 <option value="!*"> não contém a frase</option>28 <option value="^"> começa com</option>29 <option value="$"> termina com</option>35 <option value="="><%= get_lang("is equal to")%></option> 36 <option value="*"><%= get_lang("contains the phrase")%></option> 37 <option value="!*"><%= get_lang("doesn't contain the phrase")%></option> 38 <option value="^"><%= get_lang("starting with")%></option> 39 <option value="$"><%= get_lang("ends with")%></option> 30 40 </select> 31 41 <input type="text" name="criteriaValue[]" /> … … 33 43 </fieldset> 34 44 <fieldset> 35 <label class="small"> Assunto</label>45 <label class="small"><%= get_lang("Subject")%></label> 36 46 <select name="criteriaOperator[]"> 37 <option value="="> é igual à</option>38 <option value="*"> contém a frase</option>39 <option value="!*"> não contém a frase</option>40 <option value="^"> começa com</option>41 <option value="$"> termina com</option>47 <option value="="><%= get_lang("is equal to")%></option> 48 <option value="*"><%= get_lang("contains the phrase")%></option> 49 <option value="!*"><%= get_lang("doesn't contain the phrase")%></option> 50 <option value="^"><%= get_lang("starting with")%></option> 51 <option value="$"><%= get_lang("ends with")%></option> 42 52 43 53 </select> … … 46 56 </fieldset> 47 57 <fieldset> 48 <label class="small"> Mensagem</label>58 <label class="small"><%= get_lang("Message")%></label> 49 59 <select name="criteriaOperator[]"> 50 <option value="="> é igual à</option>51 <option value="*"> contém a frase</option>52 <option value="!*"> não contém a frase</option>53 <option value="^"> começa com</option>54 <option value="$"> termina com</option>60 <option value="="><%= get_lang("is equal to")%></option> 61 <option value="*"><%= get_lang("contains the phrase")%></option> 62 <option value="!*"><%= get_lang("doesn't contain the phrase")%></option> 63 <option value="^"><%= get_lang("starting with")%></option> 64 <option value="$"><%= get_lang("ends with")%></option> 55 65 </select> 56 66 <input type="text" name="criteriaValue[]" /> … … 58 68 </fieldset> 59 69 <fieldset> 60 <label class="small"> Tamanho</label>70 <label class="small"><%= get_lang("Size")%></label> 61 71 <select name="criteriaOperator[]"> 62 <option value=">"> é menor que</option>63 <option value="<"> é maior que</option>72 <option value=">"><%= get_lang("is under than")%></option> 73 <option value="<"><%= get_lang("is over than")%></option> 64 74 </select> 65 75 <input type="text" name="criteriaValue[]" /> … … 75 85 <fieldset> 76 86 <input type="radio" name="isExact" value="and" checked="checked"/> 77 <label> Atender a todos os critérios</label>87 <label><%= get_lang("Attend all the criteria")%></label> 78 88 </fieldset> 79 89 <fieldset> 80 90 <input type="radio" name="isExact" value="or"/> 81 <label> Atender a qualquer um dos critérios</label>91 <label><%= get_lang("Attend any of the criteria")%></label> 82 92 </fieldset> 83 93 </fieldset> 84 94 <div class="menu-container"> 85 <a class="button cancel" href="#"> Cancelar</a>86 <a class="button forth" href="#"> Prosseguir»</a>95 <a class="button cancel" href="#"><%= get_lang("Cancel")%></a> 96 <a class="button forth" href="#"><%= get_lang("Continue")%> »</a> 87 97 </div> 88 98 </div> 89 <h3><a href="#"> Ações</a></h3>99 <h3><a href="#"><%= get_lang("Actions")%></a></h3> 90 100 <div> 91 101 <ul class="message-tip-container"> 92 <li class="message-tip"> Ações a serem executadas sobre as mensagens que atenderem aos critérios especificados acima.</li>93 <li class="message-tip"> Estas ações serão aplicadas somente às novas mensagens que chegarem.</li>102 <li class="message-tip"><%= get_lang("Actions to be performed on messages that attend the criteria specified above.")%></li> 103 <li class="message-tip"><%= get_lang("These actions apply only to new messages arriving.")%></li> 94 104 </ul> 95 105 <fieldset class="select-folderlist"> 96 106 <input type="radio" name="actionType[]" value="fileinto" checked="checked" onchange="$('.ui-widget-content :checkbox').parent().removeClass(' hidden');"/> 97 <label> Arquivar na pasta</label>107 <label><%= get_lang("Archive in folder")%></label> 98 108 <!-- 99 109 Aguardando o problema do form do DataLayer ser resolvido. 100 110 --> 101 <select name="valueFileInto"> 102 <%for(var i=0; i < data.folders.length; i++){ 111 <select name="valueFileInto" style="width:150px"> 112 <%for(var i=0; i < data.folders.length; i++){ 113 var folder_name = specialFolders[data.folders[i].commonName] ? get_lang(data.folders[i].commonName) : data.folders[i].commonName; 103 114 if(/^INBOX/.test(data.folders[i].id)){ %> 104 <option value="<%= data.folders[i].id%>"><%= data.folders[i].commonName%></option>115 <option value="<%= data.folders[i].id%>"><%= folder_name%></option> 105 116 <% 106 } 117 }else if(/^user/.test(data.folders[i].id)){ 118 var user_name = (data.folders[i].parentFolder.split(data.delimiter)[1] ? (data.folders[i].parentFolder.split(data.delimiter)[1] + data.delimiter) : ""); 119 %> 120 <option value="<%= data.folders[i].id%>"><%= user_name + folder_name%></option> 121 <% } 107 122 } 108 123 %> … … 112 127 <fieldset> 113 128 <input type="radio" name="actionType[]" value="redirect" onchange="$('.ui-widget-content :checkbox').parent().removeClass(' hidden');"/> 114 <label> Encaminhar para o endereço</label>129 <label><%= get_lang("Forward to the address")%></label> 115 130 <input type="text" name="addressRedirect" /> 116 131 </fieldset> 117 132 <fieldset> 118 133 <input type="radio" name="actionType[]" value="setflag" onchange="$('.ui-widget-content :checkbox').parent().removeClass(' hidden');"/> 119 <label> Marcar como</label>134 <label><%= get_lang("Mark as")%></label> 120 135 <!-- 121 136 Aguardando o problema do form do DataLayer ser resolvido. 122 137 --> 123 138 <select name="valueSetFlag"> 124 <option value="flagged"> Importante</option>125 <option value="seen"> Lida</option>139 <option value="flagged"><%= get_lang("Flagged")%></option> 140 <option value="seen"><%= get_lang("Seen")%></option> 126 141 </select> 127 142 <!-- <input type="text" name="actionParameter[]" /> --> … … 129 144 <fieldset> 130 145 <input type="radio" name="actionType[]" value="fileintoTrash" onchange="$('.ui-widget-content :checkbox').parent().removeClass(' hidden');"/> 131 <label> Mover para a Lixeira</label>146 <label><%= get_lang("Seen")%></label> 132 147 <input type="hidden" name="actionParameter[]" value="Trash"/> 133 148 </fieldset> 134 149 <fieldset class="fields-replyto"> 135 150 <input type="radio" name="actionType[]" value="reject" onchange="$('.ui-widget-content :checkbox').parent().addClass(' hidden');"/> 136 <label> Responder com uma mensagem automaticamente</label>151 <label><%= get_lang("Reply with a message automatically")%></label> 137 152 <textarea name="messageReject"></textarea> 138 153 </fieldset> 139 154 <fieldset> 140 155 <input type="checkbox" name="actionType[]" value="fileintoInbox"/> 141 <label> Manter uma cópia na caixa de entrada</label>156 <label><%= get_lang("Keep a copy of the message at your Inbox")%></label> 142 157 <input type="hidden" name="actionParameter[]" value="INBOX"/> 143 158 </fieldset> … … 152 167 --> 153 168 <div class="menu-container"> 154 <a class="button back" href="#" >« Anterior</a>155 <a class="button cancel" href="#"> Cancelar</a>156 <a class="button submit" href="#"> Salvar</a>169 <a class="button back" href="#" >« <%= get_lang("Previous")%></a> 170 <a class="button cancel" href="#"><%= get_lang("Cancel")%></a> 171 <a class="button submit" href="#"><%= get_lang("Save")%></a> 157 172 </div> 158 173 </div> … … 160 175 <div class="vacation-details-container hidden"> 161 176 <fieldset> 162 <label> Digite uma mensagem de resposta:</label>177 <label><%= get_lang("Type a reply message")%></label> 163 178 <ul class="message-tip-container"> 164 <li class="message-tip"> Todas as mensagens serão respondidas automaticamente com a mensagem indicada.</li>179 <li class="message-tip"><%= get_lang("All messages will be answered automatically with the message indicated.")%></li> 165 180 </ul> 166 181 <textarea class="filter-textarea" name="vacation"></textarea> 167 182 </fieldset> 168 183 <div class="menu-container"> 169 <a class="button back" href="#" title="Cancela e retorna á tela anterior">« Anterior</a>170 <a class="button submit" href="#" title="Salva e retorna á tela anterior"> Salvar</a>184 <a class="button back" href="#" title="Cancela e retorna á tela anterior">« <%= get_lang("Previous")%></a> 185 <a class="button submit" href="#" title="Salva e retorna á tela anterior"><%= get_lang("Save")%></a> 171 186 </div> 172 187 </div> -
trunk/prototype/modules/filters/filter-list.ejs
r5648 r5801 9 9 <input type="hidden" class="id" value="<%= data.rules[i].id %>"> 10 10 <dl class="rule-briefing"> 11 <dt> Critérios:</dt>11 <dt><%= get_lang("Criteria")%>:</dt> 12 12 <dd class="rule-briefing-criteria"> 13 13 <ul class="rule-briefing-criteria-list"> … … 21 21 </ul> 22 22 </dd> 23 <dt> Ações:</dt>23 <dt><%= get_lang("Actions")%>:</dt> 24 24 <dd class="rule-briefing-action"> 25 25 <ul class="rule-briefing-action-list"> … … 35 35 </dl> 36 36 <ul class="menu-control"> 37 <li><a href="#<%= data.rules[i].name %>" class="button update" title=" Alterar regra'<%= data.rules[i].name %>'"></a></li>38 <li><a href="#<%= data.rules[i].name %>" class="button enable<%= (data.rules[i].enabled == "true")? '': ' hidden' %>" title=" Desabilitar regra"></a></li>39 <li><a href="#<%= data.rules[i].name %>" class="button disable<%= (data.rules[i].enabled == "true")? ' hidden': '' %>" title=" Habilitar regra"></a></li>40 <li><a href="#<%= data.rules[i].name %>" class="button close" title=" Excluir regra'<%= data.rules[i].name %>'"></a></li>37 <li><a href="#<%= data.rules[i].name %>" class="button update" title="<%= get_lang("Change rule")%> '<%= data.rules[i].name %>'"></a></li> 38 <li><a href="#<%= data.rules[i].name %>" class="button enable<%= (data.rules[i].enabled == "true")? '': ' hidden' %>" title="<%= get_lang("Disable rule")%>"></a></li> 39 <li><a href="#<%= data.rules[i].name %>" class="button disable<%= (data.rules[i].enabled == "true")? ' hidden': '' %>" title="<%= get_lang("Enable rule")%>"></a></li> 40 <li><a href="#<%= data.rules[i].name %>" class="button close" title="<%= get_lang("Delete rule")%> '<%= data.rules[i].name %>'"></a></li> 41 41 <!--<li class="select" ><input type="checkbox"/></li>--> 42 42 </ul> -
trunk/prototype/modules/filters/filters.ejs
r5627 r5801 2 2 3 3 4 <div class="expresso-window-container filter-manager-window" title=" Regras de classificação de mensagem">4 <div class="expresso-window-container filter-manager-window" title="<%= get_lang("Rules for message classification")%>"> 5 5 6 6 <div class="rule-list-container"> … … 11 11 <form action="filter:detail"> 12 12 <div class="rule-details-container"> 13 <h3><a href="#"> Critérios</a></h3>13 <h3><a href="#"><%= get_lang("Criteria")%></a></h3> 14 14 <div> 15 15 <fieldset> 16 <label class="small"> Nome da regra</label>16 <label class="small"><%= get_lang("Name of the rule")%></label> 17 17 <input type="text" name="name" /> 18 18 </fieldset> 19 19 <fieldset> 20 <label class="small"> Remetente</label>20 <label class="small"><%= get_lang("Sender")%></label> 21 21 <select name="criteriaOperator[]"> 22 <option value="="> é igual à</option>23 <option value="*"> contém a frase</option>24 <option value="!*"> não contém a frase</option>25 <option value="^"> começa com</option>26 <option value="$"> termina com</option>22 <option value="="><%= get_lang("is equal to")%></option> 23 <option value="*"><%= get_lang("contains the phrase")%></option> 24 <option value="!*"><%= get_lang("doesn't contain the phrase")%></option> 25 <option value="^"><%= get_lang("starting with")%></option> 26 <option value="$"><%= get_lang("ends with")%></option> 27 27 28 28 </select> … … 31 31 </fieldset> 32 32 <fieldset> 33 <label class="small"> Destinatário</label>33 <label class="small"><%= get_lang("Receiver")%></label> 34 34 <select name="criteriaOperator[]"> 35 <option value="="> é igual à</option>36 <option value="*"> contém a frase</option>37 <option value="!*"> não contém a frase</option>38 <option value="^"> começa com</option>39 <option value="$"> termina com</option>35 <option value="="><%= get_lang("is equal to")%></option> 36 <option value="*"><%= get_lang("contains the phrase")%></option> 37 <option value="!*"><%= get_lang("doesn't contain the phrase")%></option> 38 <option value="^"><%= get_lang("starting with")%></option> 39 <option value="$"><%= get_lang("ends with")%></option> 40 40 </select> 41 41 <input type="text" name="criteriaValue[]" /> … … 43 43 </fieldset> 44 44 <fieldset> 45 <label class="small"> Assunto</label>45 <label class="small"><%= get_lang("Subject")%></label> 46 46 <select name="criteriaOperator[]"> 47 <option value="="> é igual à</option>48 <option value="*"> contém a frase</option>49 <option value="!*"> não contém a frase</option>50 <option value="^"> começa com</option>51 <option value="$"> termina com</option>47 <option value="="><%= get_lang("is equal to")%></option> 48 <option value="*"><%= get_lang("contains the phrase")%></option> 49 <option value="!*"><%= get_lang("doesn't contain the phrase")%></option> 50 <option value="^"><%= get_lang("starting with")%></option> 51 <option value="$"><%= get_lang("ends with")%></option> 52 52 53 53 </select> … … 56 56 </fieldset> 57 57 <fieldset> 58 <label class="small"> Mensagem</label>58 <label class="small"><%= get_lang("Message")%></label> 59 59 <select name="criteriaOperator[]"> 60 <option value="="> é igual à</option>61 <option value="*"> contém a frase</option>62 <option value="!*"> não contém a frase</option>63 <option value="^"> começa com</option>64 <option value="$"> termina com</option>60 <option value="="><%= get_lang("is equal to")%></option> 61 <option value="*"><%= get_lang("contains the phrase")%></option> 62 <option value="!*"><%= get_lang("doesn't contain the phrase")%></option> 63 <option value="^"><%= get_lang("starting with")%></option> 64 <option value="$"><%= get_lang("ends with")%></option> 65 65 </select> 66 66 <input type="text" name="criteriaValue[]" /> … … 68 68 </fieldset> 69 69 <fieldset> 70 <label class="small"> Tamanho</label>70 <label class="small"><%= get_lang("Size")%></label> 71 71 <select name="criteriaOperator[]"> 72 <option value=">"> é menor que</option>73 <option value="<"> é maior que</option>72 <option value=">"><%= get_lang("is under than")%></option> 73 <option value="<"><%= get_lang("is over than")%></option> 74 74 </select> 75 75 <input type="text" name="criteriaValue[]" /> … … 78 78 <fieldset> 79 79 <input type="checkbox" value="hasAttachment" name="hasAttachment" /> 80 <label> A mensagem possui anexo</label>80 <label><%= get_lang("The message has attachment")%></label> 81 81 </fieldset> 82 82 <fieldset class="fields-isexact"> 83 83 <fieldset> 84 84 <input type="radio" name="isExact" value="and"/> 85 <label> Atender a todos os critérios</label>85 <label><%= get_lang("Attend all the criteria")%></label> 86 86 </fieldset> 87 87 <fieldset> 88 88 <input type="radio" name="isExact" value="or"/> 89 <label> Atender a qualquer um dos critérios</label>89 <label><%= get_lang("Attend any of the criteria")%></label> 90 90 </fieldset> 91 91 </fieldset> 92 92 <div class="menu-container"> 93 <a class="button cancel" href="#"> Cancelar</a>94 <a class="button forth" href="#"> Prosseguir»</a>93 <a class="button cancel" href="#"><%= get_lang("Cancel")%></a> 94 <a class="button forth" href="#"><%= get_lang("Continue")%> »</a> 95 95 </div> 96 96 </div> 97 <h3><a href="#"> Ações</a></h3>97 <h3><a href="#"><%= get_lang("Actions")%></a></h3> 98 98 <div> 99 99 <ul class="message-tip-container"> 100 <li class="message-tip"> Ações a serem executadas sobre as mensagens que atenderem aos critérios especificados acima.</li>101 <li class="message-tip"> Estas ações serão aplicadas somente às novas mensagens que chegarem.</li>100 <li class="message-tip"><%= get_lang("Actions to be performed on messages that attend the criteria specified above.")%></li> 101 <li class="message-tip"><%= get_lang("These actions apply only to new messages arriving.")%></li> 102 102 </ul> 103 103 <fieldset class="select-folderlist"> 104 104 <input type="radio" name="actionType[]" value="fileinto" /> 105 <label> Arquivar na pasta</label>105 <label><%= get_lang("Archive in folder")%></label> 106 106 <select name="actionParameter[]"> 107 <option value="INBOX"> Caixa de entrada</option>108 <option value="Sent"> Enviadados</option>107 <option value="INBOX"><%= get_lang("Inbox")%></option> 108 <option value="Sent"><%= get_lang("Actions")%>Enviadados</option> 109 109 </select> 110 110 </fieldset> 111 111 <fieldset> 112 112 <input type="radio" name="actionType[]" value="redirect" /> 113 <label> Encaminhar para o endereço</label>113 <label><%= get_lang("Actions")%>Encaminhar para o endereço</label> 114 114 <input type="text" name="actionParameter[]" /> 115 115 </fieldset> 116 116 <fieldset> 117 117 <input type="radio" name="actionType[]" value="flag" /> 118 <label> Marcar como</label>118 <label><%= get_lang("Actions")%>Marcar como</label> 119 119 <select name="actionParameter[]"> 120 <option value="important"> Importante</option>121 <option value="seen"> Lida</option>120 <option value="important"><%= get_lang("Actions")%>Importante</option> 121 <option value="seen"><%= get_lang("Actions")%>Lida</option> 122 122 </select> 123 123 </fieldset> -
trunk/prototype/modules/filters/filters.js
r5782 r5801 4 4 { 5 5 if($.trim(list_container.find('[name="name"]').val()) == ""){ 6 $.Zebra_Dialog( "<strong>Nenhum nome</strong> preenchido",{6 $.Zebra_Dialog(get_lang("No name filled"),{ 7 7 'onClose': function(caption) { 8 8 list_container.find('[name="name"]').focus(); … … 12 12 return false; 13 13 }else if($.trim(list_container.find('[name="name"]').val()) == "vacation"){ 14 $.Zebra_Dialog( "Nome inválido, <strong>'vacation'</strong> é uma palavra reservada",{14 $.Zebra_Dialog(get_lang("Invalid name, 'vacation' is a reserved word"),{ 15 15 'onClose': function(caption) { 16 16 list_container.find('[name="name"]').val("").focus(); … … 24 24 $.each(filter_list, function(index, value){ 25 25 if(filter_list[index].name == list_container.find('[name="name"]').val()){ 26 $.Zebra_Dialog( "Já existe um filtro com este nome",{26 $.Zebra_Dialog(get_lang("There is already a filter with this name"),{ 27 27 'onClose': function(caption) { 28 28 list_container.find('[name="name"]').val("").focus(); … … 45 45 }); 46 46 if(criteria == ""){ 47 $.Zebra_Dialog( "Nenhum <strong>criterio</strong> preenchido",{47 $.Zebra_Dialog(get_lang("No criteria filled"),{ 48 48 'onClose': function(caption) { 49 49 list_container.find('[name="criteriaValue[]"]:first').focus(); … … 55 55 if(list_container.find('[name="actionType[]"]:checked').parent().find("input:text, textarea").length){ 56 56 if($.trim(list_container.find('[name="actionType[]"]:checked').parent().find("input:text, textarea").val()) == ""){ 57 $.Zebra_Dialog( "Preencha o valor da <strong>ação</strong>",{57 $.Zebra_Dialog(get_lang("Fill the action value"),{ 58 58 'onClose': function(caption) { 59 59 list_container.find('[name="actionType[]"]:checked').parent().find("input:text, textarea").focus(); … … 666 666 for(var index in filters){ 667 667 if(filters[index].name == email) { 668 if(confirm( "Esse usuário já está bloqueado! Deseja desbloquea-lo?")) {668 if(confirm(get_lang("This user is already blocked. Would you like to unlock it?"))) { 669 669 DataLayer.remove( 'filter', filters[index].id ); 670 670 DataLayer.commit("filter", false, function(){ 671 $.Zebra_Dialog( "Bloqueio do usuario " + email + " removido!");671 $.Zebra_Dialog(get_lang("Lock User") + " " + email + " " + get_lang("removed")); 672 672 list_filters(); 673 673 }); … … 677 677 } 678 678 } 679 if(confirm( "Deseja bloquear o usuário" + email + "?")){679 if(confirm(get_lang("Want to block the user") + " " + email + "?")){ 680 680 DataLayer.put( 'filter', idd, 681 681 { name: email, isExact: false, … … 688 688 }); 689 689 DataLayer.commit("filter", false, function(){ 690 $.Zebra_Dialog( "Usuário " + email + " bloqueado!");690 $.Zebra_Dialog(get_lang("User") + " " + email + " " + get_lang("blocked")); 691 691 list_filters(); 692 692 }); … … 742 742 autoOpen: false, 743 743 buttons: [{ 744 text : "Fechar",744 text : get_lang("Close"), 745 745 click : function() { 746 746 $( this ).dialog( "close" ); … … 750 750 $(".ui-dialog-titlebar").after("<div class='dialog-head-buttonpane ui-dialog-buttonpane ui-widget-content ui-helper-clearfix' style='background-color: rgb(224, 238, 238); '><div class='ui-dialog-buttonset header-buttonpane'></div></div>"); 751 751 $(".dialog-head-buttonpane").css("padding", "5px"). 752 find(".header-buttonpane").html("<a href='#' class='button add' title=' Adicionar nova regra'>Nova regra</a>"+(!outoffice ? "<a href='#' class='button add vacation' title='Adicionar regra 'Fora do escritorio''>Fora do escritorio</a>" : "")).find(".button").button();752 find(".header-buttonpane").html("<a href='#' class='button add' title='"+get_lang("Add new rule")+"'>"+get_lang("New rule")+"</a>"+(!outoffice ? "<a href='#' class='button add vacation' title='"+get_lang("Add rule out of office")+"'>"+get_lang("Out of office")+"</a>" : "")).find(".button").button(); 753 753 754 754 $(".ui-dialog-buttonpane.ui-widget-content").css("background-color", "#E0EEEE"); … … 779 779 } 780 780 } 781 DataLayer.render( BASE_PATH + 'modules/filters/edit-filter.ejs', {folders : DataLayer.get("folder", true) },function(html){781 DataLayer.render( BASE_PATH + 'modules/filters/edit-filter.ejs', {folders : DataLayer.get("folder", true), delimiter: cyrus_delimiter},function(html){ 782 782 var details_container = $(".expresso-window-filters").html(html); 783 783 if(filters.name != "vacation"){ … … 854 854 }).click(function(event){ 855 855 var filter_name = $(event.target).parents("li.rule").find('.id').val(); 856 $.Zebra_Dialog( "Deseja realmente excluir o filtro: <strong>"+filter_name+"</strong>",{856 $.Zebra_Dialog(get_lang("Are you sure to delete the filter") + ": <strong>"+filter_name+"</strong>",{ 857 857 'type': 'question', 858 'title': 'Confirmação de Exclusão',858 'title': get_lang("Exclusion Confirmation"), 859 859 'buttons': [get_lang('Yes'), get_lang('No')], 860 860 'onClose': function(caption) { … … 876 876 list_container.parent().find(".button.add:first").click(function(){ 877 877 list_container.parent().find(".dialog-head-buttonpane").addClass("hidden"); 878 DataLayer.render( BASE_PATH + 'modules/filters/edit-filter.ejs', {folders : DataLayer.get("folder", true) },function(html){878 DataLayer.render( BASE_PATH + 'modules/filters/edit-filter.ejs', {folders : DataLayer.get("folder", true), delimiter: cyrus_delimiter},function(html){ 879 879 list_container.html(html); 880 880 var accord = list_container.find(".rule-details-container").accordion({autoHeight: false}); … … 898 898 list_container.parent().find(".button.add.vacation").click(function(){ 899 899 list_container.parent().find(".dialog-head-buttonpane").addClass("hidden"); 900 DataLayer.render( BASE_PATH + 'modules/filters/edit-filter.ejs', {folders : DataLayer.get("folder", true) },function(html){900 DataLayer.render( BASE_PATH + 'modules/filters/edit-filter.ejs', {folders : DataLayer.get("folder", true), delimiter: cyrus_delimiter},function(html){ 901 901 list_container.html(html); 902 902 list_container.find(".vacation-details-container").removeClass("hidden"); -
trunk/prototype/modules/filters/init.ejs
r5539 r5801 1 1 <link rel="stylesheet" href="../prototype/modules/filters/filters.css" type="text/css" /> 2 2 3 <div class="expresso-window-filters expresso-window-container filter-manager-window" title=" Filtros">4 <div class="expresso-window-container filter-manager-window rule-list-container" title=" Listagem"></div>5 <div class="expresso-window-container filter-manager-window rule-edit-container" title=" Regras de classificação de mensagem"></div>3 <div class="expresso-window-filters expresso-window-container filter-manager-window" title="<% get_lang("Filters")%>"> 4 <div class="expresso-window-container filter-manager-window rule-list-container" title="<% get_lang("List")%>"></div> 5 <div class="expresso-window-container filter-manager-window rule-edit-container" title="<% get_lang("Rules for message classification")%>"></div> 6 6 </div> 7 7
Note: See TracChangeset
for help on using the changeset viewer.