W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2009

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

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 30 Sep 2009 16:48:07 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Mt2LX-00044b-B1@lionel-hutz.w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:14 GMT