[freenet-cvs] r13954 - in trunk/freenet/src/freenet: clients/http l10n
toad at freenetproject.org
toad at freenetproject.org
Fri Jul 6 16:14:11 UTC 2007
Author: toad
Date: 2007-07-06 16:14:11 +0000 (Fri, 06 Jul 2007)
New Revision: 13954
Modified:
trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java
trunk/freenet/src/freenet/clients/http/DarknetConnectionsToadlet.java
trunk/freenet/src/freenet/clients/http/OpennetConnectionsToadlet.java
trunk/freenet/src/freenet/l10n/freenet.l10n.en.properties
Log:
Shouldn't be "My Friends"
Modified: trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java 2007-07-06 16:02:09 UTC (rev 13953)
+++ trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java 2007-07-06 16:14:11 UTC (rev 13954)
@@ -349,7 +349,7 @@
}
HTMLNode peerTableInfobox = contentNode.addChild("div", "class", "infobox infobox-normal");
HTMLNode peerTableInfoboxHeader = peerTableInfobox.addChild("div", "class", "infobox-header");
- peerTableInfoboxHeader.addChild("#", l10n("myFriends"));
+ peerTableInfoboxHeader.addChild("#", getPeerListTitle());
if (advancedModeEnabled) {
if (!path.endsWith("displaymessagetypes.html")) {
peerTableInfoboxHeader.addChild("#", " ");
@@ -452,6 +452,11 @@
this.writeReply(ctx, 200, "text/html", "OK", pageNode.generate());
}
+ /**
+ * What should the heading (before "(more detailed)") be on the peers table?
+ */
+ protected abstract String getPeerListTitle();
+
/** Should there be a checkbox for each peer, and drawPeerActionSelectBox() be called directly
* after drawing the peers list? */
protected abstract boolean showPeerActionsBox();
Modified: trunk/freenet/src/freenet/clients/http/DarknetConnectionsToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/DarknetConnectionsToadlet.java 2007-07-06 16:02:09 UTC (rev 13953)
+++ trunk/freenet/src/freenet/clients/http/DarknetConnectionsToadlet.java 2007-07-06 16:14:11 UTC (rev 13954)
@@ -500,4 +500,8 @@
peerForm.addChild("input", new String[] { "type", "name", "value" }, new String[] { "submit", "doAction", l10n("go") });
}
+ protected String getPeerListTitle() {
+ return l10n("myFriends");
+ }
+
}
Modified: trunk/freenet/src/freenet/clients/http/OpennetConnectionsToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/OpennetConnectionsToadlet.java 2007-07-06 16:02:09 UTC (rev 13953)
+++ trunk/freenet/src/freenet/clients/http/OpennetConnectionsToadlet.java 2007-07-06 16:14:11 UTC (rev 13954)
@@ -67,4 +67,8 @@
// Do nothing, see showPeerActionsBox().
}
+ protected String getPeerListTitle() {
+ return L10n.getString("OpennetConnectionsToadlet.peersListTitle");
+ }
+
}
Modified: trunk/freenet/src/freenet/l10n/freenet.l10n.en.properties
===================================================================
--- trunk/freenet/src/freenet/l10n/freenet.l10n.en.properties 2007-07-06 16:02:09 UTC (rev 13953)
+++ trunk/freenet/src/freenet/l10n/freenet.l10n.en.properties 2007-07-06 16:14:11 UTC (rev 13954)
@@ -133,7 +133,7 @@
DarknetConnectionsToadlet.listenOnlyShort=Listen only
DarknetConnectionsToadlet.listening=Not connected but listening: this node won't try to connect to these peers very often because the user has set BurstOnly on it.
DarknetConnectionsToadlet.listeningShort=Listening
-DarknetConnectionsToadlet.myFriends=My Friends
+DarknetConnectionsToadlet.myFriends=My Friends (trusted peers)
DarknetConnectionsToadlet.myReferenceHeader=${linkref}My Node Reference${/linkref} (${linktext}as text${/linktext})
DarknetConnectionsToadlet.nameClickToMessage=The node's name. Click on the name link to send the node a N2NTM (Node To Node Text Message)
DarknetConnectionsToadlet.nameTitle=Name
@@ -596,6 +596,7 @@
NodeUpdateManager.updateURI=Where should the node look for updates?
NodeUpdateManager.updateURILong=Where should the node look for updates?
OpennetConnectionsToadlet.fullTitle=${counts} Opennet Peers of ${name}
+OpennetConnectionsToadlet.peersListTitle=My Opennet Peers (untrusted peers)
PNGFilter.invalidHeader=The file you tried to fetch is not a PNG. It does not include a valid PNG header. It might be some other file format, and your browser may do something dangerous with it, therefore we have blocked it.
PNGFilter.invalidHeaderTitle=Not a PNG - invalid header
PeerManagerUserAlert.clockProblemTitle=Clock problem
More information about the cvs
mailing list