Raw
 1package text
 2
 3const (
 4	ErrorBadRequestTitle   Key = "error.400.title"
 5	ErrorBadRequest        Key = "error.400.body"
 6	ErrorForbiddenTitle    Key = "error.403.title"
 7	ErrorForbidden         Key = "error.403.body"
 8	ErrorFormExpired       Key = "error.403.form"
 9	ErrorNotFoundTitle     Key = "error.404.title"
10	ErrorNotFound          Key = "error.404.body"
11	ErrorInternalTitle     Key = "error.500.title"
12	ErrorInternal          Key = "error.500.body"
13	ErrorUnavailableTitle  Key = "error.503.title"
14	ErrorUnavailable       Key = "error.503.body"
15	ErrorTooManyTitle      Key = "error.429.title"
16	ErrorTooMany           Key = "error.429.body"
17	ErrorBusyTitle         Key = "error.503.busy.title"
18	ErrorBusy              Key = "error.503.busy.body"
19	ErrorOtherTitle        Key = "error.other.title"
20	ErrorOther             Key = "error.other.body"
21	ContinuationInvalid    Key = "error.400.continuation"
22	SignInUnavailable      Key = "error.503.signin"
23	ContinuationIncomplete Key = "error.400.signin"
24)
25
26var _ = Register(map[Key]string{
27	ErrorBadRequestTitle:   "Request not understood",
28	ErrorBadRequest:        "The service could not use this request. Go back and try again.",
29	ErrorForbiddenTitle:    "Not allowed",
30	ErrorForbidden:         "This request was refused.",
31	ErrorFormExpired:       "This form has expired or was sent from another page. Go back, reload the page and try again.",
32	ErrorNotFoundTitle:     "Not found",
33	ErrorNotFound:          "There is nothing at this address.",
34	ErrorInternalTitle:     "Something went wrong",
35	ErrorInternal:          "The service could not complete this request. Try again later.",
36	ErrorUnavailableTitle:  "Not available yet",
37	ErrorUnavailable:       "This part of the service is not available yet.",
38	ErrorTooManyTitle:      "Too many attempts",
39	ErrorTooMany:           "Too many requests came from your address. Wait a few seconds, then try again.",
40	ErrorBusyTitle:         "Busy",
41	ErrorBusy:              "The service is busy right now. Try again in a moment.",
42	ErrorOtherTitle:        "Request failed",
43	ErrorOther:             "The service could not complete this request.",
44	ContinuationInvalid:    "This step has expired or was already used. Return to the application and start again.",
45	SignInUnavailable:      "Signing in is not available yet.",
46	ContinuationIncomplete: "This sign-in link is incomplete. Return to the application and start again.",
47})