mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-23 02:48:26 +00:00
Manage bookmarks
This commit is contained in:
65
modules/webapp/src/main/elm/Messages/Comp/BookmarkManage.elm
Normal file
65
modules/webapp/src/main/elm/Messages/Comp/BookmarkManage.elm
Normal file
@ -0,0 +1,65 @@
|
||||
{-
|
||||
Copyright 2020 Eike K. & Contributors
|
||||
|
||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-}
|
||||
|
||||
|
||||
module Messages.Comp.BookmarkManage exposing
|
||||
( Texts
|
||||
, de
|
||||
, gb
|
||||
)
|
||||
|
||||
import Http
|
||||
import Messages.Basics
|
||||
import Messages.Comp.BookmarkQueryForm
|
||||
import Messages.Comp.BookmarkTable
|
||||
import Messages.Comp.HttpError
|
||||
|
||||
|
||||
type alias Texts =
|
||||
{ basics : Messages.Basics.Texts
|
||||
, bookmarkTable : Messages.Comp.BookmarkTable.Texts
|
||||
, bookmarkForm : Messages.Comp.BookmarkQueryForm.Texts
|
||||
, httpError : Http.Error -> String
|
||||
, newBookmark : String
|
||||
, reallyDeleteBookmark : String
|
||||
, createNewBookmark : String
|
||||
, deleteThisBookmark : String
|
||||
, correctFormErrors : String
|
||||
, userBookmarks : String
|
||||
, collectiveBookmarks : String
|
||||
}
|
||||
|
||||
|
||||
gb : Texts
|
||||
gb =
|
||||
{ basics = Messages.Basics.gb
|
||||
, bookmarkTable = Messages.Comp.BookmarkTable.gb
|
||||
, bookmarkForm = Messages.Comp.BookmarkQueryForm.gb
|
||||
, httpError = Messages.Comp.HttpError.gb
|
||||
, newBookmark = "New bookmark"
|
||||
, reallyDeleteBookmark = "Really delete this bookmark?"
|
||||
, createNewBookmark = "Create new bookmark"
|
||||
, deleteThisBookmark = "Delete this bookmark"
|
||||
, correctFormErrors = "Please correct the errors in the form."
|
||||
, userBookmarks = "Personal bookmarks"
|
||||
, collectiveBookmarks = "Collective bookmarks"
|
||||
}
|
||||
|
||||
|
||||
de : Texts
|
||||
de =
|
||||
{ basics = Messages.Basics.de
|
||||
, bookmarkTable = Messages.Comp.BookmarkTable.de
|
||||
, bookmarkForm = Messages.Comp.BookmarkQueryForm.de
|
||||
, httpError = Messages.Comp.HttpError.de
|
||||
, newBookmark = "Neue Freigabe"
|
||||
, reallyDeleteBookmark = "Diese Freigabe wirklich entfernen?"
|
||||
, createNewBookmark = "Neue Freigabe erstellen"
|
||||
, deleteThisBookmark = "Freigabe löschen"
|
||||
, correctFormErrors = "Bitte korrigiere die Fehler im Formular."
|
||||
, userBookmarks = "Persönliche Bookmarks"
|
||||
, collectiveBookmarks = "Kollektivbookmarks"
|
||||
}
|
34
modules/webapp/src/main/elm/Messages/Comp/BookmarkTable.elm
Normal file
34
modules/webapp/src/main/elm/Messages/Comp/BookmarkTable.elm
Normal file
@ -0,0 +1,34 @@
|
||||
{-
|
||||
Copyright 2020 Eike K. & Contributors
|
||||
|
||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
-}
|
||||
|
||||
|
||||
module Messages.Comp.BookmarkTable exposing
|
||||
( Texts
|
||||
, de
|
||||
, gb
|
||||
)
|
||||
|
||||
import Messages.Basics
|
||||
|
||||
|
||||
type alias Texts =
|
||||
{ basics : Messages.Basics.Texts
|
||||
, user : String
|
||||
}
|
||||
|
||||
|
||||
gb : Texts
|
||||
gb =
|
||||
{ basics = Messages.Basics.gb
|
||||
, user = "User"
|
||||
}
|
||||
|
||||
|
||||
de : Texts
|
||||
de =
|
||||
{ basics = Messages.Basics.de
|
||||
, user = "Benutzer"
|
||||
}
|
@ -12,6 +12,7 @@ module Messages.Page.ManageData exposing
|
||||
)
|
||||
|
||||
import Messages.Basics
|
||||
import Messages.Comp.BookmarkManage
|
||||
import Messages.Comp.CustomFieldManage
|
||||
import Messages.Comp.EquipmentManage
|
||||
import Messages.Comp.FolderManage
|
||||
@ -28,7 +29,9 @@ type alias Texts =
|
||||
, personManage : Messages.Comp.PersonManage.Texts
|
||||
, folderManage : Messages.Comp.FolderManage.Texts
|
||||
, customFieldManage : Messages.Comp.CustomFieldManage.Texts
|
||||
, bookmarkManage : Messages.Comp.BookmarkManage.Texts
|
||||
, manageData : String
|
||||
, bookmarks : String
|
||||
}
|
||||
|
||||
|
||||
@ -41,7 +44,9 @@ gb =
|
||||
, personManage = Messages.Comp.PersonManage.gb
|
||||
, folderManage = Messages.Comp.FolderManage.gb
|
||||
, customFieldManage = Messages.Comp.CustomFieldManage.gb
|
||||
, bookmarkManage = Messages.Comp.BookmarkManage.gb
|
||||
, manageData = "Manage Data"
|
||||
, bookmarks = "Bookmarks"
|
||||
}
|
||||
|
||||
|
||||
@ -54,5 +59,7 @@ de =
|
||||
, personManage = Messages.Comp.PersonManage.de
|
||||
, folderManage = Messages.Comp.FolderManage.de
|
||||
, customFieldManage = Messages.Comp.CustomFieldManage.de
|
||||
, bookmarkManage = Messages.Comp.BookmarkManage.de
|
||||
, manageData = "Daten verwalten"
|
||||
, bookmarks = "Bookmarks"
|
||||
}
|
||||
|
Reference in New Issue
Block a user