[freenet-cvs] r19462 - in trunk/freenet/src/freenet: l10n node/useralerts

dbkr at freenetproject.org dbkr at freenetproject.org
Tue Apr 22 15:28:34 UTC 2008


Author: dbkr
Date: 2008-04-20 14:53:03 +0000 (Sun, 20 Apr 2008)
New Revision: 19462

Modified:
   trunk/freenet/src/freenet/l10n/freenet.l10n.en.properties
   trunk/freenet/src/freenet/node/useralerts/UserAlertManager.java
Log:
Alerts summary should redirect to the alerts page, not the home page. **** Translations will need updating! ***


Modified: trunk/freenet/src/freenet/l10n/freenet.l10n.en.properties
===================================================================
--- trunk/freenet/src/freenet/l10n/freenet.l10n.en.properties	2008-04-20 13:36:22 UTC (rev 19461)
+++ trunk/freenet/src/freenet/l10n/freenet.l10n.en.properties	2008-04-20 14:53:03 UTC (rev 19462)
@@ -1162,7 +1162,7 @@
 UserAlert.apply=Apply
 UserAlert.hide=Hide
 UserAlert.reset=Reset
-UserAlertManager.alertsOnHomepage= | See them on ${link}the Freenet Homepage${/link}.
+UserAlertManager.alertsOnAlertsPage= | See them on ${link}the alerts page${/link}.
 UserAlertManager.alertsTitle=Outstanding alerts
 UserAlertManager.clickForMore=Click on an item for more information or to get rid of it.
 UserAlertManager.criticalErrorCountLabel=Critical Errors:

Modified: trunk/freenet/src/freenet/node/useralerts/UserAlertManager.java
===================================================================
--- trunk/freenet/src/freenet/node/useralerts/UserAlertManager.java	2008-04-20 13:36:22 UTC (rev 19461)
+++ trunk/freenet/src/freenet/node/useralerts/UserAlertManager.java	2008-04-20 14:53:03 UTC (rev 19462)
@@ -270,9 +270,9 @@
 			summaryBox = new HTMLNode("div", "class", "infobox infobox-information");
 		summaryBox.addChild("div", "class", "infobox-header", l10n("alertsTitle"));
 		HTMLNode summaryContent = summaryBox.addChild("div", "class", "infobox-content", alertSummaryString.toString());
-		L10n.addL10nSubstitution(summaryContent, "UserAlertManager.alertsOnHomepage",
+		L10n.addL10nSubstitution(summaryContent, "UserAlertManager.alertsOnAlertsPage",
 				new String[] { "link", "/link" },
-				new String[] { "<a href=\"/\">", "</a>" });
+				new String[] { "<a href=\"/alerts/\">", "</a>" });
 		return summaryBox;
 	}
 




More information about the cvs mailing list