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

2006/unicorn/src/org/w3c/unicorn/action LanguageAction.java,1.14,1.15

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 12 Oct 2009 16:15:47 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MxNYp-0007JV-3t@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/action
In directory hutz:/tmp/cvs-serv28099/src/org/w3c/unicorn/action

Modified Files:
	LanguageAction.java 
Log Message:
changed message level from error to warning in case nothing has been translated

Index: LanguageAction.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/action/LanguageAction.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- LanguageAction.java	12 Oct 2009 16:04:42 -0000	1.14
+++ LanguageAction.java	12 Oct 2009 16:15:45 -0000	1.15
@@ -189,7 +189,7 @@
 			
 			if (!changed) {
 				MessageList messages = new MessageList();
-				messages.add(new Message(Message.ERROR, "You haven't made any changes."));
+				messages.add(new Message(Message.WARNING, "You haven't made any changes."));
 				req.setAttribute("messages", messages);
 				doGet(req, resp);
 				return;
Received on Monday, 12 October 2009 16:15:48 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:39 UTC