Author: toad
Date: 2008-04-23 15:26:22 +0000 (Wed, 23 Apr 2008)
New Revision: 19537

Modified:
   trunk/freenet/src/freenet/clients/http/FirstTimeWizardToadlet.java
   trunk/freenet/src/freenet/l10n/freenet.l10n.en.properties
Log:
Localise english strings in the dropdowns from FirstTimeWizardToadlet

Modified: trunk/freenet/src/freenet/clients/http/FirstTimeWizardToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/FirstTimeWizardToadlet.java  
2008-04-23 15:21:08 UTC (rev 19536)
+++ trunk/freenet/src/freenet/clients/http/FirstTimeWizardToadlet.java  
2008-04-23 15:26:22 UTC (rev 19537)
@@ -103,12 +103,12 @@
                        HTMLNode bandwidthForm = 
ctx.addFormChild(bandwidthInfoboxContent, ".", "bwForm");
                        HTMLNode result = bandwidthForm.addChild("select", 
"name", "bw");

-                       result.addChild("option", "value", "8K", "lower speed");
+                       result.addChild("option", "value", "8K", 
l10n("bwlimitLowerSpeed"));
                        result.addChild("option", new String[] { "value", 
"selected" }, new String[] { "12K", "selected" }, "512+/128 kbps");
                        result.addChild("option", "value", "24K", "1024+/256 
kbps");
                        result.addChild("option", "value", "48K", "1024+/512 
kbps");
                        result.addChild("option", "value", "96K", "1024+/1024 
kbps");
-                       result.addChild("option", "value", "1000K", "higher 
speed");
+                       result.addChild("option", "value", "1000K", 
l10n("bwlimitHigherSpeed"));

                        bandwidthForm.addChild("input", new String[] { "type", 
"name", "value" }, new String[] { "submit", "bwF", 
L10n.getString("FirstTimeWizardToadlet.continue")});
                        bandwidthForm.addChild("input", new String[] { "type", 
"name", "value" }, new String[] { "submit", "cancel", 
L10n.getString("Toadlet.cancel")});
@@ -203,11 +203,11 @@

                        HTMLNode bandwidthForm = 
ctx.addFormChild(memoryInfoboxContent, ".", "memoryForm");
                        HTMLNode result = bandwidthForm.addChild("select", 
"name", "memory");
-                       result.addChild("option", "value", "64", "64MiB - only 
if desperate");
-                       result.addChild("option", "value", "128", "128MiB - 
bare minimum");
-                       result.addChild("option", new String[] { "value", 
"selected" }, new String[] { "192", "selected" }, "192MiB - reasonable 
default");
-                       result.addChild("option", "value", "256", "256MiB - if 
you have at least 1GB of RAM");
-                       result.addChild("option", "value", "512", "512MiB - if 
you have lots of RAM");
+                       result.addChild("option", "value", "64", 
l10n("memory.64M"));
+                       result.addChild("option", "value", "128", 
l10n("memory.128M"));
+                       result.addChild("option", new String[] { "value", 
"selected" }, new String[] { "192", "selected" }, l10n("memory.192M"));
+                       result.addChild("option", "value", "256", 
l10n("memory.256M"));
+                       result.addChild("option", "value", "512", 
l10n("memory.512M"));

                        bandwidthForm.addChild("input", new String[] { "type", 
"name", "value" }, new String[] { "submit", "memoryF", 
L10n.getString("FirstTimeWizardToadlet.continue")});
                        bandwidthForm.addChild("input", new String[] { "type", 
"name", "value" }, new String[] { "submit", "cancel", 
L10n.getString("Toadlet.cancel")});

Modified: trunk/freenet/src/freenet/l10n/freenet.l10n.en.properties
===================================================================
--- trunk/freenet/src/freenet/l10n/freenet.l10n.en.properties   2008-04-23 
15:21:08 UTC (rev 19536)
+++ trunk/freenet/src/freenet/l10n/freenet.l10n.en.properties   2008-04-23 
15:26:22 UTC (rev 19537)
@@ -260,6 +260,8 @@
 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
 FirstTimeWizardToadlet.bandwidthLimitLong=Please select your internet 
connection type and speed (download/upload) from the dropdown menu below.
+FirstTimeWizardToadlet.bwlimitLowerSpeed=lower speed
+FirstTimeWizardToadlet.bwlimitHigherSpeed=higher speed
 FirstTimeWizardToadlet.clickContinue=Click here to continue.
 FirstTimeWizardToadlet.continue=Continue
 FirstTimeWizardToadlet.continueEnd=Click here to start using Freenet!
@@ -272,6 +274,11 @@
 FirstTimeWizardToadlet.iDoTrust=Do you trust people connected to ${interface} 
(${ip})?
 FirstTimeWizardToadlet.congratz=Welcome on board!
 FirstTimeWizardToadlet.congratzLong=Congratulations, the base configuration of 
your Freenet node is now done. You can change and edit any of the parameters 
you have just set going to the "configuration" page, reachable anytime from the 
menu on the left of the interface. Please note that Freenet will be slow to 
start with, it will improve over time. You can get started by clicking on the 
bookmarks on the next page. We wish you a pleasant Freenet experience.
+FirstTimeWizardToadlet.memory.64M=64MiB - only if desperate
+FirstTimeWizardToadlet.memory.128M=128MiB - bare minimum
+FirstTimeWizardToadlet.memory.192M=192MiB - reasonable default
+FirstTimeWizardToadlet.memory.256M=256MiB - if you have at least 1GB of RAM
+FirstTimeWizardToadlet.memory.512M=512MiB - if you have lots of RAM
 FirstTimeWizardToadlet.memoryLimit=Memory usage
 FirstTimeWizardToadlet.memoryLimitLong=How much memory would you like to allow 
Freenet to use? If you have many downloads or uploads queued, Freenet will need 
more memory. We suggest you not set this below 128MB unless you are really 
short of RAM. If you have 1GB or more, you should probably set this to at least 
256MB. This will take effect after restarting Freenet.
 FirstTimeWizardToadlet.step1Title=Freenet first time wizard! - Friends and 
strangers


Reply via email to