1package text
2
3const (
4 ResetTitle Key = "reset.title"
5 ResetIntro Key = "reset.intro"
6 ResetSubmit Key = "reset.submit"
7 ResetInvalidTitle Key = "reset.invalid.title"
8 ResetInvalid Key = "reset.invalid.body"
9 ResetDoneTitle Key = "reset.done.title"
10 ResetDone Key = "reset.done.body"
11 FlashResetDone Key = "flash.reset.done"
12 AdminResetTitle Key = "admin.reset.title"
13 AdminResetBody Key = "admin.reset.body"
14 AdminUserReset Key = "admin.user.reset"
15 AdminResetOneTimeTitle Key = "admin.reset.onetime.title"
16 AdminResetBack Key = "admin.reset.back"
17 OneTimeExpires Key = "onetime.expires"
18 AdminProblemResetLinkDisabled Key = "admin.problem.reset_link_disabled"
19 AdminProblemResetLinkPending Key = "admin.problem.reset_link_pending"
20)
21
22var _ = Register(map[Key]string{
23 ResetTitle: "Set a new password",
24 ResetIntro: "Choose a new password for {ident}. Setting it signs this account out everywhere.",
25 ResetSubmit: "Set password",
26 ResetInvalidTitle: "Reset link not valid",
27 ResetInvalid: "This reset link is not valid. It may have expired, been replaced by a newer link, or already been used. Ask your administrator for a new link.",
28 ResetDoneTitle: "Password set",
29 ResetDone: "Every earlier sign-in of this account has ended. Sign in again from the application you want to use.",
30 FlashResetDone: "The new password for {ident} is set.",
31 AdminResetTitle: "Issue a reset link for {ident}",
32 AdminResetBody: "Whoever holds the link can set a new password for {ident} within 24 hours, once. A link issued earlier stops working. When the link is used, every session and token of the account ends.",
33 AdminUserReset: "Issue reset link",
34 AdminResetOneTimeTitle: "Reset link for {ident}",
35 AdminResetBack: "Back to the user page",
36 OneTimeExpires: "Single use ยท expires {ident} UTC",
37 AdminProblemResetLinkDisabled: "This account is disabled and gets no reset link. Enable it first, then issue the link.",
38 AdminProblemResetLinkPending: "This account is waiting for its confirmation and gets no reset link. Confirm or reject it first.",
39})
40
41var _ = Register(map[Key]string{
42 "audit.action.reset_link.issue": "Issued a password reset link",
43 "audit.action.reset_link.redeem": "Set a password with a reset link",
44})