- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 22 Mar 2010 18:00:47 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/action In directory hutz:/tmp/cvs-serv29839/src/org/w3c/unicorn/action Modified Files: LanguageAction.java Log Message: adds $transLocaleDir to velocity context to know the character direction of the translated locale Index: LanguageAction.java =================================================================== RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/action/LanguageAction.java,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- LanguageAction.java 21 Mar 2010 21:12:17 -0000 1.24 +++ LanguageAction.java 22 Mar 2010 18:00:45 -0000 1.25 @@ -134,6 +134,7 @@ velocityContext.put("metadatas", new UCNProperties()); } velocityContext.put("transLocale", locale); + velocityContext.put("transLocaleDir", Language.getLocaleDirection(locale)); Templates.write("language.form.vm", velocityContext, writer); writer.close(); }
Received on Monday, 22 March 2010 18:00:50 UTC