PageSourceSearch

https://jupitergem.com/static/version1790528429/frontend/Swissup/b…/en_US/Swissup_Breeze/js/core/translate.js

js jupitergem.com collected 2026-10-02 17:50:46 UTC 702 bytes, 24 lines download raw bytes

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.