- From: Mercurial notifier <nobody@w3.org>
- Date: Thu, 12 Aug 2010 15:36:31 +0000
- To: Unicorn Updates <www-validator-cvs@w3.org>
changeset: 1463:b6edc11943a5
tag: tip
user: Thomas Gambet <tgambet@w3.org>
date: Thu Aug 12 11:35:14 2010 -0400
files: src/org/w3c/unicorn/action/LanguageAction.java
description:
~ fixed locale in language filenames
diff -r 92e02bd47a32 -r b6edc11943a5 src/org/w3c/unicorn/action/LanguageAction.java
--- a/src/org/w3c/unicorn/action/LanguageAction.java Thu Aug 12 11:12:38 2010 -0400
+++ b/src/org/w3c/unicorn/action/LanguageAction.java Thu Aug 12 11:35:14 2010 -0400
@@ -312,13 +312,13 @@
OutputFormater fileOutputFormater;
if (interfaceChanged) {
- fileOutputFormater = new FileOutputFormater("language.properties", Property.get("DEFAULT_LANGUAGE"), "text/plain", languageParameter + ".properties");
+ fileOutputFormater = new FileOutputFormater("language.properties", Property.get("DEFAULT_LANGUAGE"), "text/plain", languageParameter.replace("_", "-") + ".properties");
outputFormaters.add(fileOutputFormater);
}
OutputFormater fileOutputFormater2;
if (tasklistChanged) {
- fileOutputFormater2 = new FileOutputFormater("tasklist.properties", Property.get("DEFAULT_LANGUAGE"), "text/plain", languageParameter + ".tasklist.properties");
+ fileOutputFormater2 = new FileOutputFormater("tasklist.properties", Property.get("DEFAULT_LANGUAGE"), "text/plain", languageParameter.replace("_", "-") + ".tasklist.properties");
outputFormaters.add(fileOutputFormater2);
}
Received on Thursday, 12 August 2010 15:36:33 UTC