api/extjs/browser-part/e-br.js
function replaceLocKeys(str) {
      var reExtra = /el"(.*?)"/g;
      var result = str.replace(reExtra, function (m, key) {
        return '"' + tiaEJ.getLocaleValue(key, true) + '"';
      });
      var re = /l"(.*?)"/g;
      result = result.replace(re, function (m, key) {
        return '"' + tiaEJ.getLocaleValue(key) + '"';
      });

      result = result.replace(/,/g, '\\,');

      return result;
    }
function replaceLocKeys(str) {
      var reExtra = /el"(.*?)"/g;
      var result = str.replace(reExtra, function (m, key) {
        return '"' + tiaEJ.getLocaleValue(key, true) + '"';
      });
      var re = /l"(.*?)"/g;
      result = result.replace(re, function (m, key) {
        return '"' + tiaEJ.getLocaleValue(key) + '"';
      });

      result = result.replace(/,/g, '\\,');

      return result;
    }
function replaceLocKeys ( str ) { var reExtra = / el"(.*?)" / g ; var result = str . replace ( reExtra , function ( m , key ) { return '"' + tiaEJ . getLocaleValue ( key , true ) + '"' ; } ) ; var re = / l"(.*?)" / g ; result = result . replace ( re , function ( m , key ) { return '"' + tiaEJ . getLocaleValue ( key ) + '"' ; } ) ; result = result . replace ( / , / g , '\\,' ) ; return result ; }
Replaces 'l"locale_key"' by '"text"', where text is the locale value for the given key.
@param {String} str - input string.
@return {String} - string with replaced text.
Replaces l locale_key by text where text is the locale value for the given key .