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

Modified Files:
        List.js.jsp 
Log Message:
i18n's some message


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


Index: List.js.jsp
===================================================================
RCS file: /var/cvs/applications/searchrelate/templates/List.js.jsp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- List.js.jsp 17 Apr 2008 09:40:24 -0000      1.4
+++ List.js.jsp 17 Apr 2008 12:03:18 -0000      1.5
@@ -13,7 +13,7 @@
  * The user does not need to push a commit button. All data is implicitely 
committed (after a few second of inactivity, or before unload).
  *
  * @author Michiel Meeuwissen
- * @version $Id: List.js.jsp,v 1.4 2008/04/17 09:40:24 michiel Exp $
+ * @version $Id: List.js.jsp,v 1.5 2008/04/17 12:03:18 michiel Exp $
  */
 
 
@@ -57,7 +57,7 @@
                   function(ev) {
                       var result = self.commit(0, false);
                       if (!result) {
-                          ev.returnValue = "Formulier is niet geldig!";
+                          ev.returnValue = '<fmt:message key="invalid" />';
                       }
                       return result;
                   });
@@ -176,13 +176,13 @@
                    params[ this.name || this.id || this.parentNode.name || 
this.parentNode.id ] = this.value;
                });
                var self = this;
-               this.status("<img src='${mm:link('/gfx/ajax-loader.gif')}' />");
+               this.status("<img src='${mm:link('/mmbase/ajax-loader.gif')}' 
/>");
                $.ajax({ type: "POST",
                         async: async == null ? true : async,
                         url: 
"${mm:link('/mmbase/searchrelate/list/save.jspx')}",
                         data: params,
                         success: function() {
-                            self.status("Opgeslagen");
+                            self.status('<fmt:message key="saved" />');
                         }
                      });
 
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to