mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 10:28:27 +00:00
Add the attachment-only option to a source
The upload request can now contain a boolean for importing only attachments when e-mails are uploaded. This option is now also added to a source url. Refs: #983
This commit is contained in:
@ -31,6 +31,7 @@ type alias Texts =
|
||||
, language : String
|
||||
, languageInfo : String
|
||||
, languageLabel : Language -> String
|
||||
, attachmentsOnly : String
|
||||
}
|
||||
|
||||
|
||||
@ -61,6 +62,7 @@ Specify a file glob to filter files when uploading archives
|
||||
"Used for text extraction and analysis. The collective's "
|
||||
++ "default language is used if not specified here."
|
||||
, languageLabel = Messages.Data.Language.gb
|
||||
, attachmentsOnly = "Only import attachments for e-mails"
|
||||
}
|
||||
|
||||
|
||||
@ -93,4 +95,5 @@ importieren: `*.pdf`. Globs können auch mittels OR kombiniert werden:
|
||||
"Wird für die Texterkennung und -analyse verwendet. Die Standardsprache des Kollektivs "
|
||||
++ "wird verwendet, falls hier nicht angegeben."
|
||||
, languageLabel = Messages.Data.Language.de
|
||||
, attachmentsOnly = "Bei E-Mails nur die Anhänge importieren"
|
||||
}
|
||||
|
Reference in New Issue
Block a user