Jump to content

Translations:KMail/FAQs Hints and Tips/130/it: Difference between revisions

From KDE UserBase Wiki
Caig (talk | contribs)
Created page with "* Prerequisiti, assicurati di avere prima di iniziare ** libtranslate ** perl ** modulo perl Email::MIME ** kmail * Imposta un filtro pipe ** In '''Kmail''' vai in <menuchoice>Im..."
 
(No difference)

Latest revision as of 18:20, 2 November 2010

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (KMail/FAQs Hints and Tips)
* Prerequisites, make sure you have those before starting
** libtranslate
** perl
** perl module Email::MIME
** kmail
* Setting up a pipe filter
** In '''Kmail''' go to <menuchoice>Settings -> Configure filters</menuchoice>
*** create a new filter and name it '''Translate'''
*** add a Filter Criteria that would be always true (e.g <menuchoice>Subject -> Does not equal -> "321546543"</menuchoice>)
*** add a Filter Action <menuchoice>Pipe Through</menuchoice> {{Input|1=~/bin/mail_translate.pl}}
*** open the '''Advanced''' tab and un-check everything except for <menuchoice>Add this filter to the Apply Filter menu</menuchoice>, you can also set a shortcut and an icon here.
* Putting the script in place and configuring it
** save the following script to a file named mail_translate.pl and put it in your ~/bin directory.
  • Prerequisiti, assicurati di avere prima di iniziare
    • libtranslate
    • perl
    • modulo perl Email::MIME
    • kmail
  • Imposta un filtro pipe
    • In Kmail vai in Impostazioni -> Configura filtri
      • crea un nuovo filtro e chiamalo Tradurre
      • aggiungi un Criterio di filtro che dovrebbe essere sempre vero (esempio Oggetto -> è diverso da -> "321546543")
      • aggiungi un Azione filtro Invia in pipe
        ~/bin/mail_translate.pl
        
      • apri la scheda Avanzate e deseleziona tutto ad eccezione di Aggiungi questo filtro nel menu Applica filtro, qui puoi anche impostare una scorciatoia e un'icona.
  • posiziona lo script e configuralo
    • salva lo script seguente in un file chiamato mail_translate.pl e mettilo nella tua cartella ~/bin.