2006/unicorn/src/org/w3c/unicorn UnicornCall.java,1.29,1.30

Update of /sources/public/2006/unicorn/src/org/w3c/unicorn
In directory hutz:/tmp/cvs-serv15634/src/org/w3c/unicorn

Modified Files:
	UnicornCall.java 
Log Message:
displays message when the input method for an observer is changed

Index: UnicornCall.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/UnicornCall.java,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- UnicornCall.java	30 Sep 2009 14:58:22 -0000	1.29
+++ UnicornCall.java	30 Sep 2009 16:48:05 -0000	1.30
@@ -163,9 +163,7 @@
 			
 			//TODO: add warning if inputMethod has changed -> check behavior
 			if (aInputMethod.getMethod() != inputParameter.getInputMethod()) {
-				
-				messages.add(new Message(Message.Level.WARNING, "Input method changed for observer: \"" + aObserver.getName(sLang) 
-						+ "\" from " + inputParameter.getInputMethod() + " to " + aInputMethod.getMethod(), null));
+				messages.add(new Message(Message.Level.WARNING, "\"" + aObserver.getName(sLang) + "\" $message_input_changed_1 " + inputParameter.getInputMethod().toString().toLowerCase() + " $message_input_changed_2", "$message_input_changed_long"));
 			}
 
 			// create a new request with input parameter

Received on Wednesday, 30 September 2009 16:48:08 UTC