share et dashboad

This commit is contained in:
Jimmy Girardet 2022-03-10 12:11:43 +01:00
parent 8d7308d970
commit 58255f60a3
20 changed files with 264 additions and 35 deletions

View File

@ -168,7 +168,7 @@ fr tz =
, userSettings = Messages.Page.UserSettings.fr tz
, manageData = Messages.Page.ManageData.fr tz
, search = Messages.Page.Search.fr tz
, share = Messages.Page.Share.gb tz
, shareDetail = Messages.Page.ShareDetail.gb tz
, share = Messages.Page.Share.fr tz
, shareDetail = Messages.Page.ShareDetail.fr tz
, dashboard = Messages.Page.Dashboard.fr tz
}

View File

@ -5,7 +5,7 @@
-}
module Messages.Comp.BoxEdit exposing (Texts, de, gb)
module Messages.Comp.BoxEdit exposing (Texts, de, gb, fr)
import Messages.Basics
import Messages.Comp.BoxMessageEdit
@ -72,3 +72,22 @@ de =
, moveToRight = "Nach rechts verschieben"
, deleteBox = "Kachel entfernen"
}
fr : Texts
fr =
{ messageEdit = Messages.Comp.BoxMessageEdit.fr
, uploadEdit = Messages.Comp.BoxUploadEdit.fr
, queryEdit = Messages.Comp.BoxQueryEdit.fr
, statsEdit = Messages.Comp.BoxStatsEdit.fr
, boxContent = Messages.Data.BoxContent.fr
, basics = Messages.Basics.fr
, namePlaceholder = "Nom"
, visible = "Visible"
, decorations = "Décorations"
, colspan = "Nombre de colonnes de large"
, contentProperties = "Contenu"
, reallyDeleteBox = "Confirmer la suppression de la boite ?"
, moveToLeft = "Déplacer à gauche"
, moveToRight = "Déplacer à droite"
, deleteBox = "Supprimer la boite"
}

View File

@ -5,7 +5,7 @@
-}
module Messages.Comp.BoxMessageEdit exposing (Texts, de, gb)
module Messages.Comp.BoxMessageEdit exposing (Texts, de, gb, fr)
type alias Texts =
@ -35,3 +35,12 @@ de =
, bodyPlaceholder = "Text"
, infoText = "Markdown kann in beiden Feldern für einfache Formatierung verwendet werden."
}
fr : Texts
fr =
{ titleLabel = "Titre"
, titlePlaceholder = "Titre du message..."
, bodyLabel = "Corps"
, bodyPlaceholder = "Cors du message"
, infoText = "Markdown peut être utilisé dans les deux champs pour le formatage simple."
}

View File

@ -5,7 +5,7 @@
-}
module Messages.Comp.BoxQueryEdit exposing (Texts, de, gb)
module Messages.Comp.BoxQueryEdit exposing (Texts, de, gb, fr)
import Messages.Comp.BoxSearchQueryInput
import Messages.Comp.ItemColumnDropdown
@ -32,3 +32,10 @@ de =
, searchQuery = Messages.Comp.BoxSearchQueryInput.de
, showColumnHeaders = "Spaltennamen anzeigen"
}
fr : Texts
fr =
{ columnDropdown = Messages.Comp.ItemColumnDropdown.fr
, searchQuery = Messages.Comp.BoxSearchQueryInput.fr
, showColumnHeaders = "Voir les entêtes des colonnes"
}

View File

@ -5,7 +5,7 @@
-}
module Messages.Comp.BoxQueryView exposing (Texts, de, gb)
module Messages.Comp.BoxQueryView exposing (Texts, de, gb, fr)
import Data.ItemTemplate as IT
import Data.TimeZone exposing (TimeZone)
@ -56,3 +56,18 @@ de tz =
}
, itemColumn = Messages.Data.ItemColumn.de
}
fr : TimeZone -> Texts
fr tz =
{ httpError = Messages.Comp.HttpError.fr
, errorOccurred = "Erreur lors de la récupération des données"
, basics = Messages.Basics.fr
, noResults = "Aucun document trouvé"
, templateCtx =
{ dateFormatLong = DF.formatDateLong Messages.UiLanguage.French tz
, dateFormatShort = DF.formatDateShort Messages.UiLanguage.French tz
, directionLabel = Messages.Data.Direction.fr
}
, itemColumn = Messages.Data.ItemColumn.fr
}

View File

@ -5,7 +5,7 @@
-}
module Messages.Comp.BoxSearchQueryInput exposing (Texts, de, gb)
module Messages.Comp.BoxSearchQueryInput exposing (Texts, de, gb, fr)
import Messages.Comp.BookmarkDropdown
@ -34,3 +34,11 @@ de =
, switchToQuery = "Suchabfrage"
, searchPlaceholder = "Abfrage"
}
fr : Texts
fr =
{ bookmarkDropdown = Messages.Comp.BookmarkDropdown.fr
, switchToBookmark = "Favoris"
, switchToQuery = "Requête de recherche"
, searchPlaceholder = "Recherche "
}

View File

@ -5,7 +5,7 @@
-}
module Messages.Comp.BoxStatsEdit exposing (Texts, de, gb)
module Messages.Comp.BoxStatsEdit exposing (Texts, de, gb, fr)
import Messages.Comp.BoxSearchQueryInput
@ -37,3 +37,12 @@ de =
, showLabel = "Anzeige"
, showItemCount = "Gesamtanzahl Dokumente mit anzeigen"
}
fr : Texts
fr =
{ searchQuery = Messages.Comp.BoxSearchQueryInput.fr
, fieldStatistics = "Statistiques des champs"
, basicNumbers = "Résultats simples"
, showLabel = "Afficher"
, showItemCount = "Afficher le nombre de documents"
}

View File

@ -5,7 +5,7 @@
-}
module Messages.Comp.BoxStatsView exposing (Texts, de, gb)
module Messages.Comp.BoxStatsView exposing (Texts, de, gb, fr)
import Http
import Messages.Basics
@ -37,3 +37,11 @@ de =
, statsView = Messages.Comp.SearchStatsView.de
, basics = Messages.Basics.de
}
fr : Texts
fr =
{ httpError = Messages.Comp.HttpError.fr
, errorOccurred = "Erreur en récupérant les données."
, statsView = Messages.Comp.SearchStatsView.fr
, basics = Messages.Basics.fr
}

View File

@ -5,7 +5,7 @@
-}
module Messages.Comp.BoxUploadEdit exposing (Texts, de, gb)
module Messages.Comp.BoxUploadEdit exposing (Texts, de, gb, fr)
type alias Texts =
@ -29,3 +29,10 @@ de =
, sourcePlaceholder = "Quelle"
, infoText = "Optional kann eine Quelle als Einstellung gewählt werden, sonst werden Standardeinstellungen verwendet."
}
fr : Texts
fr =
{ sourceLabel = "Source"
, sourcePlaceholder = "Choisir la source"
, infoText = "Choisir une source (facultatif) sinon les paramètres par défaut sont utilisés pour tous les envois"
}

View File

@ -5,7 +5,7 @@
-}
module Messages.Comp.BoxUploadView exposing (Texts, de, gb)
module Messages.Comp.BoxUploadView exposing (Texts, de, gb, fr)
import Messages.Comp.UploadForm
@ -28,3 +28,9 @@ de =
{ uploadForm = Messages.Comp.UploadForm.de
, moreOptions = "More options"
}
fr : Texts
fr =
{ uploadForm = Messages.Comp.UploadForm.fr
, moreOptions = "Plus d'options..."
}

View File

@ -5,7 +5,7 @@
-}
module Messages.Comp.BoxView exposing (Texts, de, gb)
module Messages.Comp.BoxView exposing (Texts, de, gb, fr)
import Data.TimeZone exposing (TimeZone)
import Messages.Comp.BoxQueryView
@ -34,3 +34,10 @@ de tz =
, statsView = Messages.Comp.BoxStatsView.de
, uploadView = Messages.Comp.BoxUploadView.de
}
fr : TimeZone -> Texts
fr tz =
{ queryView = Messages.Comp.BoxQueryView.fr tz
, statsView = Messages.Comp.BoxStatsView.fr
, uploadView = Messages.Comp.BoxUploadView.fr
}

View File

@ -5,7 +5,7 @@
-}
module Messages.Comp.DashboardEdit exposing (Texts, de, gb)
module Messages.Comp.DashboardEdit exposing (Texts, de, gb, fr)
import Messages.Basics
import Messages.Comp.BoxEdit
@ -55,3 +55,17 @@ de =
, defaultDashboard = "Standard Dashboard"
, gap = "Abstand"
}
fr : Texts
fr =
{ boxView = Messages.Comp.BoxEdit.fr
, boxContent = Messages.Data.BoxContent.fr
, basics = Messages.Basics.fr
, accountScope = Messages.Data.AccountScope.fr
, namePlaceholder = "Nom du tableau de bord "
, columns = "Colonnes"
, dashboardBoxes = "Boites du tableau de bord"
, newBox = "Nouvelle boite"
, defaultDashboard = "Tableau de bord par défaut"
, gap = "Espace"
}

View File

@ -5,7 +5,7 @@
-}
module Messages.Comp.DashboardManage exposing (Texts, de, gb)
module Messages.Comp.DashboardManage exposing (Texts, de, gb, fr)
import Http
import Messages.Basics
@ -49,3 +49,15 @@ de =
, createDashboard = "Neu"
, copyDashboard = "Kopie"
}
fr : Texts
fr =
{ basics = Messages.Basics.fr
, dashboardEdit = Messages.Comp.DashboardEdit.fr
, httpError = Messages.Comp.HttpError.fr
, reallyDeleteDashboard = "Confirmer la suppression de ce tableau de bord ?"
, nameEmpty = "Le nom ne peut être vide."
, nameExists = "Ce nom est déjà utilisé."
, createDashboard = "Nouveau"
, copyDashboard = "Copier"
}

View File

@ -5,7 +5,7 @@
-}
module Messages.Comp.DashboardView exposing (Texts, de, gb)
module Messages.Comp.DashboardView exposing (Texts, de, gb, fr)
import Data.TimeZone exposing (TimeZone)
import Messages.Comp.BoxView
@ -26,3 +26,9 @@ de : TimeZone -> Texts
de tz =
{ boxView = Messages.Comp.BoxView.de tz
}
fr : TimeZone -> Texts
fr tz =
{ boxView = Messages.Comp.BoxView.fr tz
}

View File

@ -9,6 +9,7 @@ module Messages.Comp.ItemColumnDropdown exposing
( Texts
, de
, gb
, fr
)
import Messages.Basics
@ -36,3 +37,10 @@ de =
, column = Messages.Data.ItemColumn.de
, placeholder = "Wähle"
}
fr : Texts
fr =
{ basics = Messages.Basics.fr
, column = Messages.Data.ItemColumn.fr
, placeholder = "Choisir "
}

View File

@ -5,7 +5,7 @@
-}
module Messages.Data.BoxContent exposing (Texts, de, gb)
module Messages.Data.BoxContent exposing (Texts, de, gb, fr)
import Data.BoxContent exposing (BoxContent(..))
@ -59,3 +59,13 @@ updateForContent init =
BoxStats _ ->
init.statsBox
}
fr : Texts
fr =
updateForContent
{ forContent = \_ -> ""
, queryBox = "Boite de recherche"
, statsBox = "Boite de statistique"
, messageBox = "Boite de message"
, uploadBox = "Boite d'envoi"
}

View File

@ -5,7 +5,7 @@
-}
module Messages.Data.ItemColumn exposing (Texts, de, gb)
module Messages.Data.ItemColumn exposing (Texts, de, gb, fr)
import Data.ItemColumn exposing (ItemColumn(..))
@ -120,3 +120,57 @@ de =
_ ->
headerName col
}
fr : Texts
fr =
let
headerName col =
case col of
Name ->
"Nom"
DateLong ->
"Date"
DateShort ->
"Date"
DueDateLong ->
"Date d'échéance"
DueDateShort ->
"Date d'échéance"
Folder ->
"Dossier"
Correspondent ->
"Correspondant"
Concerning ->
"Concerné"
Tags ->
"Tags"
in
{ header = headerName
, label =
\col ->
case col of
DateShort ->
headerName col ++ " (court)"
DateLong ->
headerName col ++ " (long)"
DueDateShort ->
headerName col ++ " (court)"
DueDateLong ->
headerName col ++ " (long)"
_ ->
headerName col
}

View File

@ -121,29 +121,29 @@ de tz =
fr : TimeZone -> Texts
fr tz =
{ basics = Messages.Basics.fr
, bookmarkChooser = Messages.Comp.BookmarkChooser.gb
, notificationHookManage = Messages.Comp.NotificationHookManage.gb
, periodicQueryManage = Messages.Comp.PeriodicQueryTaskManage.gb tz
, sourceManage = Messages.Comp.SourceManage.gb
, shareManage = Messages.Comp.ShareManage.gb tz
, organizationManage = Messages.Comp.OrgManage.gb
, personManage = Messages.Comp.PersonManage.gb
, equipManage = Messages.Comp.EquipmentManage.gb
, tagManage = Messages.Comp.TagManage.gb
, folderManage = Messages.Comp.FolderManage.gb tz
, uploadForm = Messages.Comp.UploadForm.gb
, dashboard = Messages.Comp.DashboardView.gb tz
, dashboardManage = Messages.Comp.DashboardManage.gb
, defaultDashboard = Messages.Page.DefaultDashboard.gb
, accountScope = Messages.Data.AccountScope.gb
, manage = "Informations Complémentaires"
, bookmarkChooser = Messages.Comp.BookmarkChooser.fr
, notificationHookManage = Messages.Comp.NotificationHookManage.fr
, periodicQueryManage = Messages.Comp.PeriodicQueryTaskManage.fr tz
, sourceManage = Messages.Comp.SourceManage.fr
, shareManage = Messages.Comp.ShareManage.fr tz
, organizationManage = Messages.Comp.OrgManage.fr
, personManage = Messages.Comp.PersonManage.fr
, equipManage = Messages.Comp.EquipmentManage.fr
, tagManage = Messages.Comp.TagManage.fr
, folderManage = Messages.Comp.FolderManage.fr tz
, uploadForm = Messages.Comp.UploadForm.fr
, dashboard = Messages.Comp.DashboardView.fr tz
, dashboardManage = Messages.Comp.DashboardManage.fr
, defaultDashboard = Messages.Page.DefaultDashboard.fr
, accountScope = Messages.Data.AccountScope.fr
, manage = "Métadonnées"
, dashboardLink = "Tableau de Bord"
, bookmarks = "Favoris"
, misc = "Divers"
, settings = "Configuration"
, documentation = "Documentation"
, uploadFiles = "Envoyer des documents"
, editDashboard = "Editer le Tableau de Bord"
, editDashboard = "Éditer le Tableau de Bord"
, dashboards = "Tableaux de bord"
, predefinedMessage = "Ce tableau de bord est prédéfini et ne peut être supprimer. Il est remplacé par le premier que vous enregistrez."
}

View File

@ -5,7 +5,7 @@
-}
module Messages.Page.DefaultDashboard exposing (Texts, de, gb)
module Messages.Page.DefaultDashboard exposing (Texts, de, gb, fr)
import Messages.Basics
@ -46,3 +46,16 @@ de =
, dueInDays = \n -> "Fällig in " ++ String.fromInt n ++ " Tagen"
, newDocsName = "Neue Dokumente"
}
fr : Texts
fr =
{ basics = Messages.Basics.fr
, default = "Défaut"
, welcomeName = "Message de bienvenue"
, welcomeTitle = "# Bienvenue sur Docspell"
, welcomeBody = "Docspell garde vos documents organisés"
, summaryName = "Résumé"
, dueInDays = \n -> "Échéance dans " ++ String.fromInt n ++ " jours"
, newDocsName = "Nouveaux documents"
}

View File

@ -67,3 +67,20 @@ de tz =
, listView = "Listenansicht"
, tileView = "Kachelansicht"
}
fr : TimeZone -> Texts
fr tz =
{ searchMenu = Messages.Comp.SearchMenu.fr
, basics = Messages.Basics.fr
, itemCardList = Messages.Comp.ItemCardList.fr tz
, passwordForm = Messages.Comp.SharePasswordForm.fr
, authFailed = "Ce partage n'existe pas."
, httpError = Messages.Comp.HttpError.fr
, fulltextPlaceholder = "Recherche en texte entier..."
, powerSearchPlaceholder = "Recherche étendue"
, extendedSearch = "Requête de recherche étendue"
, normalSearchPlaceholder = "Recherche"
, showItemGroups = "Grouper par mois"
, listView = "Affichage liste"
, tileView = "Affichage tuile"
}