UNPKG

@shopgate/engage

Version:
6 lines 278 B
import{i18n}from"../../core/helpers/i18n";/** * Translate filter label * @param {string} id filter id. * @param {string} label filter label. * @returns {string} */export function translateFilterLabel(id,label){return i18n.textWithDefault("filter.label.".concat(id),label);}