Author: toad
Date: 2007-12-11 18:19:13 +0000 (Tue, 11 Dec 2007)
New Revision: 16498

Modified:
   trunk/freenet/src/freenet/clients/http/FirstTimeWizardToadlet.java
   trunk/freenet/src/freenet/l10n/freenet.l10n.en.properties
Log:
Make the opennet choice clearer.

Modified: trunk/freenet/src/freenet/clients/http/FirstTimeWizardToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/FirstTimeWizardToadlet.java  
2007-12-11 18:12:52 UTC (rev 16497)
+++ trunk/freenet/src/freenet/clients/http/FirstTimeWizardToadlet.java  
2007-12-11 18:19:13 UTC (rev 16498)
@@ -54,13 +54,13 @@
                        HTMLNode opennetInfoboxContent = 
opennetInfobox.addChild("div", "class", "infobox-content");

                        opennetInfoboxHeader.addChild("#", 
l10n("connectToStrangers"));
-                       opennetInfoboxContent.addChild("#", 
l10n("connectToStrangersLong"));
+                       opennetInfoboxContent.addChild("p", 
l10n("connectToStrangersLong"));
+                       opennetInfoboxContent.addChild("p", 
l10n("enableOpennet"));
                        HTMLNode opennetForm = 
ctx.addFormChild(opennetInfoboxContent, ".", "opennetForm");
-                       
                        HTMLNode opennetDiv = opennetForm.addChild("div", 
"class", "opennetDiv");
-                       opennetDiv.addChild("#", l10n("enableOpennet"));
-                       opennetDiv.addChild("input", new String[] { "type", 
"name", "value" }, new String[] { "radio", "enableOpennet", "true" }, 
L10n.getString("Toadlet.yes"));
-                       opennetDiv.addChild("input", new String[] { "type", 
"name", "value" }, new String[] { "radio", "enableOpennet", "false" }, 
L10n.getString("Toadlet.no"));
+                       opennetDiv.addChild("input", new String[] { "type", 
"name", "value" }, new String[] { "radio", "enableOpennet", "true" }, 
l10n("opennetYes"));
+                       opennetDiv.addChild("br");
+                       opennetDiv.addChild("input", new String[] { "type", 
"name", "value" }, new String[] { "radio", "enableOpennet", "false" }, 
l10n("opennetNo"));
                        opennetForm.addChild("input", new String[] { "type", 
"name", "value" }, new String[] { "submit", "opennetF", 
L10n.getString("FirstTimeWizardToadlet.continue")});
                        opennetForm.addChild("input", new String[] { "type", 
"name", "value" }, new String[] { "submit", "cancel", 
L10n.getString("Toadlet.cancel")});
                        this.writeHTMLReply(ctx, 200, "OK", 
pageNode.generate());

Modified: trunk/freenet/src/freenet/l10n/freenet.l10n.en.properties
===================================================================
--- trunk/freenet/src/freenet/l10n/freenet.l10n.en.properties   2007-12-11 
18:12:52 UTC (rev 16497)
+++ trunk/freenet/src/freenet/l10n/freenet.l10n.en.properties   2007-12-11 
18:19:13 UTC (rev 16498)
@@ -234,7 +234,9 @@
 FirstTimeWizardToadlet.chooseNodeNameLong=Please enter a node name in the 
field below (we recommend a nickname possibly with an email address). This is 
so that your friends (trusted peers, which you have manually added) can easily 
tell your node from their other nodes. This is not visible to strangers 
(untrusted automatically added peers). Note that any friend or stranger may 
trivially identify you from your IP address, since you are connected to them, 
but they cannot easily tell what you are requesting.
 FirstTimeWizardToadlet.connectToStrangers=Connect to strangers?
 FirstTimeWizardToadlet.connectToStrangersLong=If you let Freenet connect to 
strangers, Freenet will be less secure for you, everybody can find out that you 
are using Freenet, and any bad guy can connect to your node. If you don't, you 
will have to manually contact at least three other friends (people you already 
know) who are using Freenet and connect to them.
-FirstTimeWizardToadlet.enableOpennet=Do you want your node to connect to 
strangers? Click yes unless you have at least 3 (preferably 10) friends already 
using Freenet you can connect to. Click no for maximum security, but you will 
need to find connections manually.
+FirstTimeWizardToadlet.enableOpennet=Do you want your node to connect to 
strangers?
+FirstTimeWizardToadlet.opennetYes=Connect to strangers (insecure mode, but 
will work out of the box).
+FirstTimeWizardToadlet.opennetNo=Only connect to friends (secure mode, you 
will need to manually add at least 3-10 friends already running Freenet).
 FirstTimeWizardToadlet.welcomeInfoboxTitle=Welcome to Freenet first time 
wizard!
 FirstTimeWizardToadlet.welcomeInfoboxContent1=Welcome to Freenet first time 
wizard. This tool will enable you to configure your node quickly and easily to 
get you started.
 FirstTimeWizardToadlet.bandwidthLimit=Bandwidth limits


Reply via email to