first attempt at unbreaking messagecatalog
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 5 Nov 2007 20:04:09 +0000 (20:04 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 5 Nov 2007 20:04:09 +0000 (20:04 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@8007 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/chrome/content/main/bindings.xml

index cf1ff33..c9ec267 100644 (file)
                                                        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) {