/home/techb158/primomovers.ca/wp-content/themes/Divi/epanel/theme-options-library/app/lib
NameSizeModeActions
config.js450644editdlrm
constants.js2030644editdlrm
i18n.js5390644editdlrm
request.js5910644editdlrm
theme-options-library.js3440644editdlrm
theme-options-utils.js18130644editdlrm
Edit: /home/techb158/primomovers.ca/wp-content/themes/Divi/epanel/theme-options-library/app/lib/i18n.js (539B)
// External dependencies. import { get } from 'lodash'; // Internal dependencies. import config from './config'; const i18n = (context, key, ...args) => { const value = get(context, key, ''); if ('production' !== process.env.NODE_ENV && '' === value) { console.error('Failed to find i18n string:', key); } if (args.length > 0) { const sprintf = get(window, 'wp.i18n.sprintf'); return sprintf(value, ...args); } return value; }; export default (path, key, ...args) => i18n(config.i18n, [path, key], ...args);