{-
   Copyright 2020 Eike K. & Contributors

   SPDX-License-Identifier: AGPL-3.0-or-later
-}


module Messages.Comp.UserTable exposing
    ( Texts
    , de
    , gb
    )

import Messages.Basics
import Messages.DateFormat as DF
import Messages.UiLanguage


type alias Texts =
    { basics : Messages.Basics.Texts
    , login : String
    , state : String
    , source : String
    , email : String
    , logins : String
    , lastLogin : String
    , formatDateTime : Int -> String
    }


gb : Texts
gb =
    { basics = Messages.Basics.gb
    , login = "Login"
    , state = "State"
    , source = "Type"
    , email = "E-Mail"
    , logins = "Logins"
    , lastLogin = "Last Login"
    , formatDateTime = DF.formatDateTimeLong Messages.UiLanguage.English
    }


de : Texts
de =
    { basics = Messages.Basics.de
    , login = "Benutzername"
    , state = "Status"
    , source = "Typ"
    , email = "E-Mail"
    , logins = "Anmeldungen"
    , lastLogin = "Letzte Anmeldung"
    , formatDateTime = DF.formatDateTimeLong Messages.UiLanguage.German
    }
