mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 10:28:27 +00:00
Reorganize messages to reflect page structure
This commit is contained in:
53
modules/webapp/src/main/elm/Messages/Comp/SourceManage.elm
Normal file
53
modules/webapp/src/main/elm/Messages/Comp/SourceManage.elm
Normal 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"
|
||||
}
|
Reference in New Issue
Block a user