[freenet-cvs] r13178 - in trunk/freenet/src/freenet: clients/http l10n

toad at freenetproject.org toad at freenetproject.org
Wed May 9 20:46:39 UTC 2007


Author: toad
Date: 2007-05-09 20:46:39 +0000 (Wed, 09 May 2007)
New Revision: 13178

Modified:
   trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java
   trunk/freenet/src/freenet/l10n/freenet.l10n.en.properties
Log:
Missing keys on welcome page

Modified: trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java	2007-05-09 20:40:34 UTC (rev 13177)
+++ trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java	2007-05-09 20:46:39 UTC (rev 13178)
@@ -221,7 +221,7 @@
 			}
 			
 			if(noPassword) {
-				HTMLNode pageNode = ctx.getPageMaker().getPageNode("Frost Instant Note insert", ctx);
+				HTMLNode pageNode = ctx.getPageMaker().getPageNode(l10n("finTitle"), ctx);
 				HTMLNode contentNode = ctx.getPageMaker().getContentNode(pageNode);
 				HTMLNode infobox = contentNode.addChild(ctx.getPageMaker().getInfobox("infobox-query", l10n("finTitle")));
 				HTMLNode content = ctx.getPageMaker().getContentNode(infobox);
@@ -423,9 +423,9 @@
 				// Tell the user that the node is shutting down
 				HTMLNode pageNode = ctx.getPageMaker().getPageNode("Node Shutdown", false, ctx);
 				HTMLNode contentNode = ctx.getPageMaker().getContentNode(pageNode);
-				HTMLNode infobox = contentNode.addChild(ctx.getPageMaker().getInfobox("infobox-information", "The Freenet node has been successfully shut down."));
+				HTMLNode infobox = contentNode.addChild(ctx.getPageMaker().getInfobox("infobox-information", l10n("shutdownDone")));
 				HTMLNode infoboxContent = ctx.getPageMaker().getContentNode(infobox);
-				infoboxContent.addChild("#", "Thank you for using Freenet.");
+				infoboxContent.addChild("#", l10n("thanks"));
 				this.writeReply(ctx, 200, "text/html; charset=utf-8", "OK", pageNode.generate());
 				return;
 			} else if (request.isParameterSet("restarted")) {
@@ -478,7 +478,7 @@
 				HTMLNode contentNode = ctx.getPageMaker().getContentNode(pageNode);
 				HTMLNode infobox = contentNode.addChild(ctx.getPageMaker().getInfobox("infobox-query", l10n("shutdownConfirmTitle")));
 				HTMLNode content = ctx.getPageMaker().getContentNode(infobox);
-				content.addChild("p").addChild("#", "Are you sure you wish to shut down your Freenet node?");
+				content.addChild("p").addChild("#", l10n("shutdownConfirm"));
 				HTMLNode shutdownForm = ctx.addFormChild(content.addChild("p"), "/", "confirmShutdownForm");
 				shutdownForm.addChild("input", new String[] { "type", "name", "value" }, new String[] { "submit", "cancel", L10n.getString("Toadlet.cancel") });
 				shutdownForm.addChild("input", new String[] { "type", "name", "value" }, new String[] { "submit", "shutdownconfirm", l10n("shutdown") });

Modified: trunk/freenet/src/freenet/l10n/freenet.l10n.en.properties
===================================================================
--- trunk/freenet/src/freenet/l10n/freenet.l10n.en.properties	2007-05-09 20:40:34 UTC (rev 13177)
+++ trunk/freenet/src/freenet/l10n/freenet.l10n.en.properties	2007-05-09 20:46:39 UTC (rev 13178)
@@ -476,7 +476,7 @@
 TranslationToadlet.bracketRemoveOverride= (Remove the translation override!)
 WelcomeToadlet.updatingTitle=Node Updating
 WelcomeToadlet.updating=The Freenet node is being updated and will self-restart. The restart process may take up to 10 minutes, because the node will try to fetch a revocation key before updating.
-WelcomeToadlet.updatingThanks=Thank you for using Freenet.
+WelcomeToadlet.thanks=Thank you for using Freenet.
 WelcomeToadlet.nodeUpdateConfirmTitle=Confirm Node Update
 WelcomeToadlet.nodeUpdateConfirm=Are you sure you wish to update your Freenet node?
 WelcomeToadlet.update=Update
@@ -517,7 +517,10 @@
 WelcomeToadlet.confirmExternalLinkWithURL=Please confirm that you want to go to ${url}. WARNING: You are leaving FREENET! Clicking on this link WILL seriously jeopardize your anonymity!. It is strongly recommended not to do so!
 WelcomeToadlet.goToExternalLink=Go to the specified link
 WelcomeToadlet.shutdownConfirmTitle=Node Shutdown
+WelcomeToadlet.shutdownConfirm=Are you sure you wish to shut down your Freenet node?
 WelcomeToadlet.shutdown=Shutdown
+WelcomeToadlet.shutdownNode=Shutdown the node
+WelcomeToadlet.shutdownDone=The Freenet node has been successfully shut down.
 WelcomeToadlet.restartConfirmTitle=Node Restart
 WelcomeToadlet.restartConfirm=Are you sure you want to restart your Freenet node?
 WelcomeToadlet.restart=Restart
@@ -532,7 +535,6 @@
 WelcomeToadlet.version=Freenet ${fullVersion} Build #${build} r${rev}
 WelcomeToadlet.extVersionWithRecommended=Freenet-ext Build #${build} (${recbuild} is recommended) r${rev}
 WelcomeToadlet.extVersion=Freenet-ext Build #${build} r${rev}
-WelcomeToadlet.shutdownNode=Shutdown the node
 WelcomeToadlet.restartNode=Restart the node
 WelcomeToadlet.activityTitle=Current Activity
 WelcomeToadlet.insertCount=Inserts: ${total}




More information about the cvs mailing list