[jboss-svn-commits] JBL Code SVN: r10794 - in labs/jbossforums/trunk/forums/src: resources/portal-forums-war/WEB-INF/classes and 1 other directory.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Apr 5 21:20:37 EDT 2007


Author: unibrew
Date: 2007-04-05 21:20:37 -0400 (Thu, 05 Apr 2007)
New Revision: 10794

Modified:
   labs/jbossforums/trunk/forums/src/main/org/jboss/portlet/forums/util/NotificationEngine.java
   labs/jbossforums/trunk/forums/src/resources/portal-forums-war/WEB-INF/classes/ResourceJSF.properties
Log:
[JBFORUMS-202] Small correction to NotificationEngine in 1.0.0 version.

Modified: labs/jbossforums/trunk/forums/src/main/org/jboss/portlet/forums/util/NotificationEngine.java
===================================================================
--- labs/jbossforums/trunk/forums/src/main/org/jboss/portlet/forums/util/NotificationEngine.java	2007-04-06 01:20:09 UTC (rev 10793)
+++ labs/jbossforums/trunk/forums/src/main/org/jboss/portlet/forums/util/NotificationEngine.java	2007-04-06 01:20:37 UTC (rev 10794)
@@ -397,8 +397,8 @@
                       m.setSentDate(new Date());
                       buffer = new StringBuffer();
 
-                      buffer.append("This message is generated automaticcaly. Please do not reply.<br />\n<br />\n");
                       buffer.append(text);
+                      buffer.append(bundle.getString("EMAIL_FOOTER_MESSAGE"));
 
                       m.setContent(buffer.toString(),
                               "text/html; charset=\"UTF-8\"");

Modified: labs/jbossforums/trunk/forums/src/resources/portal-forums-war/WEB-INF/classes/ResourceJSF.properties
===================================================================
--- labs/jbossforums/trunk/forums/src/resources/portal-forums-war/WEB-INF/classes/ResourceJSF.properties	2007-04-06 01:20:09 UTC (rev 10793)
+++ labs/jbossforums/trunk/forums/src/resources/portal-forums-war/WEB-INF/classes/ResourceJSF.properties	2007-04-06 01:20:37 UTC (rev 10794)
@@ -2366,7 +2366,7 @@
 EMAIL_VIEWORIGINAL=View the original post
 EMAIL_STOPWATCHING=Stop watching this topic
 EMAIL_REPLY=Reply to the post
-
+EMAIL_FOOTER_MESSAGE=This message is generated automaticaly. Please do not reply.
 TOPICWATCH_MAIL_1 = You are receiving this email because you are watching this topic. This topic has received a reply since your last visit. You can use the following link to view the replies made.
 
 // BB Code variables




More information about the jboss-svn-commits mailing list