mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-24 19:38:24 +00:00
Reorganize messages to reflect page structure
This commit is contained in:
@ -0,0 +1,44 @@
|
||||
module Messages.Page.CollectiveSettings exposing (..)
|
||||
|
||||
import Messages.Basics
|
||||
import Messages.Comp.CollectiveSettingsForm
|
||||
import Messages.Comp.SourceManage
|
||||
import Messages.Comp.UserManage
|
||||
|
||||
|
||||
type alias Texts =
|
||||
{ basics : Messages.Basics.Texts
|
||||
, userManage : Messages.Comp.UserManage.Texts
|
||||
, collectiveSettingsForm : Messages.Comp.CollectiveSettingsForm.Texts
|
||||
, sourceManage : Messages.Comp.SourceManage.Texts
|
||||
, collectiveSettings : String
|
||||
, insights : String
|
||||
, sources : String
|
||||
, settings : String
|
||||
, users : String
|
||||
, user : String
|
||||
, collective : String
|
||||
, size : String
|
||||
}
|
||||
|
||||
|
||||
gb : Texts
|
||||
gb =
|
||||
{ basics = Messages.Basics.gb
|
||||
, userManage = Messages.Comp.UserManage.gb
|
||||
, collectiveSettingsForm = Messages.Comp.CollectiveSettingsForm.gb
|
||||
, sourceManage = Messages.Comp.SourceManage.gb
|
||||
, collectiveSettings = "Collective Settings"
|
||||
, insights = "Insights"
|
||||
, sources = "Sources"
|
||||
, settings = "Settings"
|
||||
, users = "Users"
|
||||
, user = "User"
|
||||
, collective = "Collective"
|
||||
, size = "Size"
|
||||
}
|
||||
|
||||
|
||||
de : Texts
|
||||
de =
|
||||
gb
|
58
modules/webapp/src/main/elm/Messages/Page/Home.elm
Normal file
58
modules/webapp/src/main/elm/Messages/Page/Home.elm
Normal file
@ -0,0 +1,58 @@
|
||||
module Messages.Page.Home exposing (..)
|
||||
|
||||
import Messages.Basics
|
||||
import Messages.Comp.ItemCardList
|
||||
import Messages.Comp.SearchStatsView
|
||||
import Messages.Page.HomeSideMenu
|
||||
|
||||
|
||||
type alias Texts =
|
||||
{ basics : Messages.Basics.Texts
|
||||
, itemCardList : Messages.Comp.ItemCardList.Texts
|
||||
, searchStatsView : Messages.Comp.SearchStatsView.Texts
|
||||
, sideMenu : Messages.Page.HomeSideMenu.Texts
|
||||
, contentSearch : String
|
||||
, searchInNames : String
|
||||
, selectModeTitle : String
|
||||
, fullHeightPreviewTitle : String
|
||||
, fullWidthPreviewTitle : String
|
||||
, powerSearchPlaceholder : String
|
||||
, reallyReprocessQuestion : String
|
||||
, reallyDeleteQuestion : String
|
||||
, editSelectedItems : Int -> String
|
||||
, reprocessSelectedItems : Int -> String
|
||||
, deleteSelectedItems : Int -> String
|
||||
, selectAllVisible : String
|
||||
, selectNone : String
|
||||
, resetSearchForm : String
|
||||
, exitSelectMode : String
|
||||
}
|
||||
|
||||
|
||||
gb : Texts
|
||||
gb =
|
||||
{ basics = Messages.Basics.gb
|
||||
, itemCardList = Messages.Comp.ItemCardList.gb
|
||||
, searchStatsView = Messages.Comp.SearchStatsView.gb
|
||||
, sideMenu = Messages.Page.HomeSideMenu.gb
|
||||
, contentSearch = "Content search…"
|
||||
, searchInNames = "Search in names…"
|
||||
, selectModeTitle = "Select Mode"
|
||||
, fullHeightPreviewTitle = "Full height preview"
|
||||
, fullWidthPreviewTitle = "Full width preview"
|
||||
, powerSearchPlaceholder = "Search query …"
|
||||
, reallyReprocessQuestion = "Really reprocess all selected items? Metadata of unconfirmed items may change."
|
||||
, reallyDeleteQuestion = "Really delete all selected items?"
|
||||
, editSelectedItems = \n -> "Edit " ++ String.fromInt n ++ " selected items"
|
||||
, reprocessSelectedItems = \n -> "Reprocess " ++ String.fromInt n ++ " selected items"
|
||||
, deleteSelectedItems = \n -> "Delete " ++ String.fromInt n ++ " selected items"
|
||||
, selectAllVisible = "Select all visible"
|
||||
, selectNone = "Select none"
|
||||
, resetSearchForm = "Reset search form"
|
||||
, exitSelectMode = "Exit Select Mode"
|
||||
}
|
||||
|
||||
|
||||
de : Texts
|
||||
de =
|
||||
gb
|
27
modules/webapp/src/main/elm/Messages/Page/HomeSideMenu.elm
Normal file
27
modules/webapp/src/main/elm/Messages/Page/HomeSideMenu.elm
Normal file
@ -0,0 +1,27 @@
|
||||
module Messages.Page.HomeSideMenu exposing (..)
|
||||
|
||||
import Messages.Comp.ItemDetail.MultiEditMenu
|
||||
import Messages.Comp.SearchMenu
|
||||
|
||||
|
||||
type alias Texts =
|
||||
{ searchMenu : Messages.Comp.SearchMenu.Texts
|
||||
, multiEdit : Messages.Comp.ItemDetail.MultiEditMenu.Texts
|
||||
, editMode : String
|
||||
, resetSearchForm : String
|
||||
, multiEditHeader : String
|
||||
, multiEditInfo : String
|
||||
, close : String
|
||||
}
|
||||
|
||||
|
||||
gb : Texts
|
||||
gb =
|
||||
{ searchMenu = Messages.Comp.SearchMenu.gb
|
||||
, multiEdit = Messages.Comp.ItemDetail.MultiEditMenu.gb
|
||||
, editMode = "Edit Mode"
|
||||
, resetSearchForm = "Reset search form"
|
||||
, multiEditHeader = "Multi-Edit"
|
||||
, multiEditInfo = "Note that a change here immediatly affects all selected items on the right!"
|
||||
, close = "Close"
|
||||
}
|
26
modules/webapp/src/main/elm/Messages/Page/ItemDetail.elm
Normal file
26
modules/webapp/src/main/elm/Messages/Page/ItemDetail.elm
Normal file
@ -0,0 +1,26 @@
|
||||
module Messages.Page.ItemDetail exposing (..)
|
||||
|
||||
import Messages.Comp.ItemDetail
|
||||
import Messages.Comp.ItemDetail.EditForm
|
||||
|
||||
|
||||
type alias Texts =
|
||||
{ itemDetail : Messages.Comp.ItemDetail.Texts
|
||||
, editForm : Messages.Comp.ItemDetail.EditForm.Texts
|
||||
, editMetadata : String
|
||||
, collapseExpand : String
|
||||
}
|
||||
|
||||
|
||||
gb : Texts
|
||||
gb =
|
||||
{ itemDetail = Messages.Comp.ItemDetail.gb
|
||||
, editForm = Messages.Comp.ItemDetail.EditForm.gb
|
||||
, editMetadata = "Edit Metadata"
|
||||
, collapseExpand = "Collapse/Expand"
|
||||
}
|
||||
|
||||
|
||||
de : Texts
|
||||
de =
|
||||
gb
|
52
modules/webapp/src/main/elm/Messages/Page/Login.elm
Normal file
52
modules/webapp/src/main/elm/Messages/Page/Login.elm
Normal file
@ -0,0 +1,52 @@
|
||||
module Messages.Page.Login exposing
|
||||
( Texts
|
||||
, de
|
||||
, gb
|
||||
)
|
||||
|
||||
|
||||
type alias Texts =
|
||||
{ loginToDocspell : String
|
||||
, username : String
|
||||
, collectiveSlashLogin : String
|
||||
, password : String
|
||||
, rememberMe : String
|
||||
, loginPlaceholder : String
|
||||
, passwordPlaceholder : String
|
||||
, loginButton : String
|
||||
, loginSuccessful : String
|
||||
, noAccount : String
|
||||
, signupLink : String
|
||||
}
|
||||
|
||||
|
||||
gb : Texts
|
||||
gb =
|
||||
{ loginToDocspell = "Login to Docspell"
|
||||
, username = "Username"
|
||||
, collectiveSlashLogin = "Collective / Login"
|
||||
, password = "Password"
|
||||
, rememberMe = "Remember Me"
|
||||
, loginPlaceholder = "Login"
|
||||
, passwordPlaceholder = "Password"
|
||||
, loginButton = "Login"
|
||||
, loginSuccessful = "Login successful"
|
||||
, noAccount = "No account?"
|
||||
, signupLink = "Sign up!"
|
||||
}
|
||||
|
||||
|
||||
de : Texts
|
||||
de =
|
||||
{ loginToDocspell = "Docspell Anmeldung"
|
||||
, username = "Benutzer"
|
||||
, collectiveSlashLogin = "Kollektiv / Benutzer"
|
||||
, password = "Passwort"
|
||||
, rememberMe = "Anmeldung speichern"
|
||||
, loginPlaceholder = "Benutzer"
|
||||
, passwordPlaceholder = "Passwort"
|
||||
, loginButton = "Anmelden"
|
||||
, loginSuccessful = "Anmeldung erfolgreich"
|
||||
, noAccount = "Kein Konto?"
|
||||
, signupLink = "Hier registrieren!"
|
||||
}
|
49
modules/webapp/src/main/elm/Messages/Page/ManageData.elm
Normal file
49
modules/webapp/src/main/elm/Messages/Page/ManageData.elm
Normal file
@ -0,0 +1,49 @@
|
||||
module Messages.Page.ManageData exposing (..)
|
||||
|
||||
import Messages.Basics
|
||||
import Messages.Comp.CustomFieldManage
|
||||
import Messages.Comp.EquipmentManage
|
||||
import Messages.Comp.FolderManage
|
||||
import Messages.Comp.OrgManage
|
||||
import Messages.Comp.PersonManage
|
||||
import Messages.Comp.TagManage
|
||||
|
||||
|
||||
type alias Texts =
|
||||
{ basics : Messages.Basics.Texts
|
||||
, tagManage : Messages.Comp.TagManage.Texts
|
||||
, equipmentManage : Messages.Comp.EquipmentManage.Texts
|
||||
, orgManage : Messages.Comp.OrgManage.Texts
|
||||
, personManage : Messages.Comp.PersonManage.Texts
|
||||
, folderManage : Messages.Comp.FolderManage.Texts
|
||||
, customFieldManage : Messages.Comp.CustomFieldManage.Texts
|
||||
, manageData : String
|
||||
, equipment : String
|
||||
, organization : String
|
||||
, person : String
|
||||
, folder : String
|
||||
, customFields : String
|
||||
}
|
||||
|
||||
|
||||
gb : Texts
|
||||
gb =
|
||||
{ basics = Messages.Basics.gb
|
||||
, tagManage = Messages.Comp.TagManage.gb
|
||||
, equipmentManage = Messages.Comp.EquipmentManage.gb
|
||||
, orgManage = Messages.Comp.OrgManage.gb
|
||||
, personManage = Messages.Comp.PersonManage.gb
|
||||
, folderManage = Messages.Comp.FolderManage.gb
|
||||
, customFieldManage = Messages.Comp.CustomFieldManage.gb
|
||||
, manageData = "Manage Data"
|
||||
, equipment = "Equipment"
|
||||
, organization = "Organization"
|
||||
, person = "Person"
|
||||
, folder = "Folder"
|
||||
, customFields = "Custom Fields"
|
||||
}
|
||||
|
||||
|
||||
de : Texts
|
||||
de =
|
||||
gb
|
38
modules/webapp/src/main/elm/Messages/Page/NewInvite.elm
Normal file
38
modules/webapp/src/main/elm/Messages/Page/NewInvite.elm
Normal file
@ -0,0 +1,38 @@
|
||||
module Messages.Page.NewInvite exposing (..)
|
||||
|
||||
import Messages.Basics
|
||||
|
||||
|
||||
type alias Texts =
|
||||
{ basics : Messages.Basics.Texts
|
||||
, createNewInvitations : String
|
||||
, invitationKey : String
|
||||
, password : String
|
||||
, reset : String
|
||||
, inviteInfo : String
|
||||
}
|
||||
|
||||
|
||||
gb : Texts
|
||||
gb =
|
||||
{ basics = Messages.Basics.gb
|
||||
, createNewInvitations = "Create new invitations"
|
||||
, invitationKey = "Invitation Key"
|
||||
, password = "Password"
|
||||
, reset = "Reset"
|
||||
, inviteInfo =
|
||||
"""Docspell requires an invite when signing up. You can
|
||||
create these invites here and send them to friends so
|
||||
they can signup with docspell.
|
||||
|
||||
Each invite can only be used once. You'll need to
|
||||
create one key for each person you want to invite.
|
||||
|
||||
Creating an invite requires providing the password
|
||||
from the configuration."""
|
||||
}
|
||||
|
||||
|
||||
de : Texts
|
||||
de =
|
||||
gb
|
51
modules/webapp/src/main/elm/Messages/Page/Queue.elm
Normal file
51
modules/webapp/src/main/elm/Messages/Page/Queue.elm
Normal file
@ -0,0 +1,51 @@
|
||||
module Messages.Page.Queue exposing (..)
|
||||
|
||||
import Messages.Basics
|
||||
|
||||
|
||||
type alias Texts =
|
||||
{ basics : Messages.Basics.Texts
|
||||
, currentlyRunning : String
|
||||
, queue : String
|
||||
, waiting : String
|
||||
, errored : String
|
||||
, success : String
|
||||
, noJobsRunning : String
|
||||
, noJobsDisplay : String
|
||||
, noJobsWaiting : String
|
||||
, noJobsFailed : String
|
||||
, noJobsSuccess : String
|
||||
, deleteThisJob : String
|
||||
, showLog : String
|
||||
, remove : String
|
||||
, retries : String
|
||||
, changePriority : String
|
||||
, prio : String
|
||||
}
|
||||
|
||||
|
||||
gb : Texts
|
||||
gb =
|
||||
{ basics = Messages.Basics.gb
|
||||
, currentlyRunning = "Currently Running"
|
||||
, queue = "Queue"
|
||||
, waiting = "Waiting"
|
||||
, errored = "Errored"
|
||||
, success = "Success"
|
||||
, noJobsRunning = "No jobs currently running."
|
||||
, noJobsDisplay = "No jobs to display."
|
||||
, noJobsWaiting = "No waiting jobs."
|
||||
, noJobsFailed = "No failed jobs to display."
|
||||
, noJobsSuccess = "No succesfull jobs to display."
|
||||
, deleteThisJob = "Cancel/Delete this job?"
|
||||
, showLog = "Show log"
|
||||
, remove = "Remove"
|
||||
, retries = "Retries"
|
||||
, changePriority = "Change priority of this job"
|
||||
, prio = "Prio"
|
||||
}
|
||||
|
||||
|
||||
de : Texts
|
||||
de =
|
||||
gb
|
41
modules/webapp/src/main/elm/Messages/Page/Register.elm
Normal file
41
modules/webapp/src/main/elm/Messages/Page/Register.elm
Normal file
@ -0,0 +1,41 @@
|
||||
module Messages.Page.Register exposing (..)
|
||||
|
||||
import Messages.Basics
|
||||
|
||||
|
||||
type alias Texts =
|
||||
{ basics : Messages.Basics.Texts
|
||||
, signupToDocspell : String
|
||||
, collectiveId : String
|
||||
, collective : String
|
||||
, userLogin : String
|
||||
, username : String
|
||||
, password : String
|
||||
, passwordRepeat : String
|
||||
, invitationKey : String
|
||||
, alreadySignedUp : String
|
||||
, signIn : String
|
||||
, registrationSuccessful : String
|
||||
}
|
||||
|
||||
|
||||
gb : Texts
|
||||
gb =
|
||||
{ basics = Messages.Basics.gb
|
||||
, signupToDocspell = "Signup to Docspell"
|
||||
, collectiveId = "Collective ID"
|
||||
, collective = "Collective"
|
||||
, userLogin = "User Login"
|
||||
, username = "Username"
|
||||
, password = "Password"
|
||||
, passwordRepeat = "Password (repeat)"
|
||||
, invitationKey = "Invitation Key"
|
||||
, alreadySignedUp = "Already signed up?"
|
||||
, signIn = "Sign in"
|
||||
, registrationSuccessful = "Registration successful."
|
||||
}
|
||||
|
||||
|
||||
de : Texts
|
||||
de =
|
||||
gb
|
66
modules/webapp/src/main/elm/Messages/Page/Upload.elm
Normal file
66
modules/webapp/src/main/elm/Messages/Page/Upload.elm
Normal file
@ -0,0 +1,66 @@
|
||||
module Messages.Page.Upload exposing (..)
|
||||
|
||||
import Data.Language exposing (Language)
|
||||
import Messages.Basics
|
||||
import Messages.Comp.Dropzone
|
||||
import Messages.Data.Language
|
||||
|
||||
|
||||
type alias Texts =
|
||||
{ basics : Messages.Basics.Texts
|
||||
, dropzone : Messages.Comp.Dropzone.Texts
|
||||
, reset : String
|
||||
, allFilesOneItem : String
|
||||
, skipExistingFiles : String
|
||||
, language : String
|
||||
, languageInfo : String
|
||||
, uploadErrorMessage : String
|
||||
, successBox :
|
||||
{ allFilesUploaded : String
|
||||
, line1 : String
|
||||
, itemsPage : String
|
||||
, line2 : String
|
||||
, processingPage : String
|
||||
, line3 : String
|
||||
, resetLine1 : String
|
||||
, reset : String
|
||||
, resetLine2 : String
|
||||
}
|
||||
, selectedFiles : String
|
||||
, languageLabel : Language -> String
|
||||
}
|
||||
|
||||
|
||||
gb : Texts
|
||||
gb =
|
||||
{ basics = Messages.Basics.gb
|
||||
, dropzone = Messages.Comp.Dropzone.gb
|
||||
, reset = "Reset"
|
||||
, allFilesOneItem = "All files are one single item"
|
||||
, skipExistingFiles = "Skip files already present in docspell"
|
||||
, language = "Language"
|
||||
, languageInfo =
|
||||
"Used for text extraction and analysis. The collective's "
|
||||
++ "default language is used if not specified here."
|
||||
, uploadErrorMessage = "There were errors uploading some files."
|
||||
, successBox =
|
||||
{ allFilesUploaded = "All files uploaded"
|
||||
, line1 =
|
||||
"Your files have been successfully uploaded. "
|
||||
++ "They are now being processed. Check the "
|
||||
, itemsPage = "Items Page"
|
||||
, line2 = " later where the files will arrive eventually. Or go to the "
|
||||
, processingPage = "Processing Page"
|
||||
, line3 = " to view the current processing state."
|
||||
, resetLine1 = " Click "
|
||||
, reset = "Reset"
|
||||
, resetLine2 = " to upload more files."
|
||||
}
|
||||
, selectedFiles = "Selected Files"
|
||||
, languageLabel = Messages.Data.Language.gb
|
||||
}
|
||||
|
||||
|
||||
de : Texts
|
||||
de =
|
||||
gb
|
77
modules/webapp/src/main/elm/Messages/Page/UserSettings.elm
Normal file
77
modules/webapp/src/main/elm/Messages/Page/UserSettings.elm
Normal file
@ -0,0 +1,77 @@
|
||||
module Messages.Page.UserSettings exposing (..)
|
||||
|
||||
import Messages.Comp.ChangePasswordForm
|
||||
import Messages.Comp.EmailSettingsManage
|
||||
import Messages.Comp.ImapSettingsManage
|
||||
import Messages.Comp.NotificationManage
|
||||
import Messages.Comp.ScanMailboxManage
|
||||
import Messages.Comp.UiSettingsManage
|
||||
|
||||
|
||||
type alias Texts =
|
||||
{ changePasswordForm : Messages.Comp.ChangePasswordForm.Texts
|
||||
, uiSettingsManage : Messages.Comp.UiSettingsManage.Texts
|
||||
, emailSettingsManage : Messages.Comp.EmailSettingsManage.Texts
|
||||
, imapSettingsManage : Messages.Comp.ImapSettingsManage.Texts
|
||||
, notificationManage : Messages.Comp.NotificationManage.Texts
|
||||
, scanMailboxManage : Messages.Comp.ScanMailboxManage.Texts
|
||||
, userSettings : String
|
||||
, uiSettings : String
|
||||
, notifications : String
|
||||
, scanMailbox : String
|
||||
, emailSettingSmtp : String
|
||||
, emailSettingImap : String
|
||||
, changePassword : String
|
||||
, uiSettingsInfo : String
|
||||
, notificationInfoText : String
|
||||
, notificationRemindDaysInfo : String
|
||||
, scanMailboxInfo1 : String
|
||||
, scanMailboxInfo2 : String
|
||||
}
|
||||
|
||||
|
||||
gb : Texts
|
||||
gb =
|
||||
{ changePasswordForm = Messages.Comp.ChangePasswordForm.gb
|
||||
, uiSettingsManage = Messages.Comp.UiSettingsManage.gb
|
||||
, emailSettingsManage = Messages.Comp.EmailSettingsManage.gb
|
||||
, imapSettingsManage = Messages.Comp.ImapSettingsManage.gb
|
||||
, notificationManage = Messages.Comp.NotificationManage.gb
|
||||
, scanMailboxManage = Messages.Comp.ScanMailboxManage.gb
|
||||
, userSettings = "User Settings"
|
||||
, uiSettings = "UI Settings"
|
||||
, notifications = "Notifications"
|
||||
, scanMailbox = "Scan Mailbox"
|
||||
, emailSettingSmtp = "E-Mail Settings (SMTP)"
|
||||
, emailSettingImap = "E-Mail Settings (IMAP)"
|
||||
, changePassword = "Change Password"
|
||||
, uiSettingsInfo =
|
||||
"These settings only affect the web ui. They are stored in the browser, "
|
||||
++ "so they are separated between browsers and devices."
|
||||
, notificationInfoText =
|
||||
"""
|
||||
Docspell can notify you once the due dates of your items
|
||||
come closer. Notification is done via e-mail. You need to
|
||||
provide a connection in your e-mail settings."""
|
||||
, notificationRemindDaysInfo =
|
||||
"Docspell finds all items that are due in *Remind Days* days and sends this list via e-mail."
|
||||
, scanMailboxInfo1 =
|
||||
"Docspell can scan folders of your mailbox to import your mails. "
|
||||
++ "You need to provide a connection in "
|
||||
++ "your e-mail (imap) settings."
|
||||
, scanMailboxInfo2 =
|
||||
"""
|
||||
Docspell goes through all configured folders and imports
|
||||
mails matching the search criteria. Mails are skipped if
|
||||
they were imported in a previous run and the corresponding
|
||||
items still exist. After submitting a mail into docspell,
|
||||
you can choose to move it to another folder, to delete it
|
||||
or to just leave it there. In the latter case you should
|
||||
adjust the schedule to avoid reading over the same mails
|
||||
again."""
|
||||
}
|
||||
|
||||
|
||||
de : Texts
|
||||
de =
|
||||
gb
|
Reference in New Issue
Block a user