Update of /var/cvs/applications/searchrelate/templates
In directory james.mmbase.org:/tmp/cvs-serv14681/templates

Modified Files:
        Searcher.js.jsp 
Log Message:
i18n


See also: http://cvs.mmbase.org/viewcvs/applications/searchrelate/templates


Index: Searcher.js.jsp
===================================================================
RCS file: /var/cvs/applications/searchrelate/templates/Searcher.js.jsp,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- Searcher.js.jsp     4 Jun 2008 13:00:27 -0000       1.21
+++ Searcher.js.jsp     23 Jun 2008 15:06:38 -0000      1.22
@@ -1,6 +1,8 @@
 // -*- mode: javascript; -*-
 <[EMAIL PROTECTED] uri="http://www.mmbase.org/mmbase-taglib-2.0"; prefix="mm"  
%>
-<mm:content type="text/javascript" expires="0">
+<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"; %>
+<mm:content type="text/javascript" expires="0" language="${param.locale}">
+<fmt:bundle basename="org.mmbase.searchrelate.resources.searchrelate">
 /**
  * Generic mmbase search & relate tool. Javascript part.
  *
@@ -11,7 +13,7 @@
 
  *
  * @author Michiel Meeuwissen
- * @version $Id: Searcher.js.jsp,v 1.21 2008/06/04 13:00:27 michiel Exp $
+ * @version $Id: Searcher.js.jsp,v 1.22 2008/06/23 15:06:38 michiel Exp $
  */
 
 $(document).ready(function(){
@@ -437,7 +439,7 @@
                    }
                }
               });
-       $(rep).append($("<p>Searching</p>"));
+       $(rep).append($('<p><fmt:message key="searching" /></p>'));
     } else {
        this.logger.debug("reusing " + offset);
        this.logger.debug(rep);
@@ -607,4 +609,6 @@
     });
 }
 
+
+</fmt:bundle>
 </mm:content>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to