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,20 @@
module Messages.Comp.AddressForm exposing (..)
type alias Texts =
{ selectCountry : String
, street : String
, zipCode : String
, city : String
, country : String
}
gb : Texts
gb =
{ selectCountry = "Select Country"
, street = "Street"
, zipCode = "Zip Code"
, city = "City"
, country = "Country"
}

View File

@ -0,0 +1,34 @@
module Messages.Comp.AttachmentMeta exposing (..)
import Messages.Basics
type alias Texts =
{ basics : Messages.Basics.Texts
, extractedMetadata : String
, content : String
, labels : String
, proposals : String
, correspondentOrg : String
, correspondentPerson : String
, concerningPerson : String
, concerningEquipment : String
, itemDate : String
, itemDueDate : String
}
gb : Texts
gb =
{ basics = Messages.Basics.gb
, extractedMetadata = "Extracted Meta Data"
, content = "Content"
, labels = "Labels"
, proposals = "Proposals"
, correspondentOrg = "Correspondent Organization"
, correspondentPerson = "Correspondent Person"
, concerningPerson = "Concerning Person"
, concerningEquipment = "Concerning Equipment"
, itemDate = "Item Date"
, itemDueDate = "Item Due Date"
}

View File

@ -0,0 +1,28 @@
module Messages.Comp.CalEventInput exposing (..)
type alias Texts =
{ weekday : String
, year : String
, month : String
, day : String
, hour : String
, minute : String
, error : String
, schedule : String
, next : String
}
gb : Texts
gb =
{ weekday = "Weekday"
, year = "Year"
, month = "Month"
, day = "Day"
, hour = "Hour"
, minute = "Minute"
, error = "Error"
, schedule = "Schedule"
, next = "Next"
}

View File

@ -0,0 +1,26 @@
module Messages.Comp.ChangePasswordForm exposing (..)
import Messages.Basics
type alias Texts =
{ basics : Messages.Basics.Texts
, currentPassword : String
, newPassword : String
, repeatPassword : String
, currentPasswordPlaceholder : String
, newPasswordPlaceholder : String
, repeatPasswordPlaceholder : String
}
gb : Texts
gb =
{ basics = Messages.Basics.gb
, currentPassword = "Current Password"
, newPassword = "New Password"
, repeatPassword = "New Password (repeat)"
, currentPasswordPlaceholder = "Password"
, newPasswordPlaceholder = "Password"
, repeatPasswordPlaceholder = "Password"
}

View File

@ -0,0 +1,39 @@
module Messages.Comp.ClassifierSettingsForm exposing (..)
import Messages.Comp.CalEventInput
type alias Texts =
{ calEventInput : Messages.Comp.CalEventInput.Texts
, autoTaggingText : String
, blacklistOrWhitelist : String
, whitelistLabel : String
, blacklistLabel : String
, itemCount : String
, schedule : String
, itemCountHelp : String
}
gb : Texts
gb =
{ calEventInput = Messages.Comp.CalEventInput.gb
, autoTaggingText =
"""
Auto-tagging works by learning from existing documents. The more
documents you have correctly tagged, the better. Learning is done
periodically based on a schedule. You can specify tag-groups that
should either be used (whitelist) or not used (blacklist) for
learning.
Use an empty whitelist to disable auto tagging.
"""
, blacklistOrWhitelist = "Is the following a blacklist or whitelist?"
, whitelistLabel = "Include tag categories for learning"
, blacklistLabel = "Exclude tag categories from learning"
, itemCount = "Item Count"
, schedule = "Schedule"
, itemCountHelp = "The maximum number of items to learn from, order by date newest first. Use 0 to mean all."
}

View File

@ -0,0 +1,46 @@
module Messages.Comp.CollectiveSettingsForm exposing (..)
import Data.Language exposing (Language)
import Messages.Comp.ClassifierSettingsForm
import Messages.Data.Language
type alias Texts =
{ classifierSettingsForm : Messages.Comp.ClassifierSettingsForm.Texts
, save : String
, saveSettings : String
, documentLanguage : String
, documentLanguageHelp : String
, integrationEndpoint : String
, integrationEndpointLabel : String
, integrationEndpointHelp : String
, fulltextSearch : String
, reindexAllData : String
, reindexAllDataHelp : String
, autoTagging : String
, startNow : String
, languageLabel : Language -> String
}
gb : Texts
gb =
{ classifierSettingsForm = Messages.Comp.ClassifierSettingsForm.gb
, save = "Save"
, saveSettings = "Save Settings"
, documentLanguage = "Document Language"
, documentLanguageHelp = "The language of your documents. This helps text recognition (OCR) and text analysis."
, integrationEndpoint = "Integration Endpoint"
, integrationEndpointLabel = "Enable integration endpoint"
, integrationEndpointHelp =
"The integration endpoint allows (local) applications to submit files. "
++ "You can choose to disable it for your collective."
, fulltextSearch = "Full-Text Search"
, reindexAllData = "Re-Index All Data"
, reindexAllDataHelp =
"This starts a task that clears the full-text index and re-indexes all your data again."
++ "You must type OK before clicking the button to avoid accidental re-indexing."
, autoTagging = "Auto-Tagging"
, startNow = "Start now"
, languageLabel = Messages.Data.Language.gb
}

View File

@ -0,0 +1,46 @@
module Messages.Comp.CustomFieldForm exposing (..)
import Data.CustomFieldType exposing (CustomFieldType)
import Messages.Basics
import Messages.Data.CustomFieldType
type alias Texts =
{ basics : Messages.Basics.Texts
, reallyDeleteField : String
, fieldTypeLabel : CustomFieldType -> String
, createCustomField : String
, modifyTypeWarning : String
, name : String
, nameInfo : String
, fieldFormat : String
, fieldFormatInfo : String
, label : String
, labelInfo : String
, deleteThisField : String
}
gb : Texts
gb =
{ basics = Messages.Basics.gb
, reallyDeleteField = "Really delete this custom field?"
, fieldTypeLabel = Messages.Data.CustomFieldType.gb
, createCustomField = "Create a new custom field."
, modifyTypeWarning =
"Note that changing the format may "
++ "result in invisible values in the ui, if they don't comply to the new format!"
, name = "Name"
, nameInfo =
"The name uniquely identifies this field. It must be a valid "
++ "identifier, not contain spaces or weird characters."
, fieldFormat = "Field Format"
, fieldFormatInfo =
"A field must have a format. Values are validated "
++ "according to this format."
, label = "Label"
, labelInfo =
"The user defined label for this field. This is used to represent "
++ "this field in the ui. If not present, the name is used."
, deleteThisField = "Delete this field"
}

View File

@ -0,0 +1,18 @@
module Messages.Comp.CustomFieldInput exposing (..)
type alias Texts =
{ errorNoValue : String
, errorNoNumber : String
, errorNoAmount : String
, errorNotANumber : String -> String
}
gb : Texts
gb =
{ errorNoValue = "Please fill in some value"
, errorNoNumber = "No number given"
, errorNoAmount = "No amount given"
, errorNotANumber = \str -> "Not a number: " ++ str
}

View File

@ -0,0 +1,24 @@
module Messages.Comp.CustomFieldManage exposing (..)
import Messages.Basics
import Messages.Comp.CustomFieldForm
import Messages.Comp.CustomFieldTable
type alias Texts =
{ basics : Messages.Basics.Texts
, fieldForm : Messages.Comp.CustomFieldForm.Texts
, fieldTable : Messages.Comp.CustomFieldTable.Texts
, addCustomField : String
, newCustomField : String
}
gb : Texts
gb =
{ basics = Messages.Basics.gb
, fieldForm = Messages.Comp.CustomFieldForm.gb
, fieldTable = Messages.Comp.CustomFieldTable.gb
, addCustomField = "Add a new custom field"
, newCustomField = "New custom field"
}

View File

@ -0,0 +1,14 @@
module Messages.Comp.CustomFieldMultiInput exposing (..)
import Messages.Comp.CustomFieldInput
type alias Texts =
{ customFieldInput : Messages.Comp.CustomFieldInput.Texts
}
gb : Texts
gb =
{ customFieldInput = Messages.Comp.CustomFieldInput.gb
}

View File

@ -0,0 +1,20 @@
module Messages.Comp.CustomFieldTable exposing (..)
import Messages.Basics
type alias Texts =
{ basics : Messages.Basics.Texts
, nameLabel : String
, format : String
, usageCount : String
}
gb : Texts
gb =
{ basics = Messages.Basics.gb
, nameLabel = "Name/Label"
, format = "Format"
, usageCount = "#Usage"
}

View File

@ -0,0 +1,29 @@
module Messages.Comp.DetailEdit exposing (..)
import Messages.Basics
import Messages.Comp.CustomFieldForm
import Messages.Comp.EquipmentForm
import Messages.Comp.OrgForm
import Messages.Comp.PersonForm
import Messages.Comp.TagForm
type alias Texts =
{ basics : Messages.Basics.Texts
, tagForm : Messages.Comp.TagForm.Texts
, personForm : Messages.Comp.PersonForm.Texts
, orgForm : Messages.Comp.OrgForm.Texts
, equipmentForm : Messages.Comp.EquipmentForm.Texts
, customFieldForm : Messages.Comp.CustomFieldForm.Texts
}
gb : Texts
gb =
{ basics = Messages.Basics.gb
, tagForm = Messages.Comp.TagForm.gb
, personForm = Messages.Comp.PersonForm.gb
, orgForm = Messages.Comp.OrgForm.gb
, equipmentForm = Messages.Comp.EquipmentForm.gb
, customFieldForm = Messages.Comp.CustomFieldForm.gb
}

View File

@ -0,0 +1,20 @@
module Messages.Comp.Dropzone exposing (..)
type alias Texts =
{ dropFilesHere : String
, or : String
, select : String
, selectInfo : String
}
gb : Texts
gb =
{ dropFilesHere = "Drop files here"
, or = "Or"
, select = "Select ..."
, selectInfo =
"Choose document files (pdf, docx, txt, html, ). "
++ "Archives (zip and eml) are extracted."
}

View File

@ -0,0 +1,47 @@
module Messages.Comp.EmailSettingsForm exposing (..)
import Data.SSLType exposing (SSLType)
import Messages.Data.SSLType
type alias Texts =
{ sslTypeLabel : SSLType -> String
, name : String
, connectionPlaceholder : String
, connectionNameInfo : String
, smtpHost : String
, smtpHostPlaceholder : String
, smtpPort : String
, smtpUser : String
, smtpUserPlaceholder : String
, smtpPassword : String
, smtpPasswordPlaceholder : String
, fromAddress : String
, fromAddressPlaceholder : String
, replyTo : String
, replyToPlaceholder : String
, ssl : String
, ignoreCertCheck : String
}
gb : Texts
gb =
{ sslTypeLabel = Messages.Data.SSLType.gb
, name = "Name"
, connectionPlaceholder = "Connection name, e.g. 'gmail.com'"
, connectionNameInfo = "The connection name must not contain whitespace or special characters."
, smtpHost = "SMTP Host"
, smtpHostPlaceholder = "SMTP host name, e.g. 'mail.gmail.com'"
, smtpPort = "SMTP Port"
, smtpUser = "SMTP User"
, smtpUserPlaceholder = "SMTP Username, e.g. 'your.name@gmail.com'"
, smtpPassword = "SMTP Password"
, smtpPasswordPlaceholder = "Password"
, fromAddress = "From Address"
, fromAddressPlaceholder = "Sender E-Mail address"
, replyTo = "Reply-To"
, replyToPlaceholder = "Optional reply-to E-Mail address"
, ssl = "SSL"
, ignoreCertCheck = "Ignore certificate check"
}

View File

@ -0,0 +1,28 @@
module Messages.Comp.EmailSettingsManage exposing (..)
import Messages.Basics
import Messages.Comp.EmailSettingsForm
import Messages.Comp.EmailSettingsTable
type alias Texts =
{ basics : Messages.Basics.Texts
, settingsForm : Messages.Comp.EmailSettingsForm.Texts
, settingsTable : Messages.Comp.EmailSettingsTable.Texts
, newSettings : String
, addNewSmtpSettings : String
, reallyDeleteConnection : String
, deleteThisEntry : String
}
gb : Texts
gb =
{ basics = Messages.Basics.gb
, settingsForm = Messages.Comp.EmailSettingsForm.gb
, settingsTable = Messages.Comp.EmailSettingsTable.gb
, newSettings = "New Settings"
, addNewSmtpSettings = "Add new SMTP settings"
, reallyDeleteConnection = "Really delete these connection?"
, deleteThisEntry = "Delete this connection"
}

View File

@ -0,0 +1,16 @@
module Messages.Comp.EmailSettingsTable exposing (..)
type alias Texts =
{ name : String
, hostPort : String
, from : String
}
gb : Texts
gb =
{ name = "Name"
, hostPort = "Host/Port"
, from = "From"
}

View File

@ -0,0 +1,15 @@
module Messages.Comp.EquipmentForm exposing (..)
import Data.EquipmentUse exposing (EquipmentUse)
import Messages.Data.EquipmentUse
type alias Texts =
{ equipmentUseLabel : EquipmentUse -> String
}
gb : Texts
gb =
{ equipmentUseLabel = Messages.Data.EquipmentUse.gb
}

View File

@ -0,0 +1,28 @@
module Messages.Comp.EquipmentManage exposing (..)
import Messages.Basics
import Messages.Comp.EquipmentForm
import Messages.Comp.EquipmentTable
type alias Texts =
{ basics : Messages.Basics.Texts
, equipmentTable : Messages.Comp.EquipmentTable.Texts
, equipmentForm : Messages.Comp.EquipmentForm.Texts
, createNewEquipment : String
, newEquipment : String
, reallyDeleteEquipment : String
, deleteThisEquipment : String
}
gb : Texts
gb =
{ basics = Messages.Basics.gb
, equipmentTable = Messages.Comp.EquipmentTable.gb
, equipmentForm = Messages.Comp.EquipmentForm.gb
, createNewEquipment = "Create a new equipment"
, newEquipment = "New Equipment"
, reallyDeleteEquipment = "Really delete this equipment?"
, deleteThisEquipment = "Delete this equipment"
}

View File

@ -0,0 +1,19 @@
module Messages.Comp.EquipmentTable exposing (..)
import Data.EquipmentUse exposing (EquipmentUse)
import Messages.Data.EquipmentUse
type alias Texts =
{ name : String
, use : String
, equipmentUseLabel : EquipmentUse -> String
}
gb : Texts
gb =
{ name = "Name"
, use = "Use"
, equipmentUseLabel = Messages.Data.EquipmentUse.gb
}

View File

@ -0,0 +1,34 @@
module Messages.Comp.FolderDetail exposing (..)
import Messages.Basics
type alias Texts =
{ basics : Messages.Basics.Texts
, reallyDeleteThisFolder : String
, autoOwnerInfo : String
, modifyInfo : String
, notOwnerInfo : String
, name : String
, members : String
, addMember : String
, add : String
, removeMember : String
, deleteThisFolder : String
}
gb : Texts
gb =
{ basics = Messages.Basics.gb
, reallyDeleteThisFolder = "Really delete this folder?"
, autoOwnerInfo = "You are automatically set as owner of this new folder."
, modifyInfo = "Modify this folder by changing the name or add/remove members."
, notOwnerInfo = "You are not the owner of this folder and therefore are not allowed to edit it."
, name = "Name"
, members = "Members"
, addMember = "Add a new member"
, add = "Add"
, removeMember = "Remove this member"
, deleteThisFolder = "Delete this folder"
}

View File

@ -0,0 +1,26 @@
module Messages.Comp.FolderManage exposing (..)
import Messages.Basics
import Messages.Comp.FolderDetail
import Messages.Comp.FolderTable
type alias Texts =
{ basics : Messages.Basics.Texts
, folderDetail : Messages.Comp.FolderDetail.Texts
, folderTable : Messages.Comp.FolderTable.Texts
, showOwningFoldersOnly : String
, createNewFolder : String
, newFolder : String
}
gb : Texts
gb =
{ basics = Messages.Basics.gb
, folderDetail = Messages.Comp.FolderDetail.gb
, folderTable = Messages.Comp.FolderTable.gb
, showOwningFoldersOnly = "Show owning folders only"
, createNewFolder = "Create a new folder"
, newFolder = "New Folder"
}

View File

@ -0,0 +1,18 @@
module Messages.Comp.FolderTable exposing (..)
import Messages.Basics
type alias Texts =
{ basics : Messages.Basics.Texts
, name : String
, memberCount : String
}
gb : Texts
gb =
{ basics = Messages.Basics.gb
, name = "Name"
, memberCount = "#Member"
}

View File

@ -0,0 +1,43 @@
module Messages.Comp.ImapSettingsForm exposing (..)
import Data.SSLType exposing (SSLType)
import Messages.Data.SSLType
type alias Texts =
{ sslTypeLabel : SSLType -> String
, name : String
, connectionNamePlaceholder : String
, connectionNameInfo : String
, imapHost : String
, imapHostPlaceholder : String
, imapPort : String
, imapUser : String
, imapUserPlaceholder : String
, imapPassword : String
, imapPasswordPlaceholder : String
, ssl : String
, ignoreCertCheck : String
, enableOAuth2 : String
, oauth2Info : String
}
gb : Texts
gb =
{ sslTypeLabel = Messages.Data.SSLType.gb
, name = "Name"
, connectionNamePlaceholder = "Connection name, e.g. 'gmail.com'"
, connectionNameInfo = "The connection name must not contain whitespace or special characters."
, imapHost = "IMAP Host"
, imapHostPlaceholder = "IMAP host name, e.g. 'mail.gmail.com'"
, imapPort = "IMAP Port"
, imapUser = "IMAP User"
, imapUserPlaceholder = "IMAP Username, e.g. 'your.name@gmail.com'"
, imapPassword = "IMAP Password"
, imapPasswordPlaceholder = "Password"
, ssl = "SSL"
, ignoreCertCheck = "Ignore certificate check"
, enableOAuth2 = "Enable OAuth2 authentication"
, oauth2Info = "Enabling this, allows to connect via XOAuth using the password as access token."
}

View File

@ -0,0 +1,28 @@
module Messages.Comp.ImapSettingsManage exposing (..)
import Messages.Basics
import Messages.Comp.ImapSettingsForm
import Messages.Comp.ImapSettingsTable
type alias Texts =
{ basics : Messages.Basics.Texts
, imapForm : Messages.Comp.ImapSettingsForm.Texts
, imapTable : Messages.Comp.ImapSettingsTable.Texts
, addNewImapSettings : String
, newSettings : String
, reallyDeleteSettings : String
, deleteThisEntry : String
}
gb : Texts
gb =
{ basics = Messages.Basics.gb
, imapForm = Messages.Comp.ImapSettingsForm.gb
, imapTable = Messages.Comp.ImapSettingsTable.gb
, addNewImapSettings = "Add new IMAP settings"
, newSettings = "New Settings"
, reallyDeleteSettings = "Really delete this mail-box connection?"
, deleteThisEntry = "Delete this settings entry"
}

View File

@ -0,0 +1,14 @@
module Messages.Comp.ImapSettingsTable exposing (..)
type alias Texts =
{ name : String
, hostPort : String
}
gb : Texts
gb =
{ name = "Name"
, hostPort = "Host/Port"
}

View File

@ -0,0 +1,12 @@
module Messages.Comp.ItemCard exposing (..)
type alias Texts =
{ folder : String
}
gb : Texts
gb =
{ folder = "Folder"
}

View File

@ -0,0 +1,14 @@
module Messages.Comp.ItemCardList exposing (..)
import Messages.Comp.ItemCard
type alias Texts =
{ itemCard : Messages.Comp.ItemCard.Texts
}
gb : Texts
gb =
{ itemCard = Messages.Comp.ItemCard.gb
}

View File

@ -0,0 +1,66 @@
module Messages.Comp.ItemDetail exposing (..)
import Messages.Comp.DetailEdit
import Messages.Comp.ItemDetail.AddFilesForm
import Messages.Comp.ItemDetail.ItemInfoHeader
import Messages.Comp.ItemDetail.Notes
import Messages.Comp.ItemDetail.SingleAttachment
import Messages.Comp.ItemMail
import Messages.Comp.SentMails
type alias Texts =
{ addFilesForm : Messages.Comp.ItemDetail.AddFilesForm.Texts
, itemInfoHeader : Messages.Comp.ItemDetail.ItemInfoHeader.Texts
, singleAttachment : Messages.Comp.ItemDetail.SingleAttachment.Texts
, sentMails : Messages.Comp.SentMails.Texts
, notes : Messages.Comp.ItemDetail.Notes.Texts
, itemMail : Messages.Comp.ItemMail.Texts
, detailEdit : Messages.Comp.DetailEdit.Texts
, key : String
, backToSearchResults : String
, previousItem : String
, nextItem : String
, sendMail : String
, addMoreFiles : String
, confirmItemMetadata : String
, confirm : String
, unconfirmItemMetadata : String
, reprocessItem : String
, deleteThisItem : String
, sentEmails : String
, sendThisItemViaEmail : String
, itemId : String
, createdOn : String
, lastUpdateOn : String
, sendingMailNow : String
}
gb : Texts
gb =
{ addFilesForm = Messages.Comp.ItemDetail.AddFilesForm.gb
, itemInfoHeader = Messages.Comp.ItemDetail.ItemInfoHeader.gb
, singleAttachment = Messages.Comp.ItemDetail.SingleAttachment.gb
, sentMails = Messages.Comp.SentMails.gb
, notes = Messages.Comp.ItemDetail.Notes.gb
, itemMail = Messages.Comp.ItemMail.gb
, detailEdit = Messages.Comp.DetailEdit.gb
, key = "Key"
, backToSearchResults = "Back to search results"
, previousItem = "Previous item."
, nextItem = "Next item."
, sendMail = "Send Mail"
, addMoreFiles = "Add more files to this item"
, confirmItemMetadata = "Confirm item metadata"
, confirm = "Confirm"
, unconfirmItemMetadata = "Un-confirm item metadata"
, reprocessItem = "Reprocess this item"
, deleteThisItem = "Delete this item"
, sentEmails = "Sent E-Mails"
, sendThisItemViaEmail = "Send this item via E-Mail"
, itemId = "Item ID"
, createdOn = "Created on"
, lastUpdateOn = "Last update on"
, sendingMailNow = "Sending e-mail"
}

View File

@ -0,0 +1,27 @@
module Messages.Comp.ItemDetail.AddFilesForm exposing (..)
import Messages.Basics
import Messages.Comp.Dropzone
type alias Texts =
{ dropzone : Messages.Comp.Dropzone.Texts
, basics : Messages.Basics.Texts
, addMoreFilesToItem : String
, reset : String
, filesSubmittedInfo : String
, refreshNow : String
}
gb : Texts
gb =
{ dropzone = Messages.Comp.Dropzone.gb
, basics = Messages.Basics.gb
, addMoreFilesToItem = "Add more files to this item"
, reset = "Reset"
, filesSubmittedInfo =
"All files have been uploaded. They are being processed, some data "
++ "may not be available immediately. "
, refreshNow = "Refresh now"
}

View File

@ -0,0 +1,68 @@
module Messages.Comp.ItemDetail.EditForm exposing (..)
import Messages.Basics
import Messages.Comp.CustomFieldMultiInput
type alias Texts =
{ basics : Messages.Basics.Texts
, customFieldInput : Messages.Comp.CustomFieldMultiInput.Texts
, createNewCustomField : String
, chooseDirection : String
, selectPlaceholder : String
, nameTab : String
, dateTab : String
, folderTab : String
, folderNotOwnerWarning : String
, customFieldsTab : String
, dueDateTab : String
, correspondentTab : String
, organization : String
, addNewOrg : String
, editOrg : String
, chooseOrg : String
, addNewCorrespondentPerson : String
, editPerson : String
, personOrgInfo : String
, concerningTab : String
, addNewConcerningPerson : String
, addNewEquipment : String
, editEquipment : String
, directionTab : String
, suggestions : String
}
gb : Texts
gb =
{ basics = Messages.Basics.gb
, customFieldInput = Messages.Comp.CustomFieldMultiInput.gb
, createNewCustomField = "Create new custom field"
, chooseDirection = "Choose a direction"
, selectPlaceholder = "Select"
, nameTab = "Name"
, dateTab = "Date"
, folderTab = "Folder"
, folderNotOwnerWarning =
"""
You are **not a member** of this folder. This item will be **hidden**
from any search now. Use a folder where you are a member of to make this
item visible. This message will disappear then.
"""
, customFieldsTab = "Custom Fields"
, dueDateTab = "Due Date"
, correspondentTab = "Correspondent"
, organization = "Organization"
, addNewOrg = "Add new organization"
, editOrg = "Edit organization"
, chooseOrg = "Choose an organization"
, addNewCorrespondentPerson = "Add new correspondent person"
, editPerson = "Edit person"
, personOrgInfo = "The selected person doesn't belong to the selected organization."
, concerningTab = "Concerning"
, addNewConcerningPerson = "Add new concerning person"
, addNewEquipment = "Add new equipment"
, editEquipment = "Edit equipment"
, directionTab = "Direction"
, suggestions = "Suggestions"
}

View File

@ -0,0 +1,24 @@
module Messages.Comp.ItemDetail.ItemInfoHeader exposing (..)
type alias Texts =
{ itemDate : String
, dueDate : String
, correspondent : String
, concerning : String
, folder : String
, source : String
, new : String
}
gb : Texts
gb =
{ itemDate = "Item Date"
, dueDate = "Due Date"
, correspondent = "Correspondent"
, concerning = "Concerning"
, folder = "Folder"
, source = "Source"
, new = "New"
}

View File

@ -0,0 +1,64 @@
module Messages.Comp.ItemDetail.MultiEditMenu exposing (..)
import Messages.Basics
import Messages.Comp.CustomFieldMultiInput
type alias Texts =
{ basics : Messages.Basics.Texts
, customFieldMultiInput : Messages.Comp.CustomFieldMultiInput.Texts
, tagModeAddInfo : String
, tagModeRemoveInfo : String
, tagModeReplaceInfo : String
, selectPlaceholder : String
, chooseDirection : String
, confirmUnconfirm : String
, confirm : String
, unconfirm : String
, changeTagMode : String
, folderTab : String
, folderNotOwnerWarning : String
, customFieldsTab : String
, dateTab : String
, dueDateTab : String
, correspondentTab : String
, organization : String
, person : String
, concerningTab : String
, equipment : String
, directionTab : String
, nameTab : String
}
gb : Texts
gb =
{ basics = Messages.Basics.gb
, customFieldMultiInput = Messages.Comp.CustomFieldMultiInput.gb
, tagModeAddInfo = "Tags chosen here are *added* to all selected items."
, tagModeRemoveInfo = "Tags chosen here are *removed* from all selected items."
, tagModeReplaceInfo = "Tags chosen here *replace* those on selected items."
, selectPlaceholder = "Select"
, chooseDirection = "Choose a direction"
, confirmUnconfirm = "Confirm/Unconfirm item metadata"
, confirm = "Confirm"
, unconfirm = "Unconfirm"
, changeTagMode = "Change tag edit mode"
, folderTab = "Folder"
, folderNotOwnerWarning =
"""
You are **not a member** of this folder. This item will be **hidden**
from any search now. Use a folder where you are a member of to make this
item visible. This message will disappear then.
"""
, customFieldsTab = "Custom Fields"
, dateTab = "Date"
, dueDateTab = "Due Date"
, correspondentTab = "Correspondent"
, organization = "Organization"
, person = "Person"
, concerningTab = "Concerning"
, equipment = "Equipment"
, directionTab = "Direction"
, nameTab = "Name"
}

View File

@ -0,0 +1,20 @@
module Messages.Comp.ItemDetail.Notes exposing (..)
import Messages.Basics
type alias Texts =
{ basics : Messages.Basics.Texts
, notes : String
, preview : String
, supportsMarkdown : String
}
gb : Texts
gb =
{ basics = Messages.Basics.gb
, notes = "Notes"
, preview = "Preview"
, supportsMarkdown = "Supports Markdown"
}

View File

@ -0,0 +1,34 @@
module Messages.Comp.ItemDetail.SingleAttachment exposing (..)
import Messages.Comp.AttachmentMeta
type alias Texts =
{ attachmentMeta : Messages.Comp.AttachmentMeta.Texts
, noName : String
, openFileInNewTab : String
, downloadFile : String
, renameFile : String
, downloadOriginalArchiveFile : String
, originalFile : String
, renderPdfByBrowser : String
, viewExtractedData : String
, reprocessFile : String
, deleteThisFile : String
}
gb : Texts
gb =
{ attachmentMeta = Messages.Comp.AttachmentMeta.gb
, noName = "No name"
, openFileInNewTab = "Open file in new tab"
, downloadFile = "Download file"
, renameFile = "Rename file"
, downloadOriginalArchiveFile = "Download original archive"
, originalFile = "Original file"
, renderPdfByBrowser = "Render pdf by browser"
, viewExtractedData = "View extracted data"
, reprocessFile = "Re-process this file"
, deleteThisFile = "Delete this file"
}

View File

@ -0,0 +1,30 @@
module Messages.Comp.ItemMail exposing (..)
import Messages.Basics
type alias Texts =
{ basics : Messages.Basics.Texts
, selectConnection : String
, sendVia : String
, recipients : String
, ccRecipients : String
, bccRecipients : String
, subject : String
, body : String
, includeAllAttachments : String
}
gb : Texts
gb =
{ basics = Messages.Basics.gb
, selectConnection = "Select connection..."
, sendVia = "Send via"
, recipients = "Recipient(s)"
, ccRecipients = "CC recipient(s)"
, bccRecipients = "BCC recipient(s)..."
, subject = "Subject"
, body = "Body"
, includeAllAttachments = "Include all item attachments"
}

View File

@ -0,0 +1,67 @@
module Messages.Comp.NotificationForm exposing (..)
import Messages.Basics
import Messages.Comp.CalEventInput
type alias Texts =
{ basics : Messages.Basics.Texts
, calEventInput : Messages.Comp.CalEventInput.Texts
, reallyDeleteTask : String
, startOnce : String
, startTaskNow : String
, selectConnection : String
, deleteThisTask : String
, enableDisable : String
, summary : String
, summaryInfo : String
, sendVia : String
, sendViaInfo : String
, recipients : String
, recipientsInfo : String
, tagsInclude : String
, tagsIncludeInfo : String
, tagsExclude : String
, tagsExcludeInfo : String
, remindDaysInfo : String
, remindDaysLabel : String
, capOverdue : String
, capOverdueInfo : String
, schedule : String
, scheduleClickForHelp : String
, scheduleInfo : String
}
gb : Texts
gb =
{ basics = Messages.Basics.gb
, calEventInput = Messages.Comp.CalEventInput.gb
, reallyDeleteTask = "Really delete this notification task?"
, startOnce = "Start Once"
, startTaskNow = "Start this task now"
, selectConnection = "Select connection..."
, deleteThisTask = "Delete this task"
, enableDisable = "Enable or disable this task."
, summary = "Summary"
, summaryInfo = "Some human readable name, only for displaying"
, sendVia = "Send via"
, sendViaInfo = "The SMTP connection to use when sending notification mails."
, recipients = "Recipient(s)"
, recipientsInfo = "One or more mail addresses, confirm each by pressing 'Return'."
, tagsInclude = "Tags Include (and)"
, tagsIncludeInfo = "Items must have all the tags specified here."
, tagsExclude = "Tags Exclude (or)"
, tagsExcludeInfo = "Items must not have any tag specified here."
, remindDaysLabel = "Remind Days"
, remindDaysInfo = "Select items with a due date *lower than* `today+remindDays`"
, capOverdue = "Cap overdue items"
, capOverdueInfo = "If checked, only items with a due date *greater than* `today - remindDays` are considered."
, schedule = "Schedule"
, scheduleClickForHelp = "Click here for help"
, scheduleInfo =
"Specify how often and when this task should run. "
++ "Use English 3-letter weekdays. Either a single value, "
++ "a list (ex. 1,2,3), a range (ex. 1..3) or a '*' (meaning all) "
++ "is allowed for each part."
}

View File

@ -0,0 +1,24 @@
module Messages.Comp.NotificationManage exposing (..)
import Messages.Basics
import Messages.Comp.NotificationForm
import Messages.Comp.NotificationTable
type alias Texts =
{ basics : Messages.Basics.Texts
, notificationForm : Messages.Comp.NotificationForm.Texts
, notificationTable : Messages.Comp.NotificationTable.Texts
, newTask : String
, createNewTask : String
}
gb : Texts
gb =
{ basics = Messages.Basics.gb
, notificationForm = Messages.Comp.NotificationForm.gb
, notificationTable = Messages.Comp.NotificationTable.gb
, newTask = "New Task"
, createNewTask = "Create a new notification task"
}

View File

@ -0,0 +1,18 @@
module Messages.Comp.NotificationTable exposing (..)
type alias Texts =
{ summary : String
, schedule : String
, connection : String
, recipients : String
}
gb : Texts
gb =
{ summary = "Summary"
, schedule = "Schedule"
, connection = "Connection"
, recipients = "Recipients"
}

View File

@ -0,0 +1,38 @@
module Messages.Comp.OrgForm exposing (..)
import Data.ContactType exposing (ContactType)
import Data.OrgUse exposing (OrgUse)
import Messages.Comp.AddressForm
import Messages.Data.ContactType
import Messages.Data.OrgUse
type alias Texts =
{ addressForm : Messages.Comp.AddressForm.Texts
, orgUseLabel : OrgUse -> String
, name : String
, shortName : String
, use : String
, useAsCorrespondent : String
, dontUseForSuggestions : String
, address : String
, contacts : String
, contactTypeLabel : ContactType -> String
, notes : String
}
gb : Texts
gb =
{ addressForm = Messages.Comp.AddressForm.gb
, orgUseLabel = Messages.Data.OrgUse.gb
, name = "Name"
, shortName = "Short Name"
, use = "Use"
, useAsCorrespondent = "Use as correspondent"
, dontUseForSuggestions = "Do not use for suggestions."
, address = "Address"
, contacts = "Contacts"
, contactTypeLabel = Messages.Data.ContactType.gb
, notes = "Notes"
}

View File

@ -0,0 +1,28 @@
module Messages.Comp.OrgManage exposing (..)
import Messages.Basics
import Messages.Comp.OrgForm
import Messages.Comp.OrgTable
type alias Texts =
{ basics : Messages.Basics.Texts
, orgForm : Messages.Comp.OrgForm.Texts
, orgTable : Messages.Comp.OrgTable.Texts
, newOrganization : String
, createNewOrganization : String
, reallyDeleteOrg : String
, deleteThisOrg : String
}
gb : Texts
gb =
{ basics = Messages.Basics.gb
, orgForm = Messages.Comp.OrgForm.gb
, orgTable = Messages.Comp.OrgTable.gb
, newOrganization = "New Organization"
, createNewOrganization = "Create a new organization"
, reallyDeleteOrg = "Really delete this organization?"
, deleteThisOrg = "Delete this organization"
}

View File

@ -0,0 +1,24 @@
module Messages.Comp.OrgTable exposing (..)
import Data.OrgUse exposing (OrgUse)
import Messages.Basics
import Messages.Data.OrgUse
type alias Texts =
{ basics : Messages.Basics.Texts
, name : String
, address : String
, contact : String
, orgUseLabel : OrgUse -> String
}
gb : Texts
gb =
{ basics = Messages.Basics.gb
, name = "Name"
, address = "Address"
, contact = "Contact"
, orgUseLabel = Messages.Data.OrgUse.gb
}

View File

@ -0,0 +1,44 @@
module Messages.Comp.PersonForm exposing (..)
import Data.ContactType exposing (ContactType)
import Data.PersonUse exposing (PersonUse)
import Messages.Comp.AddressForm
import Messages.Data.ContactType
import Messages.Data.PersonUse
type alias Texts =
{ addressForm : Messages.Comp.AddressForm.Texts
, personUseLabel : PersonUse -> String
, name : String
, useOfPerson : String
, useAsConcerningOnly : String
, useAsCorrespondentOnly : String
, useAsBoth : String
, dontUseForSuggestions : String
, organization : String
, chooseAnOrg : String
, address : String
, contacts : String
, contactTypeLabel : ContactType -> String
, notes : String
}
gb : Texts
gb =
{ addressForm = Messages.Comp.AddressForm.gb
, personUseLabel = Messages.Data.PersonUse.gb
, name = "Name"
, useOfPerson = "Use of this person"
, useAsConcerningOnly = "Use as concerning person only"
, useAsCorrespondentOnly = "Use as correspondent person only"
, useAsBoth = "Use as both concerning or correspondent person"
, dontUseForSuggestions = "Do not use for suggestions."
, organization = "Organization"
, chooseAnOrg = "Choose an organization"
, address = "Address"
, contacts = "Contacts"
, contactTypeLabel = Messages.Data.ContactType.gb
, notes = "Notes"
}

View File

@ -0,0 +1,28 @@
module Messages.Comp.PersonManage exposing (..)
import Messages.Basics
import Messages.Comp.PersonForm
import Messages.Comp.PersonTable
type alias Texts =
{ basics : Messages.Basics.Texts
, personForm : Messages.Comp.PersonForm.Texts
, personTable : Messages.Comp.PersonTable.Texts
, newPerson : String
, createNewPerson : String
, reallyDeletePerson : String
, deleteThisPerson : String
}
gb : Texts
gb =
{ basics = Messages.Basics.gb
, personForm = Messages.Comp.PersonForm.gb
, personTable = Messages.Comp.PersonTable.gb
, newPerson = "New Person"
, createNewPerson = "Create a new person"
, reallyDeletePerson = "Really delete this person?"
, deleteThisPerson = "Delete this person"
}

View File

@ -0,0 +1,24 @@
module Messages.Comp.PersonTable exposing (..)
import Data.PersonUse exposing (PersonUse)
import Messages.Basics
import Messages.Data.PersonUse
type alias Texts =
{ basics : Messages.Basics.Texts
, name : String
, address : String
, contact : String
, personUseLabel : PersonUse -> String
}
gb : Texts
gb =
{ basics = Messages.Basics.gb
, name = "Name"
, address = "Address"
, contact = "Contact"
, personUseLabel = Messages.Data.PersonUse.gb
}

View File

@ -0,0 +1,138 @@
module Messages.Comp.ScanMailboxForm exposing (..)
import Messages.Basics
import Messages.Comp.CalEventInput
type alias Texts =
{ basics : Messages.Basics.Texts
, calEventInput : Messages.Comp.CalEventInput.Texts
, reallyDeleteTask : String
, startOnce : String
, startNow : String
, deleteThisTask : String
, generalTab : String
, processingTab : String
, additionalFilterTab : String
, postProcessingTab : String
, metadataTab : String
, scheduleTab : String
, processingTabInfo : String
, additionalFilterTabInfo : String
, postProcessingTabInfo : String
, metadataTabInfo : String
, scheduleTabInfo : String
, selectConnection : String
, enableDisable : String
, mailbox : String
, summary : String
, summaryInfo : String
, connectionInfo : String
, folders : String
, foldersInfo : String
, receivedHoursInfo : String
, receivedHoursLabel : String
, fileFilter : String
, fileFilterInfo : String
, subjectFilter : String
, subjectFilterInfo : String
, postProcessingLabel : String
, postProcessingInfo : String
, targetFolder : String
, targetFolderInfo : String
, deleteMailLabel : String
, deleteMailInfo : String
, itemDirection : String
, automatic : String
, itemDirectionInfo : String
, itemFolder : String
, itemFolderInfo : String
, folderOwnerWarning : String
, tagsInfo : String
, documentLanguage : String
, documentLanguageInfo : String
, schedule : String
, scheduleClickForHelp : String
, scheduleInfo : String
}
gb : Texts
gb =
{ basics = Messages.Basics.gb
, calEventInput = Messages.Comp.CalEventInput.gb
, reallyDeleteTask = "Really delete this scan mailbox task?"
, startOnce = "Start Once"
, startNow = "Start this task now"
, deleteThisTask = "Delete this task"
, generalTab = "General"
, processingTab = "Processing"
, additionalFilterTab = "Additional Filter"
, postProcessingTab = "Post Processing"
, metadataTab = "Metadata"
, scheduleTab = "Schedule"
, processingTabInfo = "These settings define which mails are fetched from the mail server."
, additionalFilterTabInfo = "These filters are applied to mails that have been fetched from the mailbox to select those that should be imported."
, postProcessingTabInfo = "This defines what happens to mails that have been downloaded."
, metadataTabInfo = "Define metadata that should be attached to all items created by this task."
, scheduleTabInfo = "Define when mails should be imported."
, selectConnection = "Select connection..."
, enableDisable = "Enable or disable this task."
, mailbox = "Mailbox"
, summary = "Summary"
, summaryInfo = "Some human readable name, only for displaying"
, connectionInfo = "The IMAP connection to use when sending notification mails."
, folders = "Folders"
, foldersInfo = "The folders to look for mails."
, receivedHoursInfo = "Select mails newer than `now - receivedHours`"
, receivedHoursLabel = "Received Since Hours"
, fileFilter = "File Filter"
, fileFilterInfo =
"Specify a file glob to filter attachments. For example, to only extract pdf files: "
++ "`*.pdf`. If you want to include the mail body, allow html files or "
++ "`mail.html`. Globs can be combined via OR, like this: "
++ "`*.pdf|mail.html`. No file filter defaults to "
++ "`*` that includes all"
, subjectFilter = "Subject Filter"
, subjectFilterInfo =
"Specify a file glob to filter mails by subject. For example: "
++ "`*Scanned Document*`. No file filter defaults to `*` that includes all."
, postProcessingLabel = "Apply post-processing to all fetched mails."
, postProcessingInfo =
"When mails are fetched but not imported due to the 'Additional Filters', this flag can "
++ "control whether they should be moved to a target folder or deleted (whatever is "
++ "defined here) nevertheless. If unchecked only imported mails "
++ "are post-processed, others stay where they are."
, targetFolder = "Target folder"
, targetFolderInfo = "Move mails into this folder."
, deleteMailLabel = "Delete imported mails"
, deleteMailInfo =
"Whether to delete all mails fetched by docspell. This only applies if "
++ "*target folder* is not set."
, itemDirection = "Item direction"
, automatic = "Automatic"
, itemDirectionInfo =
"Sets the direction for an item. If you know all mails are incoming or "
++ "outgoing, you can set it here. Otherwise it will be guessed from looking "
++ "at sender and receiver."
, itemFolder = "Item Folder"
, itemFolderInfo = "Put all items from this mailbox into the selected folder"
, folderOwnerWarning = """
You are **not a member** of this folder. Items created from mails in
this mailbox 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."
, documentLanguage = "Language"
, documentLanguageInfo =
"Used for text extraction and text analysis. The "
++ "collective's default language is used, if not specified here."
, schedule = "Schedule"
, scheduleClickForHelp = "Click here for help"
, scheduleInfo =
"Specify how often and when this task should run. "
++ "Use English 3-letter weekdays. Either a single value, "
++ "a list (ex. 1,2,3), a range (ex. 1..3) or a '*' (meaning all) "
++ "is allowed for each part."
}

View File

@ -0,0 +1,24 @@
module Messages.Comp.ScanMailboxManage exposing (..)
import Messages.Basics
import Messages.Comp.ScanMailboxForm
import Messages.Comp.ScanMailboxTable
type alias Texts =
{ basics : Messages.Basics.Texts
, form : Messages.Comp.ScanMailboxForm.Texts
, table : Messages.Comp.ScanMailboxTable.Texts
, newTask : String
, createNewTask : String
}
gb : Texts
gb =
{ basics = Messages.Basics.gb
, form = Messages.Comp.ScanMailboxForm.gb
, table = Messages.Comp.ScanMailboxTable.gb
, newTask = "New Task"
, createNewTask = "Create a new scan mailbox task"
}

View File

@ -0,0 +1,18 @@
module Messages.Comp.ScanMailboxTable exposing (..)
type alias Texts =
{ summary : String
, connection : String
, folders : String
, receivedSince : String
}
gb : Texts
gb =
{ summary = "Summary"
, connection = "Connection"
, folders = "Folders"
, receivedSince = "Received Since"
}

View File

@ -0,0 +1,80 @@
module Messages.Comp.SearchMenu exposing (..)
import Messages.Basics
import Messages.Comp.CustomFieldMultiInput
import Messages.Comp.TagSelect
type alias Texts =
{ basics : Messages.Basics.Texts
, customFieldMultiInput : Messages.Comp.CustomFieldMultiInput.Texts
, tagSelect : Messages.Comp.TagSelect.Texts
, chooseDirection : String
, choosePerson : String
, chooseEquipment : String
, inbox : String
, fulltextSearch : String
, searchInNames : String
, switchSearchModes : String
, contentSearch : String
, searchInNamesPlaceholder : String
, fulltextSearchInfo : String
, nameSearchInfo : String
, tagCategoryTab : String
, folderTab : String
, correspondentTab : String
, organization : String
, chooseOrganization : String
, person : String
, concerningTab : String
, equipment : String
, customFieldsTab : String
, createCustomFieldTitle : String
, dateTab : String
, from : String
, to : String
, dueDateTab : String
, dueFrom : String
, dueTo : String
, sourceTab : String
, searchInItemSource : String
, directionTab : String
}
gb : Texts
gb =
{ basics = Messages.Basics.gb
, customFieldMultiInput = Messages.Comp.CustomFieldMultiInput.gb
, tagSelect = Messages.Comp.TagSelect.gb
, chooseDirection = "Choose a direction"
, choosePerson = "Choose a person"
, chooseEquipment = "Choose an equipment"
, inbox = "Inbox"
, fulltextSearch = "Fulltext Search"
, searchInNames = "Search in names"
, switchSearchModes = "Switch between text search modes"
, contentSearch = "Content search"
, searchInNamesPlaceholder = "Search in various names"
, fulltextSearchInfo = "Fulltext search in document contents and notes."
, nameSearchInfo = "Looks in correspondents, concerned entities, item name and notes."
, tagCategoryTab = "Tag Categories"
, folderTab = "Folder"
, correspondentTab = "Correspondent"
, organization = "Organization"
, chooseOrganization = "Choose an organization"
, person = "Person"
, concerningTab = "Concerning"
, equipment = "Equipment"
, customFieldsTab = "Custom Fields"
, createCustomFieldTitle = "Create a new custom field"
, dateTab = "Date"
, from = "From"
, to = "To"
, dueDateTab = "Due Date"
, dueFrom = "Due From"
, dueTo = "Due To"
, sourceTab = "Source"
, searchInItemSource = "Search in item source"
, directionTab = "Direction"
}

View File

@ -0,0 +1,22 @@
module Messages.Comp.SearchStatsView exposing (..)
type alias Texts =
{ items : String
, count : String
, sum : String
, avg : String
, min : String
, max : String
}
gb : Texts
gb =
{ items = "Items"
, count = "Count"
, sum = "Sum"
, avg = "Avg"
, min = "Min"
, max = "Max"
}

View File

@ -0,0 +1,22 @@
module Messages.Comp.SentMails exposing (..)
type alias Texts =
{ from : String
, date : String
, recipients : String
, subject : String
, sent : String
, sender : String
}
gb : Texts
gb =
{ from = "From"
, date = "Date"
, recipients = "Recipients"
, subject = "Subject"
, sent = "Sent"
, sender = "Sender"
}

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"
}

View File

@ -0,0 +1,53 @@
module Messages.Comp.SourceManage exposing (..)
import Messages.Basics
import Messages.Comp.SourceForm
import Messages.Comp.SourceTable
type alias Texts =
{ basics : Messages.Basics.Texts
, sourceTable : Messages.Comp.SourceTable.Texts
, sourceForm : Messages.Comp.SourceForm.Texts
, addSourceUrl : String
, newSource : String
, publicUploads : String
, sourceInfoText : String
, itemsCreatedInfo : Int -> String
, publicUploadPage : String
, copyToClipboard : String
, openInNewTab : String
, publicUploadUrl : String
, reallyDeleteSource : String
, createNewSource : String
, deleteThisSource : String
, errorGeneratingQR : String
}
gb : Texts
gb =
{ basics = Messages.Basics.gb
, sourceTable = Messages.Comp.SourceTable.gb
, sourceForm = Messages.Comp.SourceForm.gb
, addSourceUrl = "Add a source url"
, newSource = "New source"
, publicUploads = "Public Uploads"
, sourceInfoText =
"This source defines URLs that can be used by anyone to send files to "
++ "you. There is a web page that you can share or the API url can be used "
++ "with other clients."
, itemsCreatedInfo =
\n ->
"There have been "
++ String.fromInt n
++ " items created through this source."
, publicUploadPage = "Public Upload Page"
, copyToClipboard = "Copy to clipboard"
, openInNewTab = "Open in new tab/window"
, publicUploadUrl = "Public API Upload URL"
, reallyDeleteSource = "Really delete this source?"
, createNewSource = "Create new source"
, deleteThisSource = "Delete this source"
, errorGeneratingQR = "Error generating QR Code"
}

View File

@ -0,0 +1,22 @@
module Messages.Comp.SourceTable exposing (..)
type alias Texts =
{ abbrev : String
, enabled : String
, counter : String
, priority : String
, id : String
, show : String
}
gb : Texts
gb =
{ abbrev = "Abbrev"
, enabled = "Enabled"
, counter = "Counter"
, priority = "Priority"
, id = "Id"
, show = "Show"
}

View File

@ -0,0 +1,16 @@
module Messages.Comp.TagForm exposing (..)
type alias Texts =
{ selectDefineCategory : String
, name : String
, category : String
}
gb : Texts
gb =
{ selectDefineCategory = "Select or define category..."
, name = "Name"
, category = "Category"
}

View File

@ -0,0 +1,28 @@
module Messages.Comp.TagManage exposing (..)
import Messages.Basics
import Messages.Comp.TagForm
import Messages.Comp.TagTable
type alias Texts =
{ basics : Messages.Basics.Texts
, tagTable : Messages.Comp.TagTable.Texts
, tagForm : Messages.Comp.TagForm.Texts
, createNewTag : String
, newTag : String
, reallyDeleteTag : String
, deleteThisTag : String
}
gb : Texts
gb =
{ basics = Messages.Basics.gb
, tagTable = Messages.Comp.TagTable.gb
, tagForm = Messages.Comp.TagForm.gb
, createNewTag = "Create a new tag"
, newTag = "New Tag"
, reallyDeleteTag = "Really delete this tag?"
, deleteThisTag = "Delete this tag"
}

View File

@ -0,0 +1,16 @@
module Messages.Comp.TagSelect exposing (..)
type alias Texts =
{ hideEmpty : String
, showEmpty : String
, filterPlaceholder : String
}
gb : Texts
gb =
{ hideEmpty = "Hide empty"
, showEmpty = "Show empty"
, filterPlaceholder = "Filter "
}

View File

@ -0,0 +1,14 @@
module Messages.Comp.TagTable exposing (..)
type alias Texts =
{ name : String
, category : String
}
gb : Texts
gb =
{ name = "Name"
, category = "Category"
}

View File

@ -0,0 +1,87 @@
module Messages.Comp.UiSettingsForm exposing (..)
import Data.Color exposing (Color)
import Data.Fields exposing (Field)
import Messages.Data.Color
import Messages.Data.Fields
type alias Texts =
{ general : String
, showSideMenuByDefault : String
, uiLanguage : String
, itemSearch : String
, maxResultsPerPageInfo : Int -> String
, maxResultsPerPage : String
, showBasicSearchStatsByDefault : String
, enablePowerSearch : String
, itemCards : String
, maxNoteSize : String
, maxNoteSizeInfo : Int -> String
, sizeOfItemPreview : String
, cardTitlePattern : String
, togglePatternHelpText : String
, cardSubtitlePattern : String
, searchMenu : String
, searchMenuTagCount : String
, searchMenuTagCountInfo : String
, searchMenuCatCount : String
, searchMenuCatCountInfo : String
, searchMenuFolderCount : String
, searchMenuFolderCountInfo : String
, itemDetail : String
, browserNativePdfView : String
, keyboardShortcutLabel : String
, tagCategoryColors : String
, colorLabel : Color -> String
, chooseTagColorLabel : String
, tagColorDescription : String
, fields : String
, fieldsInfo : String
, fieldLabel : Field -> String
}
gb : Texts
gb =
{ general = "General"
, showSideMenuByDefault = "Show side menu by default"
, uiLanguage = "UI Language"
, itemSearch = "Item Search"
, maxResultsPerPageInfo =
\max ->
"Maximum results in one page when searching items. At most "
++ String.fromInt max
++ "."
, maxResultsPerPage = "Page size"
, showBasicSearchStatsByDefault = "Show basic search statistics by default"
, enablePowerSearch = "Enable power-user search bar"
, itemCards = "Item Cards"
, maxNoteSize = "Max. Note Length"
, maxNoteSizeInfo =
\max ->
"Maximum size of the item notes to display in card view. Between 0 - "
++ String.fromInt max
++ "."
, sizeOfItemPreview = "Size of item preview"
, cardTitlePattern = "Card Title Pattern"
, togglePatternHelpText = "Toggle pattern help text"
, cardSubtitlePattern = "Card Subtitle Pattern"
, searchMenu = "Search Menu"
, searchMenuTagCount = "Number of tags in search menu"
, searchMenuTagCountInfo = "How many tags to display in search menu at once. Others can be expanded. Use 0 to always show all."
, searchMenuCatCount = "Number of categories in search menu"
, searchMenuCatCountInfo = "How many categories to display in search menu at once. Others can be expanded. Use 0 to always show all."
, searchMenuFolderCount = "Number of folders in search menu"
, searchMenuFolderCountInfo = "How many folders to display in search menu at once. Other folders can be expanded. Use 0 to always show all."
, itemDetail = "Item Detail"
, browserNativePdfView = "Browser-native PDF preview"
, keyboardShortcutLabel = "Use keyboard shortcuts for navigation and confirm/unconfirm with open edit menu."
, tagCategoryColors = "Tag Category Colors"
, colorLabel = Messages.Data.Color.gb
, chooseTagColorLabel = "Choose color for tag categories"
, tagColorDescription = "Tags can be represented differently based on their category."
, fields = "Fields"
, fieldsInfo = "Choose which fields to display in search and edit menus."
, fieldLabel = Messages.Data.Fields.gb
}

View File

@ -0,0 +1,19 @@
module Messages.Comp.UiSettingsManage exposing (..)
import Messages.Basics
import Messages.Comp.UiSettingsForm
type alias Texts =
{ basics : Messages.Basics.Texts
, uiSettingsForm : Messages.Comp.UiSettingsForm.Texts
, saveSettings : String
}
gb : Texts
gb =
{ basics = Messages.Basics.gb
, uiSettingsForm = Messages.Comp.UiSettingsForm.gb
, saveSettings = "Save settings"
}

View File

@ -0,0 +1,18 @@
module Messages.Comp.UserForm exposing (..)
type alias Texts =
{ login : String
, state : String
, email : String
, password : String
}
gb : Texts
gb =
{ login = "Login"
, state = "State"
, email = "E-Mail"
, password = "Password"
}

View File

@ -0,0 +1,39 @@
module Messages.Comp.UserManage exposing (..)
import Messages.Basics
import Messages.Comp.UserForm
import Messages.Comp.UserTable
type alias Texts =
{ userTable : Messages.Comp.UserTable.Texts
, userForm : Messages.Comp.UserForm.Texts
, users : String
, newUser : String
, addNewUser : String
, reallyDeleteUser : String
, createNewUser : String
, basics : Messages.Basics.Texts
, deleteThisUser : String
, pleaseCorrectErrors : String
}
gb : Texts
gb =
{ userTable = Messages.Comp.UserTable.gb
, userForm = Messages.Comp.UserForm.gb
, basics = Messages.Basics.gb
, users = "Users"
, newUser = "New user"
, addNewUser = "Add new user"
, reallyDeleteUser = "Really delete this user?"
, createNewUser = "Create new user"
, deleteThisUser = "Delete this user"
, pleaseCorrectErrors = "Please correct the errors in the form."
}
de : Texts
de =
gb

View File

@ -0,0 +1,26 @@
module Messages.Comp.UserTable exposing (..)
import Messages.Basics
type alias Texts =
{ basics : Messages.Basics.Texts
, login : String
, state : String
, email : String
, logins : String
, lastLogin : String
, created : String
}
gb : Texts
gb =
{ basics = Messages.Basics.gb
, login = "Login"
, state = "State"
, email = "E-Mail"
, logins = "Logins"
, lastLogin = "Last Login"
, created = "Created"
}