W3C home > Mailing lists > Public > www-validator-cvs@w3.org > July 2010

unicorn commit: ~ default language not overwritable anymore

From: Mercurial notifier <nobody@w3.org>
Date: Fri, 30 Jul 2010 15:40:07 +0000
To: Unicorn Updates <www-validator-cvs@w3.org>
Message-Id: <E1Oergt-0007eX-PD@blinky.w3.org>
changeset:   1408:c1c5ef1b4f26
user:        Thomas Gambet <tgambet@w3.org>
date:        Fri Jul 30 11:39:30 2010 -0400
files:       src/org/w3c/unicorn/Framework.java
description:
~ default language not overwritable anymore


diff -r a7fdf16e4a38 -r c1c5ef1b4f26 src/org/w3c/unicorn/Framework.java
--- a/src/org/w3c/unicorn/Framework.java	Fri Jul 30 11:38:59 2010 -0400
+++ b/src/org/w3c/unicorn/Framework.java	Fri Jul 30 11:39:30 2010 -0400
@@ -337,6 +337,8 @@
 				continue;
 			try {
 				ULocale fileLocale = Language.getLocaleFromFileName(langFile.getName());
+				if (fileLocale == Language.getDefaultLocale())
+					continue;
 				UCNProperties props = Language.load(langFile);
 				logger.debug("> Found language: " + fileLocale.getName() + " - " + fileLocale.getDisplayName(Language.getDefaultLocale()));
 				Language.addUiLocale(fileLocale);
Received on Friday, 30 July 2010 15:40:09 UTC

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