Reorganize messages to reflect page structure

This commit is contained in:
Eike Kettner
2021-04-10 00:30:42 +02:00
parent fa2c5750dd
commit 7c43fa0874
165 changed files with 585 additions and 586 deletions

View File

@ -0,0 +1,67 @@
module Messages.Comp.SourceForm exposing (..)
import Data.Language exposing (Language)
import Messages.Basics
import Messages.Data.Language
type alias Texts =
{ basics : Messages.Basics.Texts
, name : String
, description : String
, enabled : String
, priority : String
, priorityInfo : String
, metadata : String
, metadataInfoText : String
, folder : String
, folderInfo : String
, folderForbiddenText : String
, tagsInfo : String
, fileFilter : String
, fileFilterInfo : String
, language : String
, languageInfo : String
, languageLabel : Language -> String
, selectPlaceholder : String
}
gb : Texts
gb =
{ basics = Messages.Basics.gb
, name = "Name"
, description = "Description"
, enabled = "Enabled"
, priority = "Priority"
, priorityInfo = "The priority used by the scheduler when processing uploaded files."
, metadata = "Metadata"
, metadataInfoText =
"Metadata specified here is automatically attached to each item uploaded "
++ "through this source, unless it is overriden in the upload request meta data. "
++ "Tags from the request are added to those defined here."
, folder = "Folder"
, folderInfo = "Choose a folder to automatically put items into."
, folderForbiddenText =
"""
You are **not a member** of this folder. Items created through this
link will be **hidden** from any search results. Use a folder where
you are a member of to make items visible. This message will
disappear then.
"""
, tagsInfo = "Choose tags that should be applied to items."
, fileFilter = "File Filter"
, fileFilterInfo = """
Specify a file glob to filter files when uploading archives
(e.g. for email and zip). For example, to only extract pdf files:
`*.pdf`. Globs can be combined via OR, like this: `*.pdf|mail.html`.
"""
, language = "Language"
, languageInfo =
"Used for text extraction and analysis. The collective's "
++ "default language is used if not specified here."
, languageLabel = Messages.Data.Language.gb
, selectPlaceholder = "Select"
}