[freenet-cvs] r13243 - trunk/freenet/src/freenet/clients/http

juiceman at freenetproject.org juiceman at freenetproject.org
Mon May 14 03:54:52 UTC 2007


Author: juiceman
Date: 2007-05-14 03:54:52 +0000 (Mon, 14 May 2007)
New Revision: 13243

Modified:
   trunk/freenet/src/freenet/clients/http/BookmarkEditorToadlet.java
   trunk/freenet/src/freenet/clients/http/DarknetConnectionsToadlet.java
   trunk/freenet/src/freenet/clients/http/FProxyToadlet.java
   trunk/freenet/src/freenet/clients/http/PproxyToadlet.java
   trunk/freenet/src/freenet/clients/http/QueueToadlet.java
Log:
Fix some spacings I changed with Revision: 13163

Modified: trunk/freenet/src/freenet/clients/http/BookmarkEditorToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/BookmarkEditorToadlet.java	2007-05-13 23:37:53 UTC (rev 13242)
+++ trunk/freenet/src/freenet/clients/http/BookmarkEditorToadlet.java	2007-05-14 03:54:52 UTC (rev 13243)
@@ -193,13 +193,13 @@
 				
 				HTMLNode form = ctx.addFormChild(actionBox, "", "editBookmarkForm");
 				
-				form.addChild("label", "for", "name", L10n.getString("BookmarkEditorToadlet.nameLabel"));
+				form.addChild("label", "for", "name", (L10n.getString("BookmarkEditorToadlet.nameLabel") + " "));
 				form.addChild("input", new String[]{"type", "id", "name", "size", "value"}, new String []{"text", "name", "name", "20", action.equals("edit")?bookmark.getName():""});
 				
 				form.addChild("br");
 				if ((action.equals("edit") && bookmark instanceof BookmarkItem) || action.equals("addItem")) {
 					String key = (action.equals("edit") ? ((BookmarkItem) bookmark).getKey() : "");
-					form.addChild("label", "for", "key", L10n.getString("BookmarkEditorToadlet.keyLabel"));
+					form.addChild("label", "for", "key", (L10n.getString("BookmarkEditorToadlet.keyLabel") + " "));
 					form.addChild("input", new String[]{"type", "id", "name", "size", "value"}, new String []{"text", "key", "key", "50", key});
 				}
 				

Modified: trunk/freenet/src/freenet/clients/http/DarknetConnectionsToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/DarknetConnectionsToadlet.java	2007-05-13 23:37:53 UTC (rev 13242)
+++ trunk/freenet/src/freenet/clients/http/DarknetConnectionsToadlet.java	2007-05-14 03:54:52 UTC (rev 13243)
@@ -539,13 +539,13 @@
 		peerAdditionForm.addChild("br");
 		peerAdditionForm.addChild("textarea", new String[] { "id", "name", "rows", "cols" }, new String[] { "reftext", "ref", "8", "74" });
 		peerAdditionForm.addChild("br");
-		peerAdditionForm.addChild("#", l10n("urlReference"));
+		peerAdditionForm.addChild("#", (l10n("urlReference") + " "));
 		peerAdditionForm.addChild("input", new String[] { "id", "type", "name" }, new String[] { "refurl", "text", "url" });
 		peerAdditionForm.addChild("br");
-		peerAdditionForm.addChild("#", l10n("fileReference"));
+		peerAdditionForm.addChild("#", (l10n("fileReference") + " "));
 		peerAdditionForm.addChild("input", new String[] { "id", "type", "name" }, new String[] { "reffile", "file", "reffile" });
 		peerAdditionForm.addChild("br");
-		peerAdditionForm.addChild("#", l10n("enterDescription"));
+		peerAdditionForm.addChild("#", (l10n("enterDescription") + " "));
 		peerAdditionForm.addChild("input", new String[] { "id", "type", "name", "size", "maxlength", "value" }, new String[] { "peerPrivateNote", "text", "peerPrivateNote", "16", "250", "" });
 		peerAdditionForm.addChild("br");
 		peerAdditionForm.addChild("input", new String[] { "type", "name", "value" }, new String[] { "submit", "add", l10n("add") });

Modified: trunk/freenet/src/freenet/clients/http/FProxyToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/FProxyToadlet.java	2007-05-13 23:37:53 UTC (rev 13242)
+++ trunk/freenet/src/freenet/clients/http/FProxyToadlet.java	2007-05-14 03:54:52 UTC (rev 13243)
@@ -377,7 +377,7 @@
 				HTMLNode infoboxContent = infobox.addChild("div", "class", "infobox-content");
 				HTMLNode fileInformationList = infoboxContent.addChild("ul");
 				HTMLNode option = fileInformationList.addChild("li");
-				option.addChild("#", l10n("filenameLabel"));
+				option.addChild("#", (l10n("filenameLabel") + " "));
 				option.addChild("a", "href", '/' + key.toString(), getFilename(e, key, e.getExpectedMimeType()));
 
 				String mime = writeSizeAndMIME(fileInformationList, e);
@@ -414,7 +414,7 @@
 				HTMLNode infoboxContent = infobox.addChild("div", "class", "infobox-content");
 				HTMLNode fileInformationList = infoboxContent.addChild("ul");
 				HTMLNode option = fileInformationList.addChild("li");
-				option.addChild("#", l10n("filenameLabel"));
+				option.addChild(("#", l10n("filenameLabel") + " "));
 				option.addChild("a", "href", '/' + key.toString(), getFilename(e, key, e.getExpectedMimeType()));
 
 				String mime = writeSizeAndMIME(fileInformationList, e);
@@ -473,9 +473,9 @@
 		boolean finalized = e.finalizedSize();
 		if(e.expectedSize > 0) {
 			if (finalized) {
-				fileInformationList.addChild("li", l10n("sizeLabel") + SizeUtil.formatSize(e.expectedSize));
+				fileInformationList.addChild("li", (l10n("sizeLabel") + " ") + SizeUtil.formatSize(e.expectedSize));
 			} else {
-				fileInformationList.addChild("li", l10n("sizeLabel") + SizeUtil.formatSize(e.expectedSize) + l10n("mayChange"));
+				fileInformationList.addChild("li", (l10n("sizeLabel") + " ")+ SizeUtil.formatSize(e.expectedSize) + l10n("mayChange"));
 			}
 		} else {
 			fileInformationList.addChild("li", l10n("sizeUnknown"));

Modified: trunk/freenet/src/freenet/clients/http/PproxyToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/PproxyToadlet.java	2007-05-13 23:37:53 UTC (rev 13242)
+++ trunk/freenet/src/freenet/clients/http/PproxyToadlet.java	2007-05-14 03:54:52 UTC (rev 13243)
@@ -286,7 +286,7 @@
 
 			HTMLNode addForm = ctx.addFormChild(infoboxContent, ".", "addPluginForm");
 			HTMLNode loadDiv = addForm.addChild("div");
-			loadDiv.addChild("#", l10n("loadPluginLabel"));
+			loadDiv.addChild("#", (l10n("loadPluginLabel") + " "));
 			loadDiv.addChild("input", new String[] { "type", "name", "size" }, new String[] { "text", "load", "40" });
 			loadDiv.addChild("input", new String[] { "type", "value" }, new String[] { "submit", "Load" });
 			writeReply(ctx, 200, "text/html", "OK", pageNode.generate());

Modified: trunk/freenet/src/freenet/clients/http/QueueToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/QueueToadlet.java	2007-05-13 23:37:53 UTC (rev 13242)
+++ trunk/freenet/src/freenet/clients/http/QueueToadlet.java	2007-05-14 03:54:52 UTC (rev 13243)
@@ -863,7 +863,7 @@
 		HTMLNode insertBox = pageMaker.getInfobox(L10n.getString("QueueToadlet.insertFile"));
 		HTMLNode insertContent = pageMaker.getContentNode(insertBox);
 		HTMLNode insertForm = ctx.addFormChild(insertContent, "/queue/", "queueInsertForm");
-		insertForm.addChild("#", L10n.getString("QueueToadlet.insertAs"));
+		insertForm.addChild("#", (L10n.getString("QueueToadlet.insertAs") + " "));
 		insertForm.addChild("input", new String[] { "type", "name", "value", "checked" }, new String[] { "radio", "keytype", "chk", "checked" });
 		insertForm.addChild("#", " CHK \u00a0 ");
 		insertForm.addChild("input", new String[] { "type", "name", "value" }, new String[] { "radio", "keytype", "ksk" });




More information about the cvs mailing list