Jump to content

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

From KDE UserBase Wiki
Claus chr (talk | contribs)
Importing a new version from external source
(No difference)

Revision as of 11:20, 19 October 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.
  • Forudsætninger: sørg for at du har disse, før du starter** libtranslate
    • perl
    • perlmodulet Email::MIME
    • KMail
  • Opsætning af et 'pipe'-filter
    • I KMail vælger du menuen Indstillinger -> Indstil filtre
      • lav et nyt filter og kald det Oversæt
      • tilføj et kriterium, som altid vil være opfyldt (fx Emne -> ikke er lig med -> "321546543"
      • tilføj filterhandlingen Send videre igennem
        ~/bin/mail_translate.pl
        
      • gå til fanebladet Avanceret og fjern alle flueben undtagen Føj dette filter til menuen 'Anvend filter'. Du kan også definere en tastaturgenvej og et ikon her.
  • Læg scriptet på plads og konfigurér det
    • gem det følgende script i en fil kaldet mail_translate.pl og læg det i din mappe ~/bin.