You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -44,22 +45,22 @@ export class InviteErrorHelp extends React.Component {
44
45
lethelpText=false
45
46
46
47
if(~msg.indexOf('invite not accepted'))
47
-
helpText='The invite code was not accepted. It may have been used already. Ask the pub-operator for a new code and try again.'
48
+
helpText=t('invite.help.codeRequired')
48
49
49
50
if(~msg.indexOf('incorrect or expired')||~msg.indexOf('has expired'))
50
-
helpText='The invite code is incorrect or expired. Make sure you copy/pasted it correctly. If you did, ask the pub-operator for a new code and try again.'
51
+
helpText=t('invite.help.notAccepted')
51
52
52
53
if(~msg.indexOf('invalid')||~msg.indexOf('feed to follow is missing')||~msg.indexOf('may not be used to follow another key'))
53
-
helpText='The invite code is malformed. Make sure you copy/pasted it correctly. If you did, ask the pub-server owner for a new code and try again.'
54
+
helpText=t('invite.help.somethingWrong')
54
55
55
56
if(~msg.indexOf('pub server did not have correct public key'))
56
-
helpText='The pub server did not identify itself correctly for the invite code. Ask the pub-operator for a new code and try again.'
57
+
helpText=t('invite.help.connectionFailure')
57
58
58
59
if(~msg.indexOf('could not connect to server')||~msg.indexOf('unexpected end of parent stream'))
59
-
helpText='Failed to connect to the pub server. Check your connection, make sure the pub server is online, and try again.'
60
+
helpText=t('invite.help.failedConnect')
60
61
61
62
if(~msg.indexOf('ENOTFOUND'))
62
-
helpText='Check your connection, make sure the pub server is online, and try again. If this issue persists, check with the pub operator.'
<div>An invite code tells the Pub to join your contacts.</div>
93
+
<div>{t('invite.q.WhatIs')}</div>
94
+
<div>{t('invite.a.WhatIs')}</div>
94
95
</div>
95
96
<divclassName="faq-entry">
96
-
<div>Where can I get an invite code?</div>
97
-
<div>You should ask a Pub operator. Many of them hang out in #scuttlebutt on Freenode.</div>
97
+
<div>{t('invite.q.WhereCan')}</div>
98
+
<div>{t('invite.a.WhereCan')}</div>
98
99
</div>
99
100
<divclassName="faq-entry">
100
-
<div>Can I create a Pub?</div>
101
-
<div>Yes, but it requires a public server. If you have one, you can <ahref="http://ssbc.github.io/docs/scuttlebot/howto-setup-a-pub.html"target="_blank">follow this guide</a>.</div>
0 commit comments