- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 12 Apr 2010 14:10:05 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/action In directory hutz:/tmp/cvs-serv30532/src/org/w3c/unicorn/action Modified Files: LanguageAction.java Log Message: Fixed: in specific cases small parts of translated strings keys were being cut Index: LanguageAction.java =================================================================== RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/action/LanguageAction.java,v retrieving revision 1.25 retrieving revision 1.26 diff -u -d -r1.25 -r1.26 --- LanguageAction.java 22 Mar 2010 18:00:45 -0000 1.25 +++ LanguageAction.java 12 Apr 2010 14:10:03 -0000 1.26 @@ -191,7 +191,7 @@ if (!paramKey.startsWith(languageParameter + "_")) continue; else - key = paramKey.replace(languageParameter + "_", ""); + key = paramKey.replaceFirst(languageParameter + "_", ""); if (!req.getParameter(paramKey).equals("") && !req.getParameter(paramKey).equals(langProps.getProperty(key))) { interfaceChanged = true;
Received on Monday, 12 April 2010 14:10:07 UTC