Author: olamy
Date: Mon Jan 23 16:20:46 2012
New Revision: 1234880

URL: http://svn.apache.org/viewvc?rev=1234880&view=rev
Log:
add a note on i18n which cause to me some weird issue

Modified:
    
archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/site/apt/template-loading.apt

Modified: 
archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/site/apt/template-loading.apt
URL: 
http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/site/apt/template-loading.apt?rev=1234880&r1=1234879&r2=1234880&view=diff
==============================================================================
--- 
archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/site/apt/template-loading.apt
 (original)
+++ 
archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/site/apt/template-loading.apt
 Mon Jan 23 16:20:46 2012
@@ -62,6 +62,9 @@ require(["text!archiva/templates/menu.ht
   $.tmpl( menu, $.i18n.map ).appendTo("#html-fragments");
   to get i18n values in your template you can use
   ${register} or ${$.i18n.prop('register')}
+
+  Note if you use the simple form ${register} and the property is not 
available, the template system will try to use if exists the function register
+
 +-------------------------
 
 


Reply via email to