Externalize strings in new-invite page

This commit is contained in:
Eike Kettner
2021-03-31 20:57:47 +02:00
parent db6198673b
commit 12cad398ac
3 changed files with 54 additions and 34 deletions

View File

@ -0,0 +1,33 @@
module Messages.NewInvitePage exposing (..)
import Messages.Basics
type alias Texts =
{ basics : Messages.Basics.Texts
, createNewInvitations : String
, invitationKey : String
, password : String
, reset : String
, inviteInfo : String
}
gb : Texts
gb =
{ basics = Messages.Basics.gb
, createNewInvitations = "Create new invitations"
, invitationKey = "Invitation Key"
, password = "Password"
, reset = "Reset"
, inviteInfo =
"""Docspell requires an invite when signing up. You can
create these invites here and send them to friends so
they can signup with docspell.
Each invite can only be used once. You'll need to
create one key for each person you want to invite.
Creating an invite requires providing the password
from the configuration."""
}