[open-ils-commits] r8007 - trunk/Open-ILS/xul/staff_client/chrome/content/main

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Nov 5 15:19:36 EST 2007


Author: miker
Date: 2007-11-05 15:04:09 -0500 (Mon, 05 Nov 2007)
New Revision: 8007

Modified:
   trunk/Open-ILS/xul/staff_client/chrome/content/main/bindings.xml
Log:
first attempt at unbreaking messagecatalog

Modified: trunk/Open-ILS/xul/staff_client/chrome/content/main/bindings.xml
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/main/bindings.xml	2007-11-05 19:22:20 UTC (rev 8006)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/bindings.xml	2007-11-05 20:04:09 UTC (rev 8007)
@@ -152,20 +152,13 @@
 							var these = [ str ].concat(params);
 							var v = this.sprintf.apply(this,these);
 
-							// The standard set of replacables
-							v = v.replace(/\\\\/g, '\\');
-							v = v.replace(/\\b/g, '\b');
-							v = v.replace(/\\f/g, '\f');
-							v = v.replace(/\\r/g, '\r');
-							v = v.replace(/\\t/g, '\t');
-							v = v.replace(/\\v/g, '\v');
-							v = v.replace(/\\n/g, '\n');
-
 							// replace unicode escapes
+/*
 							v = v.replace(
 								/\\u([0-9a-f]{4})/gi,
 								function (r,s) { return String.fromCharCode(s); }
 							);
+*/
 
 							return v;
 						} catch(e) {



More information about the open-ils-commits mailing list