esme-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhir...@apache.org
Subject svn commit: r917961 - in /incubator/esme/trunk/server/src/main: resources/ESMEBase.properties scala/org/apache/esme/lib/TrackMgr.scala
Date Tue, 02 Mar 2010 11:15:06 GMT
Author: rhirsch
Date: Tue Mar  2 11:15:06 2010
New Revision: 917961

URL: http://svn.apache.org/viewvc?rev=917961&view=rev
Log:
[ESME-120] Messages for Track Page are missing

Modified:
    incubator/esme/trunk/server/src/main/resources/ESMEBase.properties
    incubator/esme/trunk/server/src/main/scala/org/apache/esme/lib/TrackMgr.scala

Modified: incubator/esme/trunk/server/src/main/resources/ESMEBase.properties
URL: http://svn.apache.org/viewvc/incubator/esme/trunk/server/src/main/resources/ESMEBase.properties?rev=917961&r1=917960&r2=917961&view=diff
==============================================================================
--- incubator/esme/trunk/server/src/main/resources/ESMEBase.properties (original)
+++ incubator/esme/trunk/server/src/main/resources/ESMEBase.properties Tue Mar  2 11:15:06
2010
@@ -80,8 +80,8 @@
 base_track_menu=Tracks
 base_track_error_name_short=Track is too short!
 base_track_msg_success=Now tracking '%s'
-base_track_msg_removed=Track removed
-base_track_msg_active=Active state of the track changed
+base_track_msg_removed=Track '%s' removed
+base_track_msg_active=Active state of the track '%s' changed: %b
 
 base_streams_menu=Streams
 base_streams_resend_any=--any--

Modified: incubator/esme/trunk/server/src/main/scala/org/apache/esme/lib/TrackMgr.scala
URL: http://svn.apache.org/viewvc/incubator/esme/trunk/server/src/main/scala/org/apache/esme/lib/TrackMgr.scala?rev=917961&r1=917960&r2=917961&view=diff
==============================================================================
--- incubator/esme/trunk/server/src/main/scala/org/apache/esme/lib/TrackMgr.scala (original)
+++ incubator/esme/trunk/server/src/main/scala/org/apache/esme/lib/TrackMgr.scala Tue Mar
 2 11:15:06 2010
@@ -71,10 +71,10 @@
                       (lst => xs.flatMap(i => bind("item", lst,
                                                    "pattern" -> i.pattern,
                                                    "enabled" -> ajaxCheckbox(!i.disabled,
-                                                                             e => {i.disabled(!e).save;
S.notice(S.?("base_track_msg_active")); Noop} ),
+                                                                             e => {i.disabled(!e).save;
S.notice(S.?("base_track_msg_active", i.pattern, e)); Noop} ),
                                                    "remove" -> 
                                                    ((bt: NodeSeq) => 
-                  ajaxButton(bt, () => {i.removed(true).save ; S.notice(S.?("base_track_msg_removed"));
updateSpan()}))
+                  ajaxButton(bt, () => { S.notice(S.?("base_track_msg_removed", i.pattern));
i.removed(true).save ; updateSpan()}))
               ))))
     }
 



Mime
View raw message