1(function () { 2 'use strict'; 3 4 var data = window.translations || {}; 5 6 $.translation = $.breeze.translation = { 7 /** Add translation phrase|phrases */ 8 add: function () { 9 if (arguments.length > 1) { 10 data[arguments[0]] = arguments[1]; 11 } else if (typeof arguments[0] === 'object') { 12 $.extend(data, arguments[0]); 13 } 14 }, 15 16 /** Translate the phrase */ 17 translate: function (text) { 18 return typeof data[text] !== 'undefined' ? data[text] : text; 19 } 20 }; 21 22 $.mage.__ = $.__ = window.$t = window.__ = $.translation.translate; 23 $.breezemap['mage/translate'] = $.__; 24})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.