Jump to content

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

From KDE UserBase Wiki
Abella (talk | contribs)
Created page with "* Requisits previs, assegureu-vos de tenir-los abans de començar ** libtranslate ** perl ** El mòdul de perl «Email::MIME» ** kmail * Crear un filtre de canonada ..."
 
(No difference)

Latest revision as of 15:30, 30 July 2011

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.
  • Requisits previs, assegureu-vos de tenir-los abans de començar
    • libtranslate
    • perl
    • El mòdul de perl «Email::MIME»
    • kmail
  • Crear un filtre de canonada
    • En KMail aneu a Arranjament → Configura els filtres...
      • creeu un nou filtre amb el nom Tradueix
      • afegiu un criteri de filtratge que sempre serà veritat (p. ex., Assumpte → No és igual → 321546543)
      • afegiu una acció de filtre Passa a través de
        ~/bin/mail_translate.pl
        
      • obriu la pestanya Avançat i desmarqueu-ho tot a excepció de Afegeix aquest filtre al menú Aplica filtres, també li podeu establir una drecera i una icona.
  • Ubiqueu l'script al seu lloc i configureu-lo
    • deseu el següent script en un fitxer anomenat mail_translate.pl i ubiqueu-lo al directori ~/bin.