lib/helpers/indexes.js
function getIndexLogTranslations(type = TYPE_WIDGETS) {
  const params = { type: t(`TYPE_${type}`) };

  return {
    logStart: `  ${t('INDEXING_TYPE', params)}`,
    logEnd: `  ${t('INDEXED_TYPE', params)}`,
    logNotFound: `  ${t('NO_EXTENSIONS_FOUND_FOR_TYPE', params)}`,
  };
}
function getIndexLogTranslations(type = TYPE_WIDGETS) {
  const params = { type: t(`TYPE_${type}`) };

  return {
    logStart: `  ${t('INDEXING_TYPE', params)}`,
    logEnd: `  ${t('INDEXED_TYPE', params)}`,
    logNotFound: `  ${t('NO_EXTENSIONS_FOUND_FOR_TYPE', params)}`,
  };
}
function getIndexLogTranslations ( type = TYPE_WIDGETS ) { const params = { type : t ( ` ${ type } ` ) } ; return { logStart : ` ${ t ( 'INDEXING_TYPE' , params ) } ` , logEnd : ` ${ t ( 'INDEXED_TYPE' , params ) } ` , logNotFound : ` ${ t ( 'NO_EXTENSIONS_FOUND_FOR_TYPE' , params ) } ` , } ; }
Creates translations for the extension indexing log.
@param {string} type The indexed type.
@returns {Object}
Creates translations for the extension indexing log .