Author: toad
Date: 2007-04-28 19:24:25 +0000 (Sat, 28 Apr 2007)
New Revision: 13042
Modified:
trunk/freenet/src/freenet/clients/http/SymlinkerToadlet.java
Log:
Keys for SymlinkerToadlet
Modified: trunk/freenet/src/freenet/clients/http/SymlinkerToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/SymlinkerToadlet.java
2007-04-28 19:17:31 UTC (rev 13041)
+++ trunk/freenet/src/freenet/clients/http/SymlinkerToadlet.java
2007-04-28 19:24:25 UTC (rev 13042)
@@ -9,6 +9,7 @@
import freenet.client.HighLevelSimpleClient;
import freenet.config.InvalidConfigValueException;
import freenet.config.SubConfig;
+import freenet.l10n.L10n;
import freenet.node.Node;
import freenet.support.Logger;
import freenet.support.api.HTTPRequest;
@@ -117,7 +118,8 @@
// TODO redirect to errorpage
if ((foundtarget == null) || (foundkey == null)) {
- writeReply(ctx, 404, "text/html", "Path not found",
"Page not found");
+ writeReply(ctx, 404, "text/html",
L10n.getString("StaticToadlet.pathNotFoundTitle"),
+
L10n.getString("StaticToadlet.pathNotFound"));
return;
}