p, li { white-space: pre-wrap; }
QString QETApp::elementTranslatedInfoKey(const QString &info)
{
if (info == "formula") return tr("formule du label");
else if (info == "label") return tr("Label");
else if (info == "function-group") return tr("Groupe fonctionnel");
else if (info == "location") return tr("Localisation");
else if (info == "comment") return tr("Commentaire");
else if (info == "function") return tr("Fonction");
else if (info == "tension-protocol") return tr("Tension / Protocole");
else if (info == "auxiliary1") return tr("Bloc auxiliaire 1");
else if (info == "auxiliary2") return tr("Bloc auxiliaire 2");
else if (info == "description") return tr("Description textuelle");
else if (info == "designation") return tr("Numéro d'article");
else if (info == "manufacturer") return tr("Fabricant");
else if (info == "manufacturer-reference") return tr("Numéro de commande");
else if (info == "machine-manufacturer-reference") return tr("Numéro interne");
else if (info == "provider") return tr("Fournisseur");
return (info);
}
Ce qui donnerai :