Raw
 1package text
 2
 3const (
 4	SSHKeysHeading           Key = "ssh_keys.heading"
 5	SSHKeysIntro             Key = "ssh_keys.intro"
 6	SSHKeysNone              Key = "ssh_keys.none"
 7	SSHKeysNoLabel           Key = "ssh_keys.no_label"
 8	SSHKeysAdded             Key = "ssh_keys.added"
 9	SSHKeysRemove            Key = "ssh_keys.remove"
10	SSHKeysAdd               Key = "ssh_keys.add"
11	SSHKeysFull              Key = "ssh_keys.full"
12	SSHKeyNewTitle           Key = "ssh_key_new.title"
13	SSHKeyNewIntro           Key = "ssh_key_new.intro"
14	SSHKeyNewKey             Key = "ssh_key_new.key"
15	SSHKeyNewLabel           Key = "ssh_key_new.label"
16	SSHKeyNewLabelHint       Key = "ssh_key_new.label_hint"
17	SSHKeyNewSubmit          Key = "ssh_key_new.submit"
18	SSHKeyProblemNotOneLine  Key = "ssh_key.problem.not_one_line"
19	SSHKeyProblemNotAKey     Key = "ssh_key.problem.not_a_key"
20	SSHKeyProblemOptions     Key = "ssh_key.problem.options"
21	SSHKeyProblemCertificate Key = "ssh_key.problem.certificate"
22	SSHKeyProblemType        Key = "ssh_key.problem.type"
23	SSHKeyProblemShortRSA    Key = "ssh_key.problem.short_rsa"
24	SSHKeyProblemLabel       Key = "ssh_key.problem.label"
25	SSHKeyProblemOwned       Key = "ssh_key.problem.owned"
26	SSHKeyProblemTaken       Key = "ssh_key.problem.taken"
27	SSHKeyProblemLimit       Key = "ssh_key.problem.limit"
28	SSHKeyRemoveTitle        Key = "ssh_key_remove.title"
29	SSHKeyRemoveBody         Key = "ssh_key_remove.body"
30	SSHKeyRemoveButton       Key = "ssh_key_remove.button"
31	FlashSSHKeyAdded         Key = "flash.ssh_key.added"
32	FlashSSHKeyRemoved       Key = "flash.ssh_key.removed"
33	AdminSSHKeyNewTitle      Key = "admin.ssh_key_new.title"
34	AdminSSHKeyNewIntro      Key = "admin.ssh_key_new.intro"
35	AdminProblemSSHKeyOff    Key = "admin.problem.ssh_key_disabled"
36	AdminProblemSSHKeyWait   Key = "admin.problem.ssh_key_pending"
37)
38
39var _ = Register(map[Key]string{
40	SSHKeysHeading:           "SSH keys",
41	SSHKeysIntro:             "An SSH app beside this service, such as a git server, lets these keys in as this account while the account is enabled. A key belongs to one account only.",
42	SSHKeysNone:              "No SSH key is on this account.",
43	SSHKeysNoLabel:           "No label",
44	SSHKeysAdded:             "added",
45	SSHKeysRemove:            "Remove",
46	SSHKeysAdd:               "Add an SSH key",
47	SSHKeysFull:              "This account holds 10 SSH keys, the most it can. Remove one to add another.",
48	SSHKeyNewTitle:           "Add an SSH key",
49	SSHKeyNewIntro:           "Paste one public key: the single line of a .pub file, such as ~/.ssh/id_ed25519.pub, which begins with the key's type. Never paste a private key. Accepted are ed25519, ECDSA, RSA of at least 3072 bits, and security keys (sk-ssh-ed25519 and sk-ecdsa-sha2-nistp256).",
50	SSHKeyNewKey:             "Public key",
51	SSHKeyNewLabel:           "Label (optional)",
52	SSHKeyNewLabelHint:       "Left empty, the label is the comment at the end of the key's line, such as the user and host that made it.",
53	SSHKeyNewSubmit:          "Add the key",
54	SSHKeyProblemNotOneLine:  "Paste one key, on one line. To add several keys, add them one at a time.",
55	SSHKeyProblemNotAKey:     "This is not an OpenSSH public key. Paste the line of a .pub file, such as ~/.ssh/id_ed25519.pub.",
56	SSHKeyProblemOptions:     "This line starts with authorized_keys options, such as command= or from=. Paste the key alone, beginning with its type.",
57	SSHKeyProblemCertificate: "This is an SSH certificate. Paste the public key itself, not its certificate.",
58	SSHKeyProblemType:        "This type of key is not accepted. Use ed25519, ECDSA, RSA of at least 3072 bits, or a security key.",
59	SSHKeyProblemShortRSA:    "This RSA key is shorter than 3072 bits. Make a new key, for example with ssh-keygen -t ed25519, and paste that.",
60	SSHKeyProblemLabel:       "The label must be at most 128 bytes, with no control characters. Correct it and try again.",
61	SSHKeyProblemOwned:       "This key is already on this account. Nothing was changed.",
62	SSHKeyProblemTaken:       "This key is already on another account. A key can belong to one account only.",
63	SSHKeyProblemLimit:       "This account holds 10 SSH keys, the most it can. Remove one first, then add the new key.",
64	SSHKeyRemoveTitle:        "Remove the SSH key {ident}?",
65	SSHKeyRemoveBody:         "You are about to remove the SSH key {ident}. SSH apps stop letting it in at their next connection. The key can be added again later.",
66	SSHKeyRemoveButton:       "Remove the key",
67	FlashSSHKeyAdded:         "The SSH key {ident} is added.",
68	FlashSSHKeyRemoved:       "The SSH key {ident} is removed.",
69	AdminSSHKeyNewTitle:      "Add an SSH key for {ident}",
70	AdminSSHKeyNewIntro:      "Add a key only when its owner gave you the public key themselves: SSH apps will let it in as this account. Its owner sees it on their account page and can remove it there.",
71	AdminProblemSSHKeyOff:    "This account is disabled and takes no new SSH key. Enable it first, then add the key.",
72	AdminProblemSSHKeyWait:   "This account is waiting for its confirmation and takes no SSH key yet. Confirm or reject it first.",
73})