package text const ( ResetTitle Key = "reset.title" ResetIntro Key = "reset.intro" ResetSubmit Key = "reset.submit" ResetInvalidTitle Key = "reset.invalid.title" ResetInvalid Key = "reset.invalid.body" ResetDoneTitle Key = "reset.done.title" ResetDone Key = "reset.done.body" FlashResetDone Key = "flash.reset.done" AdminResetTitle Key = "admin.reset.title" AdminResetBody Key = "admin.reset.body" AdminUserReset Key = "admin.user.reset" AdminResetOneTimeTitle Key = "admin.reset.onetime.title" AdminResetBack Key = "admin.reset.back" OneTimeExpires Key = "onetime.expires" AdminProblemResetLinkDisabled Key = "admin.problem.reset_link_disabled" AdminProblemResetLinkPending Key = "admin.problem.reset_link_pending" ) var _ = Register(map[Key]string{ ResetTitle: "Set a new password", ResetIntro: "Choose a new password for {ident}. Setting it signs this account out everywhere.", ResetSubmit: "Set password", ResetInvalidTitle: "Reset link not valid", 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.", ResetDoneTitle: "Password set", ResetDone: "Every earlier sign-in of this account has ended. Sign in again from the application you want to use.", FlashResetDone: "The new password for {ident} is set.", AdminResetTitle: "Issue a reset link for {ident}", 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.", AdminUserReset: "Issue reset link", AdminResetOneTimeTitle: "Reset link for {ident}", AdminResetBack: "Back to the user page", OneTimeExpires: "Single use ยท expires {ident} UTC", AdminProblemResetLinkDisabled: "This account is disabled and gets no reset link. Enable it first, then issue the link.", AdminProblemResetLinkPending: "This account is waiting for its confirmation and gets no reset link. Confirm or reject it first.", }) var _ = Register(map[Key]string{ "audit.action.reset_link.issue": "Issued a password reset link", "audit.action.reset_link.redeem": "Set a password with a reset link", })