def translate_facet_term(facet, term): from utils import cducode2str, langcode2str if facet == "cdu_class": return cducode2str(term) if facet == "language": return langcode2str(term) return term
def translate_facet_term(facet, term): """ Transforme les termes des facettes pour un joli affichage """ from utils import cducode2str, langcode2str if facet == "cdu_class": return cducode2str(term) if facet == "language": return langcode2str(term) return term