Require a time zone when formatting date-times

This commit is contained in:
eikek
2022-03-01 21:58:30 +01:00
parent 6d822a0769
commit 6f7eafcebc
51 changed files with 456 additions and 349 deletions

View File

@ -11,6 +11,7 @@ module Messages.Comp.AttachmentMeta exposing
, gb
)
import Data.TimeZone exposing (TimeZone)
import Http
import Messages.Basics
import Messages.Comp.HttpError
@ -35,8 +36,8 @@ type alias Texts =
}
gb : Texts
gb =
gb : TimeZone -> Texts
gb tz =
{ basics = Messages.Basics.gb
, httpError = Messages.Comp.HttpError.gb
, extractedMetadata = "Extracted Meta Data"
@ -49,12 +50,12 @@ gb =
, concerningEquipment = "Concerning Equipment"
, itemDate = "Item Date"
, itemDueDate = "Item Due Date"
, formatDateShort = DF.formatDateShort Messages.UiLanguage.English
, formatDateShort = DF.formatDateShort Messages.UiLanguage.English tz
}
de : Texts
de =
de : TimeZone -> Texts
de tz =
{ basics = Messages.Basics.de
, httpError = Messages.Comp.HttpError.de
, extractedMetadata = "Extrahierte Metadaten"
@ -67,5 +68,5 @@ de =
, concerningEquipment = "Betreffende Ausstattung"
, itemDate = "Datum"
, itemDueDate = "Fälligkeitsdatum"
, formatDateShort = DF.formatDateShort Messages.UiLanguage.German
, formatDateShort = DF.formatDateShort Messages.UiLanguage.German tz
}

View File

@ -8,6 +8,7 @@
module Messages.Comp.BoxQueryView exposing (Texts, de, gb)
import Data.ItemTemplate as IT
import Data.TimeZone exposing (TimeZone)
import Http
import Messages.Basics
import Messages.Comp.HttpError
@ -27,30 +28,30 @@ type alias Texts =
}
gb : Texts
gb =
gb : TimeZone -> Texts
gb tz =
{ httpError = Messages.Comp.HttpError.gb
, errorOccurred = "Error retrieving data."
, basics = Messages.Basics.gb
, noResults = "No items found."
, templateCtx =
{ dateFormatLong = DF.formatDateLong Messages.UiLanguage.English
, dateFormatShort = DF.formatDateShort Messages.UiLanguage.English
{ dateFormatLong = DF.formatDateLong Messages.UiLanguage.English tz
, dateFormatShort = DF.formatDateShort Messages.UiLanguage.English tz
, directionLabel = Messages.Data.Direction.gb
}
, itemColumn = Messages.Data.ItemColumn.gb
}
de : Texts
de =
de : TimeZone -> Texts
de tz =
{ httpError = Messages.Comp.HttpError.de
, errorOccurred = "Fehler beim Laden der Daten."
, basics = Messages.Basics.de
, noResults = "Keine Dokumente gefunden."
, templateCtx =
{ dateFormatLong = DF.formatDateLong Messages.UiLanguage.German
, dateFormatShort = DF.formatDateShort Messages.UiLanguage.German
{ dateFormatLong = DF.formatDateLong Messages.UiLanguage.German tz
, dateFormatShort = DF.formatDateShort Messages.UiLanguage.German tz
, directionLabel = Messages.Data.Direction.de
}
, itemColumn = Messages.Data.ItemColumn.de

View File

@ -7,6 +7,7 @@
module Messages.Comp.BoxView exposing (Texts, de, gb)
import Data.TimeZone exposing (TimeZone)
import Messages.Comp.BoxQueryView
import Messages.Comp.BoxStatsView
import Messages.Comp.BoxUploadView
@ -19,17 +20,17 @@ type alias Texts =
}
gb : Texts
gb =
{ queryView = Messages.Comp.BoxQueryView.gb
gb : TimeZone -> Texts
gb tz =
{ queryView = Messages.Comp.BoxQueryView.gb tz
, statsView = Messages.Comp.BoxStatsView.gb
, uploadView = Messages.Comp.BoxUploadView.gb
}
de : Texts
de =
{ queryView = Messages.Comp.BoxQueryView.de
de : TimeZone -> Texts
de tz =
{ queryView = Messages.Comp.BoxQueryView.de tz
, statsView = Messages.Comp.BoxStatsView.de
, uploadView = Messages.Comp.BoxUploadView.de
}

View File

@ -11,6 +11,7 @@ module Messages.Comp.CalEventInput exposing
, gb
)
import Data.TimeZone exposing (TimeZone)
import Http
import Messages.Comp.HttpError
import Messages.DateFormat as DF
@ -32,8 +33,8 @@ type alias Texts =
}
gb : Texts
gb =
gb : TimeZone -> Texts
gb tz =
{ weekday = "Weekday"
, year = "Year"
, month = "Month"
@ -43,13 +44,13 @@ gb =
, error = "Error"
, schedule = "Schedule"
, next = "Next"
, formatDateTime = DF.formatDateTimeLong Messages.UiLanguage.English
, formatDateTime = DF.formatDateTimeLong Messages.UiLanguage.English tz
, httpError = Messages.Comp.HttpError.gb
}
de : Texts
de =
de : TimeZone -> Texts
de tz =
{ weekday = "Wochentag"
, year = "Jahr"
, month = "Monat"
@ -59,6 +60,6 @@ de =
, error = "Fehler"
, schedule = "Zeitplan"
, next = "Nächste Zeiten"
, formatDateTime = DF.formatDateTimeLong Messages.UiLanguage.German
, formatDateTime = DF.formatDateTimeLong Messages.UiLanguage.German tz
, httpError = Messages.Comp.HttpError.de
}

View File

@ -11,6 +11,7 @@ module Messages.Comp.ClassifierSettingsForm exposing
, gb
)
import Data.TimeZone exposing (TimeZone)
import Messages.Basics
import Messages.Comp.CalEventInput
@ -28,10 +29,10 @@ type alias Texts =
}
gb : Texts
gb =
gb : TimeZone -> Texts
gb tz =
{ basics = Messages.Basics.gb
, calEventInput = Messages.Comp.CalEventInput.gb
, calEventInput = Messages.Comp.CalEventInput.gb tz
, autoTaggingText =
"""
@ -53,10 +54,10 @@ Use an empty whitelist to disable auto tagging.
}
de : Texts
de =
de : TimeZone -> Texts
de tz =
{ basics = Messages.Basics.de
, calEventInput = Messages.Comp.CalEventInput.de
, calEventInput = Messages.Comp.CalEventInput.de tz
, autoTaggingText =
"""

View File

@ -12,6 +12,7 @@ module Messages.Comp.CollectiveSettingsForm exposing
)
import Data.Language exposing (Language)
import Data.TimeZone exposing (TimeZone)
import Http
import Messages.Basics
import Messages.Comp.ClassifierSettingsForm
@ -49,11 +50,11 @@ type alias Texts =
}
gb : Texts
gb =
gb : TimeZone -> Texts
gb tz =
{ basics = Messages.Basics.gb
, classifierSettingsForm = Messages.Comp.ClassifierSettingsForm.gb
, emptyTrashForm = Messages.Comp.EmptyTrashForm.gb
, classifierSettingsForm = Messages.Comp.ClassifierSettingsForm.gb tz
, emptyTrashForm = Messages.Comp.EmptyTrashForm.gb tz
, httpError = Messages.Comp.HttpError.gb
, save = "Save"
, saveSettings = "Save Settings"
@ -84,11 +85,11 @@ gb =
}
de : Texts
de =
de : TimeZone -> Texts
de tz =
{ basics = Messages.Basics.de
, classifierSettingsForm = Messages.Comp.ClassifierSettingsForm.de
, emptyTrashForm = Messages.Comp.EmptyTrashForm.de
, classifierSettingsForm = Messages.Comp.ClassifierSettingsForm.de tz
, emptyTrashForm = Messages.Comp.EmptyTrashForm.de tz
, httpError = Messages.Comp.HttpError.de
, save = "Speichern"
, saveSettings = "Einstellungen speichern"

View File

@ -11,6 +11,7 @@ module Messages.Comp.CustomFieldManage exposing
, gb
)
import Data.TimeZone exposing (TimeZone)
import Messages.Basics
import Messages.Comp.CustomFieldForm
import Messages.Comp.CustomFieldTable
@ -25,21 +26,21 @@ type alias Texts =
}
gb : Texts
gb =
gb : TimeZone -> Texts
gb tz =
{ basics = Messages.Basics.gb
, fieldForm = Messages.Comp.CustomFieldForm.gb
, fieldTable = Messages.Comp.CustomFieldTable.gb
, fieldTable = Messages.Comp.CustomFieldTable.gb tz
, addCustomField = "Add a new custom field"
, newCustomField = "New custom field"
}
de : Texts
de =
de : TimeZone -> Texts
de tz =
{ basics = Messages.Basics.de
, fieldForm = Messages.Comp.CustomFieldForm.de
, fieldTable = Messages.Comp.CustomFieldTable.de
, fieldTable = Messages.Comp.CustomFieldTable.de tz
, addCustomField = "Ein neues Benutzerfeld anlegen"
, newCustomField = "Neues Benutzerfeld"
}

View File

@ -11,6 +11,7 @@ module Messages.Comp.CustomFieldTable exposing
, gb
)
import Data.TimeZone exposing (TimeZone)
import Messages.Basics
import Messages.DateFormat as DF
import Messages.UiLanguage
@ -25,21 +26,21 @@ type alias Texts =
}
gb : Texts
gb =
gb : TimeZone -> Texts
gb tz =
{ basics = Messages.Basics.gb
, nameLabel = "Name/Label"
, format = "Format"
, usageCount = "#Usage"
, formatDateShort = DF.formatDateShort Messages.UiLanguage.English
, formatDateShort = DF.formatDateShort Messages.UiLanguage.English tz
}
de : Texts
de =
de : TimeZone -> Texts
de tz =
{ basics = Messages.Basics.de
, nameLabel = "Name/Label"
, format = "Format"
, usageCount = "#Nutzung"
, formatDateShort = DF.formatDateShort Messages.UiLanguage.German
, formatDateShort = DF.formatDateShort Messages.UiLanguage.German tz
}

View File

@ -7,6 +7,7 @@
module Messages.Comp.DashboardView exposing (Texts, de, gb)
import Data.TimeZone exposing (TimeZone)
import Messages.Comp.BoxView
@ -15,13 +16,13 @@ type alias Texts =
}
gb : Texts
gb =
{ boxView = Messages.Comp.BoxView.gb
gb : TimeZone -> Texts
gb tz =
{ boxView = Messages.Comp.BoxView.gb tz
}
de : Texts
de =
{ boxView = Messages.Comp.BoxView.de
de : TimeZone -> Texts
de tz =
{ boxView = Messages.Comp.BoxView.de tz
}

View File

@ -11,6 +11,7 @@ module Messages.Comp.DueItemsTaskForm exposing
, gb
)
import Data.TimeZone exposing (TimeZone)
import Http
import Messages.Basics
import Messages.Comp.CalEventInput
@ -57,10 +58,10 @@ type alias Texts =
}
gb : Texts
gb =
gb : TimeZone -> Texts
gb tz =
{ basics = Messages.Basics.gb
, calEventInput = Messages.Comp.CalEventInput.gb
, calEventInput = Messages.Comp.CalEventInput.gb tz
, httpError = Messages.Comp.HttpError.gb
, channelForm = Messages.Comp.ChannelForm.gb
, tagDropdown = Messages.Comp.TagDropdown.gb
@ -98,10 +99,10 @@ gb =
}
de : Texts
de =
de : TimeZone -> Texts
de tz =
{ basics = Messages.Basics.de
, calEventInput = Messages.Comp.CalEventInput.de
, calEventInput = Messages.Comp.CalEventInput.de tz
, httpError = Messages.Comp.HttpError.de
, channelForm = Messages.Comp.ChannelForm.de
, tagDropdown = Messages.Comp.TagDropdown.de

View File

@ -11,6 +11,7 @@ module Messages.Comp.DueItemsTaskManage exposing
, gb
)
import Data.TimeZone exposing (TimeZone)
import Http
import Messages.Basics
import Messages.Comp.DueItemsTaskForm
@ -34,10 +35,10 @@ type alias Texts =
}
gb : Texts
gb =
gb : TimeZone -> Texts
gb tz =
{ basics = Messages.Basics.gb
, notificationForm = Messages.Comp.DueItemsTaskForm.gb
, notificationForm = Messages.Comp.DueItemsTaskForm.gb tz
, notificationTable = Messages.Comp.DueItemsTaskList.gb
, httpError = Messages.Comp.HttpError.gb
, channelType = Messages.Data.ChannelType.gb
@ -50,10 +51,10 @@ gb =
}
de : Texts
de =
de : TimeZone -> Texts
de tz =
{ basics = Messages.Basics.de
, notificationForm = Messages.Comp.DueItemsTaskForm.de
, notificationForm = Messages.Comp.DueItemsTaskForm.de tz
, notificationTable = Messages.Comp.DueItemsTaskList.de
, httpError = Messages.Comp.HttpError.de
, channelType = Messages.Data.ChannelType.de

View File

@ -11,6 +11,7 @@ module Messages.Comp.EmptyTrashForm exposing
, gb
)
import Data.TimeZone exposing (TimeZone)
import Messages.Basics
import Messages.Comp.CalEventInput
@ -24,20 +25,20 @@ type alias Texts =
}
gb : Texts
gb =
gb : TimeZone -> Texts
gb tz =
{ basics = Messages.Basics.gb
, calEventInput = Messages.Comp.CalEventInput.gb
, calEventInput = Messages.Comp.CalEventInput.gb tz
, schedule = "Schedule"
, minAge = "Minimum Age (Days)"
, minAgeInfo = "The minimum age in days of an items to be removed. The last-update time is used."
}
de : Texts
de =
de : TimeZone -> Texts
de tz =
{ basics = Messages.Basics.de
, calEventInput = Messages.Comp.CalEventInput.de
, calEventInput = Messages.Comp.CalEventInput.de tz
, schedule = "Zeitplan"
, minAge = "Mindestalter (Tage)"
, minAgeInfo = "Das Mindestalter (in Tagen) der Dokumente, die gelöscht werden. Es wird das Datum der letzten Veränderung verwendet."

View File

@ -11,6 +11,7 @@ module Messages.Comp.FolderManage exposing
, gb
)
import Data.TimeZone exposing (TimeZone)
import Messages.Basics
import Messages.Comp.FolderDetail
import Messages.Comp.FolderTable
@ -26,22 +27,22 @@ type alias Texts =
}
gb : Texts
gb =
gb : TimeZone -> Texts
gb tz =
{ basics = Messages.Basics.gb
, folderDetail = Messages.Comp.FolderDetail.gb
, folderTable = Messages.Comp.FolderTable.gb
, folderTable = Messages.Comp.FolderTable.gb tz
, showOwningFoldersOnly = "Show owning folders only"
, createNewFolder = "Create a new folder"
, newFolder = "New Folder"
}
de : Texts
de =
de : TimeZone -> Texts
de tz =
{ basics = Messages.Basics.de
, folderDetail = Messages.Comp.FolderDetail.de
, folderTable = Messages.Comp.FolderTable.de
, folderTable = Messages.Comp.FolderTable.de tz
, showOwningFoldersOnly = "Nur besitzende Ordner anzeigen"
, createNewFolder = "Neuen Ordner anlegen"
, newFolder = "Neuer Ordner"

View File

@ -11,6 +11,7 @@ module Messages.Comp.FolderTable exposing
, gb
)
import Data.TimeZone exposing (TimeZone)
import Messages.Basics
import Messages.DateFormat as DF
import Messages.UiLanguage
@ -24,19 +25,19 @@ type alias Texts =
}
gb : Texts
gb =
gb : TimeZone -> Texts
gb tz =
{ basics = Messages.Basics.gb
, memberCount = "#Member"
, formatDateShort = DF.formatDateShort Messages.UiLanguage.English
, formatDateShort = DF.formatDateShort Messages.UiLanguage.English tz
, owner = "Owner"
}
de : Texts
de =
de : TimeZone -> Texts
de tz =
{ basics = Messages.Basics.de
, memberCount = "#Mitglieder"
, formatDateShort = DF.formatDateShort Messages.UiLanguage.German
, formatDateShort = DF.formatDateShort Messages.UiLanguage.German tz
, owner = "Besitzer"
}

View File

@ -12,6 +12,7 @@ module Messages.Comp.ItemCard exposing
)
import Data.Direction exposing (Direction)
import Data.TimeZone exposing (TimeZone)
import Messages.Basics
import Messages.Data.Direction
import Messages.DateFormat
@ -31,29 +32,29 @@ type alias Texts =
}
gb : Texts
gb =
gb : TimeZone -> Texts
gb tz =
{ basics = Messages.Basics.gb
, dueOn = "Due on"
, new = "New"
, openAttachmentFile = "Open attachment file"
, gotoDetail = "Go to detail view"
, cycleAttachments = "Cycle attachments"
, formatDateLong = Messages.DateFormat.formatDateLong Messages.UiLanguage.English
, formatDateShort = Messages.DateFormat.formatDateShort Messages.UiLanguage.English
, formatDateLong = Messages.DateFormat.formatDateLong Messages.UiLanguage.English tz
, formatDateShort = Messages.DateFormat.formatDateShort Messages.UiLanguage.English tz
, directionLabel = Messages.Data.Direction.gb
}
de : Texts
de =
de : TimeZone -> Texts
de tz =
{ basics = Messages.Basics.de
, dueOn = "Fällig am"
, new = "Neu"
, openAttachmentFile = "Anhang öffnen"
, gotoDetail = "Detailansicht"
, cycleAttachments = "Anhänge durchschalten"
, formatDateLong = Messages.DateFormat.formatDateLong Messages.UiLanguage.German
, formatDateShort = Messages.DateFormat.formatDateShort Messages.UiLanguage.German
, formatDateLong = Messages.DateFormat.formatDateLong Messages.UiLanguage.German tz
, formatDateShort = Messages.DateFormat.formatDateShort Messages.UiLanguage.German tz
, directionLabel = Messages.Data.Direction.de
}

View File

@ -11,6 +11,7 @@ module Messages.Comp.ItemCardList exposing
, gb
)
import Data.TimeZone exposing (TimeZone)
import Messages.Comp.ItemCard
@ -19,13 +20,13 @@ type alias Texts =
}
gb : Texts
gb =
{ itemCard = Messages.Comp.ItemCard.gb
gb : TimeZone -> Texts
gb tz =
{ itemCard = Messages.Comp.ItemCard.gb tz
}
de : Texts
de =
{ itemCard = Messages.Comp.ItemCard.de
de : TimeZone -> Texts
de tz =
{ itemCard = Messages.Comp.ItemCard.de tz
}

View File

@ -11,6 +11,7 @@ module Messages.Comp.ItemDetail exposing
, gb
)
import Data.TimeZone exposing (TimeZone)
import Http
import Messages.Comp.DetailEdit
import Messages.Comp.HttpError
@ -62,12 +63,12 @@ type alias Texts =
}
gb : Texts
gb =
gb : TimeZone -> Texts
gb tz =
{ addFilesForm = Messages.Comp.ItemDetail.AddFilesForm.gb
, itemInfoHeader = Messages.Comp.ItemDetail.ItemInfoHeader.gb
, singleAttachment = Messages.Comp.ItemDetail.SingleAttachment.gb
, sentMails = Messages.Comp.SentMails.gb
, itemInfoHeader = Messages.Comp.ItemDetail.ItemInfoHeader.gb tz
, singleAttachment = Messages.Comp.ItemDetail.SingleAttachment.gb tz
, sentMails = Messages.Comp.SentMails.gb tz
, notes = Messages.Comp.ItemDetail.Notes.gb
, itemMail = Messages.Comp.ItemMail.gb
, detailEdit = Messages.Comp.DetailEdit.gb
@ -91,7 +92,7 @@ gb =
, createdOn = "Created on"
, lastUpdateOn = "Last update on"
, sendingMailNow = "Sending e-mail"
, formatDateTime = DF.formatDateTimeLong Messages.UiLanguage.English
, formatDateTime = DF.formatDateTimeLong Messages.UiLanguage.English tz
, mailSendSuccessful = "Mail sent."
, showQrCode = "Show URL as QR code"
, close = "Close"
@ -100,12 +101,12 @@ gb =
}
de : Texts
de =
de : TimeZone -> Texts
de tz =
{ addFilesForm = Messages.Comp.ItemDetail.AddFilesForm.de
, itemInfoHeader = Messages.Comp.ItemDetail.ItemInfoHeader.de
, singleAttachment = Messages.Comp.ItemDetail.SingleAttachment.de
, sentMails = Messages.Comp.SentMails.de
, itemInfoHeader = Messages.Comp.ItemDetail.ItemInfoHeader.de tz
, singleAttachment = Messages.Comp.ItemDetail.SingleAttachment.de tz
, sentMails = Messages.Comp.SentMails.de tz
, notes = Messages.Comp.ItemDetail.Notes.de
, itemMail = Messages.Comp.ItemMail.de
, detailEdit = Messages.Comp.DetailEdit.de
@ -129,7 +130,7 @@ de =
, createdOn = "Erstellt am"
, lastUpdateOn = "Letzte Aktualisierung"
, sendingMailNow = "E-Mail wird gesendet"
, formatDateTime = DF.formatDateTimeLong Messages.UiLanguage.German
, formatDateTime = DF.formatDateTimeLong Messages.UiLanguage.German tz
, mailSendSuccessful = "E-Mail wurde versendet."
, showQrCode = "Link als QR code anzeigen"
, close = "Schließen"

View File

@ -12,6 +12,7 @@ module Messages.Comp.ItemDetail.EditForm exposing
)
import Data.Direction exposing (Direction)
import Data.TimeZone exposing (TimeZone)
import Messages.Basics
import Messages.Comp.CustomFieldMultiInput
import Messages.Comp.TagDropdown
@ -43,8 +44,8 @@ type alias Texts =
}
gb : Texts
gb =
gb : TimeZone -> Texts
gb tz =
{ basics = Messages.Basics.gb
, customFieldInput = Messages.Comp.CustomFieldMultiInput.gb
, tagDropdown = Messages.Comp.TagDropdown.gb
@ -62,13 +63,13 @@ gb =
, editEquipment = "Edit equipment"
, suggestions = "Suggestions"
, noSuggestions = "No suggestions"
, formatDate = DF.formatDateLong Messages.UiLanguage.English
, formatDate = DF.formatDateLong Messages.UiLanguage.English tz
, direction = Messages.Data.Direction.gb
}
de : Texts
de =
de : TimeZone -> Texts
de tz =
{ basics = Messages.Basics.de
, customFieldInput = Messages.Comp.CustomFieldMultiInput.de
, tagDropdown = Messages.Comp.TagDropdown.de
@ -86,6 +87,6 @@ de =
, editEquipment = "Ausstattung ändern"
, suggestions = "Vorschläge"
, noSuggestions = "Keine Vorschläge"
, formatDate = DF.formatDateLong Messages.UiLanguage.German
, formatDate = DF.formatDateLong Messages.UiLanguage.German tz
, direction = Messages.Data.Direction.de
}

View File

@ -11,6 +11,7 @@ module Messages.Comp.ItemDetail.ItemInfoHeader exposing
, gb
)
import Data.TimeZone exposing (TimeZone)
import Messages.Basics
import Messages.DateFormat as DF
import Messages.UiLanguage
@ -26,23 +27,23 @@ type alias Texts =
}
gb : Texts
gb =
gb : TimeZone -> Texts
gb tz =
{ basics = Messages.Basics.gb
, itemDate = "Item Date"
, dueDate = "Due Date"
, source = "Source"
, new = "New"
, formatDate = DF.formatDateLong Messages.UiLanguage.English
, formatDate = DF.formatDateLong Messages.UiLanguage.English tz
}
de : Texts
de =
de : TimeZone -> Texts
de tz =
{ basics = Messages.Basics.de
, itemDate = "Datum"
, dueDate = "Fälligkeitsdatum"
, source = "Quelle"
, new = "Neu"
, formatDate = DF.formatDateLong Messages.UiLanguage.German
, formatDate = DF.formatDateLong Messages.UiLanguage.German tz
}

View File

@ -11,6 +11,7 @@ module Messages.Comp.ItemDetail.SingleAttachment exposing
, gb
)
import Data.TimeZone exposing (TimeZone)
import Messages.Comp.AttachmentMeta
import Messages.Comp.ItemDetail.ConfirmModal
@ -35,9 +36,9 @@ type alias Texts =
}
gb : Texts
gb =
{ attachmentMeta = Messages.Comp.AttachmentMeta.gb
gb : TimeZone -> Texts
gb tz =
{ attachmentMeta = Messages.Comp.AttachmentMeta.gb tz
, confirmModal = Messages.Comp.ItemDetail.ConfirmModal.gb
, noName = "No name"
, openFileInNewTab = "Open file in new tab"
@ -56,9 +57,9 @@ gb =
}
de : Texts
de =
{ attachmentMeta = Messages.Comp.AttachmentMeta.de
de : TimeZone -> Texts
de tz =
{ attachmentMeta = Messages.Comp.AttachmentMeta.de tz
, confirmModal = Messages.Comp.ItemDetail.ConfirmModal.de
, noName = "Kein Name"
, openFileInNewTab = "Anhang im neuen Tab öffnen"

View File

@ -11,6 +11,7 @@ module Messages.Comp.ItemMerge exposing
, gb
)
import Data.TimeZone exposing (TimeZone)
import Http
import Messages.Basics
import Messages.Comp.HttpError
@ -35,15 +36,15 @@ type alias Texts =
}
gb : Texts
gb =
gb : TimeZone -> Texts
gb tz =
{ basics = Messages.Basics.gb
, httpError = Messages.Comp.HttpError.gb
, title = "Merge Items"
, infoText = "When merging items the first item in the list acts as the target. Every other items metadata is copied into the target item. If the property is a single value (like correspondent), it is only set if not already present. Tags, custom fields and attachments are added. The items can be reordered using drag&drop."
, deleteWarn = "Note that all items but the first one is deleted after a successful merge!"
, formatDateLong = Messages.DateFormat.formatDateLong Messages.UiLanguage.English
, formatDateShort = Messages.DateFormat.formatDateShort Messages.UiLanguage.English
, formatDateLong = Messages.DateFormat.formatDateLong Messages.UiLanguage.English tz
, formatDateShort = Messages.DateFormat.formatDateShort Messages.UiLanguage.English tz
, submitMerge = "Merge"
, submitMergeTitle = "Merge the documents now"
, cancelMerge = "Cancel"
@ -53,15 +54,15 @@ gb =
}
de : Texts
de =
de : TimeZone -> Texts
de tz =
{ basics = Messages.Basics.de
, httpError = Messages.Comp.HttpError.de
, title = "Dokumente zusammenführen"
, infoText = "Beim Zusammenführen der Dokumente, wird das erste in der Liste als Zieldokument verwendet. Die Metadaten der anderen Dokumente werden der Reihe nach auf des Zieldokument geschrieben. Metadaten die nur einen Wert haben, werden nur gesetzt falls noch kein Wert existiert. Tags, Benutzerfelder und Anhänge werden zu dem Zieldokument hinzugefügt. Die Einträge können mit Drag&Drop umgeordnet werden."
, deleteWarn = "Bitte beachte, dass nach erfolgreicher Zusammenführung alle anderen Dokumente gelöscht werden!"
, formatDateLong = Messages.DateFormat.formatDateLong Messages.UiLanguage.German
, formatDateShort = Messages.DateFormat.formatDateShort Messages.UiLanguage.German
, formatDateLong = Messages.DateFormat.formatDateLong Messages.UiLanguage.German tz
, formatDateShort = Messages.DateFormat.formatDateShort Messages.UiLanguage.German tz
, submitMerge = "Zusammenführen"
, submitMergeTitle = "Dokumente jetzt zusammenführen"
, cancelMerge = "Abbrechen"

View File

@ -11,6 +11,7 @@ module Messages.Comp.OtpSetup exposing
, gb
)
import Data.TimeZone exposing (TimeZone)
import Http
import Messages.Comp.HttpError
import Messages.DateFormat
@ -43,10 +44,10 @@ type alias Texts =
}
gb : Texts
gb =
gb : TimeZone -> Texts
gb tz =
{ httpError = Messages.Comp.HttpError.gb
, formatDateShort = Messages.DateFormat.formatDateShort Messages.UiLanguage.English
, formatDateShort = Messages.DateFormat.formatDateShort Messages.UiLanguage.English tz
, errorTitle = "Error"
, stateErrorInfoText = "There was a problem determining the current state of your two factor authentication scheme:"
, errorGeneratingQR = "Error generating QR Code"
@ -70,10 +71,10 @@ gb =
}
de : Texts
de =
de : TimeZone -> Texts
de tz =
{ httpError = Messages.Comp.HttpError.de
, formatDateShort = Messages.DateFormat.formatDateShort Messages.UiLanguage.German
, formatDateShort = Messages.DateFormat.formatDateShort Messages.UiLanguage.German tz
, errorTitle = "Fehler"
, stateErrorInfoText = "Es gab ein Problem, den Status der Zwei-Faktor-Authentifizierung zu ermittlen:"
, errorGeneratingQR = "Fehler beim Generieren des QR-Code"

View File

@ -11,6 +11,7 @@ module Messages.Comp.PeriodicQueryTaskForm exposing
, gb
)
import Data.TimeZone exposing (TimeZone)
import Http
import Messages.Basics
import Messages.Comp.BookmarkDropdown
@ -49,10 +50,10 @@ type alias Texts =
}
gb : Texts
gb =
gb : TimeZone -> Texts
gb tz =
{ basics = Messages.Basics.gb
, calEventInput = Messages.Comp.CalEventInput.gb
, calEventInput = Messages.Comp.CalEventInput.gb tz
, channelForm = Messages.Comp.ChannelForm.gb
, httpError = Messages.Comp.HttpError.gb
, bookmarkDropdown = Messages.Comp.BookmarkDropdown.gb
@ -83,10 +84,10 @@ gb =
}
de : Texts
de =
de : TimeZone -> Texts
de tz =
{ basics = Messages.Basics.de
, calEventInput = Messages.Comp.CalEventInput.de
, calEventInput = Messages.Comp.CalEventInput.de tz
, channelForm = Messages.Comp.ChannelForm.de
, httpError = Messages.Comp.HttpError.de
, bookmarkDropdown = Messages.Comp.BookmarkDropdown.de

View File

@ -11,6 +11,7 @@ module Messages.Comp.PeriodicQueryTaskManage exposing
, gb
)
import Data.TimeZone exposing (TimeZone)
import Http
import Messages.Basics
import Messages.Comp.HttpError
@ -38,10 +39,10 @@ type alias Texts =
}
gb : Texts
gb =
gb : TimeZone -> Texts
gb tz =
{ basics = Messages.Basics.gb
, notificationForm = Messages.Comp.PeriodicQueryTaskForm.gb
, notificationForm = Messages.Comp.PeriodicQueryTaskForm.gb tz
, notificationTable = Messages.Comp.PeriodicQueryTaskList.gb
, httpError = Messages.Comp.HttpError.gb
, channelType = Messages.Data.ChannelType.gb
@ -58,10 +59,10 @@ gb =
}
de : Texts
de =
de : TimeZone -> Texts
de tz =
{ basics = Messages.Basics.de
, notificationForm = Messages.Comp.PeriodicQueryTaskForm.de
, notificationForm = Messages.Comp.PeriodicQueryTaskForm.de tz
, notificationTable = Messages.Comp.PeriodicQueryTaskList.de
, httpError = Messages.Comp.HttpError.de
, channelType = Messages.Data.ChannelType.de

View File

@ -11,6 +11,7 @@ module Messages.Comp.PublishItems exposing
, gb
)
import Data.TimeZone exposing (TimeZone)
import Http
import Messages.Basics
import Messages.Comp.HttpError
@ -43,17 +44,17 @@ type alias Texts =
}
gb : Texts
gb =
gb : TimeZone -> Texts
gb tz =
{ basics = Messages.Basics.gb
, httpError = Messages.Comp.HttpError.gb
, shareForm = Messages.Comp.ShareForm.gb
, shareView = Messages.Comp.ShareView.gb
, shareView = Messages.Comp.ShareView.gb tz
, shareMail = Messages.Comp.ShareMail.gb
, title = "Publish Items"
, infoText = "Publishing items creates a cryptic link, which can be used by everyone to see the selected documents. This link cannot be guessed, but is public! It exists for a certain amount of time and can be further protected using a password."
, formatDateLong = Messages.DateFormat.formatDateLong Messages.UiLanguage.English
, formatDateShort = Messages.DateFormat.formatDateShort Messages.UiLanguage.English
, formatDateLong = Messages.DateFormat.formatDateLong Messages.UiLanguage.English tz
, formatDateShort = Messages.DateFormat.formatDateShort Messages.UiLanguage.English tz
, submitPublish = "Publish"
, submitPublishTitle = "Publish the documents now"
, cancelPublish = "Cancel"
@ -66,17 +67,17 @@ gb =
}
de : Texts
de =
de : TimeZone -> Texts
de tz =
{ basics = Messages.Basics.de
, httpError = Messages.Comp.HttpError.de
, shareForm = Messages.Comp.ShareForm.de
, shareView = Messages.Comp.ShareView.de
, shareView = Messages.Comp.ShareView.de tz
, shareMail = Messages.Comp.ShareMail.de
, title = "Dokumente publizieren"
, infoText = "Beim Publizieren der Dokumente wird ein kryptischer Link erzeugt, mit welchem jeder die dahinter publizierten Dokumente einsehen kann. Dieser Link kann nicht erraten werden, ist aber öffentlich. Er ist zeitlich begrenzt und kann zusätzlich mit einem Passwort geschützt werden."
, formatDateLong = Messages.DateFormat.formatDateLong Messages.UiLanguage.German
, formatDateShort = Messages.DateFormat.formatDateShort Messages.UiLanguage.German
, formatDateLong = Messages.DateFormat.formatDateLong Messages.UiLanguage.German tz
, formatDateShort = Messages.DateFormat.formatDateShort Messages.UiLanguage.German tz
, submitPublish = "Publizieren"
, submitPublishTitle = "Dokumente jetzt publizieren"
, cancelPublish = "Abbrechen"

View File

@ -11,6 +11,7 @@ module Messages.Comp.ScanMailboxForm exposing
, gb
)
import Data.TimeZone exposing (TimeZone)
import Http
import Messages.Basics
import Messages.Comp.CalEventInput
@ -80,10 +81,10 @@ type alias Texts =
}
gb : Texts
gb =
gb : TimeZone -> Texts
gb tz =
{ basics = Messages.Basics.gb
, calEventInput = Messages.Comp.CalEventInput.gb
, calEventInput = Messages.Comp.CalEventInput.gb tz
, httpError = Messages.Comp.HttpError.gb
, tagDropdown = Messages.Comp.TagDropdown.gb
, reallyDeleteTask = "Really delete this scan mailbox task?"
@ -165,10 +166,10 @@ gb =
}
de : Texts
de =
de : TimeZone -> Texts
de tz =
{ basics = Messages.Basics.de
, calEventInput = Messages.Comp.CalEventInput.de
, calEventInput = Messages.Comp.CalEventInput.de tz
, httpError = Messages.Comp.HttpError.de
, tagDropdown = Messages.Comp.TagDropdown.de
, reallyDeleteTask = "Den Auftrag wirklich löschen?"

View File

@ -11,6 +11,7 @@ module Messages.Comp.ScanMailboxManage exposing
, gb
)
import Data.TimeZone exposing (TimeZone)
import Http
import Messages.Basics
import Messages.Comp.HttpError
@ -32,10 +33,10 @@ type alias Texts =
}
gb : Texts
gb =
gb : TimeZone -> Texts
gb tb =
{ basics = Messages.Basics.gb
, form = Messages.Comp.ScanMailboxForm.gb
, form = Messages.Comp.ScanMailboxForm.gb tb
, table = Messages.Comp.ScanMailboxTable.gb
, httpError = Messages.Comp.HttpError.gb
, newTask = "New Task"
@ -47,10 +48,10 @@ gb =
}
de : Texts
de =
de : TimeZone -> Texts
de tz =
{ basics = Messages.Basics.de
, form = Messages.Comp.ScanMailboxForm.de
, form = Messages.Comp.ScanMailboxForm.de tz
, table = Messages.Comp.ScanMailboxTable.de
, httpError = Messages.Comp.HttpError.de
, newTask = "Neuer Auftrag"

View File

@ -11,6 +11,7 @@ module Messages.Comp.SentMails exposing
, gb
)
import Data.TimeZone exposing (TimeZone)
import Messages.DateFormat as DF
import Messages.UiLanguage
@ -26,25 +27,25 @@ type alias Texts =
}
gb : Texts
gb =
gb : TimeZone -> Texts
gb tz =
{ from = "From"
, date = "Date"
, recipients = "Recipients"
, subject = "Subject"
, sent = "Sent"
, sender = "Sender"
, formatDateTime = DF.formatDateTimeLong Messages.UiLanguage.English
, formatDateTime = DF.formatDateTimeLong Messages.UiLanguage.English tz
}
de : Texts
de =
de : TimeZone -> Texts
de tz =
{ from = "Von"
, date = "Datum"
, recipients = "Empfänger"
, subject = "Betreff"
, sent = "Gesendet"
, sender = "Absender"
, formatDateTime = DF.formatDateTimeLong Messages.UiLanguage.German
, formatDateTime = DF.formatDateTimeLong Messages.UiLanguage.German tz
}

View File

@ -11,6 +11,7 @@ module Messages.Comp.ShareManage exposing
, gb
)
import Data.TimeZone exposing (TimeZone)
import Http
import Messages.Basics
import Messages.Comp.HttpError
@ -44,13 +45,13 @@ type alias Texts =
}
gb : Texts
gb =
gb : TimeZone -> Texts
gb tz =
{ basics = Messages.Basics.gb
, httpError = Messages.Comp.HttpError.gb
, shareTable = Messages.Comp.ShareTable.gb
, shareTable = Messages.Comp.ShareTable.gb tz
, shareForm = Messages.Comp.ShareForm.gb
, shareView = Messages.Comp.ShareView.gb
, shareView = Messages.Comp.ShareView.gb tz
, shareMail = Messages.Comp.ShareMail.gb
, newShare = "New share"
, copyToClipboard = "Copy to clipboard"
@ -69,12 +70,12 @@ gb =
}
de : Texts
de =
de : TimeZone -> Texts
de tz =
{ basics = Messages.Basics.de
, shareTable = Messages.Comp.ShareTable.de
, shareTable = Messages.Comp.ShareTable.de tz
, shareForm = Messages.Comp.ShareForm.de
, shareView = Messages.Comp.ShareView.de
, shareView = Messages.Comp.ShareView.de tz
, httpError = Messages.Comp.HttpError.de
, shareMail = Messages.Comp.ShareMail.de
, newShare = "Neue Freigabe"

View File

@ -11,6 +11,7 @@ module Messages.Comp.ShareTable exposing
, gb
)
import Data.TimeZone exposing (TimeZone)
import Messages.Basics
import Messages.DateFormat as DF
import Messages.UiLanguage
@ -25,20 +26,20 @@ type alias Texts =
}
gb : Texts
gb =
gb : TimeZone -> Texts
gb tz =
{ basics = Messages.Basics.gb
, formatDateTime = DF.formatDateTimeLong Messages.UiLanguage.English
, formatDateTime = DF.formatDateTimeLong Messages.UiLanguage.English tz
, active = "Active"
, publishUntil = "Publish Until"
, user = "User"
}
de : Texts
de =
de : TimeZone -> Texts
de tz =
{ basics = Messages.Basics.de
, formatDateTime = DF.formatDateTimeLong Messages.UiLanguage.German
, formatDateTime = DF.formatDateTimeLong Messages.UiLanguage.German tz
, active = "Aktiv"
, publishUntil = "Publiziert bis"
, user = "Benutzer"

View File

@ -11,6 +11,7 @@ module Messages.Comp.ShareView exposing
, gb
)
import Data.TimeZone exposing (TimeZone)
import Messages.Basics
import Messages.DateFormat as DF
import Messages.UiLanguage
@ -32,10 +33,10 @@ type alias Texts =
}
gb : Texts
gb =
gb : TimeZone -> Texts
gb tz =
{ basics = Messages.Basics.gb
, date = DF.formatDateLong Messages.UiLanguage.English
, date = DF.formatDateLong Messages.UiLanguage.English tz
, qrCodeError = "Error generating QR Code."
, expiredInfo = "This share has expired."
, disabledInfo = "This share is disabled."
@ -49,10 +50,10 @@ gb =
}
de : Texts
de =
de : TimeZone -> Texts
de tz =
{ basics = Messages.Basics.de
, date = DF.formatDateLong Messages.UiLanguage.German
, date = DF.formatDateLong Messages.UiLanguage.German tz
, qrCodeError = "Fehler beim Erzeugen des QR-Codes."
, expiredInfo = "Diese Freigabe ist abgelaufen."
, disabledInfo = "Diese Freigae ist nicht aktiv."

View File

@ -11,6 +11,7 @@ module Messages.Comp.UserManage exposing
, gb
)
import Data.TimeZone exposing (TimeZone)
import Http
import Messages.Basics
import Messages.Comp.HttpError
@ -38,9 +39,9 @@ type alias Texts =
}
gb : Texts
gb =
{ userTable = Messages.Comp.UserTable.gb
gb : TimeZone -> Texts
gb tz =
{ userTable = Messages.Comp.UserTable.gb tz
, userForm = Messages.Comp.UserForm.gb
, basics = Messages.Basics.gb
, httpError = Messages.Comp.HttpError.gb
@ -59,9 +60,9 @@ gb =
}
de : Texts
de =
{ userTable = Messages.Comp.UserTable.de
de : TimeZone -> Texts
de tz =
{ userTable = Messages.Comp.UserTable.de tz
, userForm = Messages.Comp.UserForm.de
, basics = Messages.Basics.de
, httpError = Messages.Comp.HttpError.de

View File

@ -11,6 +11,7 @@ module Messages.Comp.UserTable exposing
, gb
)
import Data.TimeZone exposing (TimeZone)
import Messages.Basics
import Messages.DateFormat as DF
import Messages.UiLanguage
@ -28,8 +29,8 @@ type alias Texts =
}
gb : Texts
gb =
gb : TimeZone -> Texts
gb tz =
{ basics = Messages.Basics.gb
, login = "Login"
, state = "State"
@ -37,12 +38,12 @@ gb =
, email = "E-Mail"
, logins = "Logins"
, lastLogin = "Last Login"
, formatDateTime = DF.formatDateTimeLong Messages.UiLanguage.English
, formatDateTime = DF.formatDateTimeLong Messages.UiLanguage.English tz
}
de : Texts
de =
de : TimeZone -> Texts
de tz =
{ basics = Messages.Basics.de
, login = "Benutzername"
, state = "Status"
@ -50,5 +51,5 @@ de =
, email = "E-Mail"
, logins = "Anmeldungen"
, lastLogin = "Letzte Anmeldung"
, formatDateTime = DF.formatDateTimeLong Messages.UiLanguage.German
, formatDateTime = DF.formatDateTimeLong Messages.UiLanguage.German tz
}