diff --git a/sources/qetapp.cpp b/sources/qetapp.cpp index .. 100644 --- a/sources/qetapp.cpp +++ b/sources/qetapp.cpp @@ -294,19 +294,22 @@ QStringList info_list; info_list << "formula" << "label" + << "function-group" + << "location" + << "comment" + << "function" + << "tension-protocol" + << "auxiliary1" + << "auxiliary2" + << "description" << "designation" - << "manufacturer" << "manufacturer-reference" - << "provider" - << "auxiliary1" - << "auxiliary2" << "machine-manufacturer-reference" - << "function-group" - << "location" - << "function" - << "tension-protocol"; + << "provider"; + + return info_list; } @@ -321,19 +324,23 @@ { 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"); - else if (info == "auxiliary1") return tr("Bloc auxiliaire 1"); - else if (info == "auxiliary2") return tr("Bloc auxiliaire 2"); - else if (info == "machine-manufacturer-reference") return tr("Numéro interne"); - else if (info == "function-group") return tr("Groupe fonctionnel"); - else if (info == "location") return tr("Localisation"); - else if (info == "function") return tr("Fonction"); - else if (info == "tension-protocol") return tr("Tension / Protocole"); + + return (info); } @@ -347,19 +354,21 @@ { if (info == "formula") return QString("%{formula}"); else if (info == "label") return QString("%{label}"); + else if (info == "function-group" ) return QString("%{function-group}"); + else if (info == "location") return QString("%{location}"); + else if (info == "comment") return QString("%{comment}"); + else if (info == "function") return QString("%{function}"); + else if (info == "tension-protocol") return QString("%{tension-protocol}"); + else if (info == "auxiliary1") return QString("%{auxiliary1}"); + else if (info == "auxiliary2") return QString("%{auxiliary2}"); + else if (info == "description") return QString("%{description}"); else if (info == "designation") return QString("%{designation}"); else if (info == "manufacturer") return QString("%{manufacturer}"); else if (info == "manufacturer-reference") return QString("%{manufacturer-reference}"); + else if (info == "machine-manufacturer-reference") return QString("%{machine-manufacturer-reference}"); else if (info == "provider") return QString("%{provider}"); - else if (info == "auxiliary1") return QString("%{auxiliary1}"); - else if (info == "auxiliary2") return QString("%{auxiliary2}"); - else if (info == "machine-manufacturer-reference") return QString("%{machine-manufacturer-reference}"); - else if (info == "function-group" ) return QString("%{function-group}"); - else if (info == "location") return QString("%{location}"); - else if (info == "function") return QString("%{function}"); - else if (info == "tension-protocol") return QString("%{tension-protocol}"); return (QString ("%{void}")); }