- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 14 Sep 2009 10:09:40 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/action In directory hutz:/tmp/cvs-serv17741/src/org/w3c/unicorn/action Modified Files: Action.java Log Message: fixed unavailable language message was never displayed Index: Action.java =================================================================== RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/action/Action.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- Action.java 10 Sep 2009 15:46:54 -0000 1.8 +++ Action.java 14 Sep 2009 10:09:38 -0000 1.9 @@ -64,7 +64,7 @@ if (!Language.isComplete(lang)) messages.add(new Message(Message.Level.INFO, "$message_incomplete_language. $message_translation", null)); - else if (!Framework.getLanguageProperties().containsKey(req.getLocale().getLanguage()) && Property.get("SHOW_LANGUAGE_UNAVAILABLE_MESSAGE") == "true") + else if (!Framework.getLanguageProperties().containsKey(req.getLocale().getLanguage()) && Property.get("SHOW_LANGUAGE_UNAVAILABLE_MESSAGE").equals("true")) messages.add(new Message(Message.Level.INFO, "$message_unavailable_language (" + req.getLocale().getDisplayLanguage(req.getLocale()) + "). $message_translation", null)); return lang;
Received on Monday, 14 September 2009 10:24:01 UTC