diff --git a/sources/nomenclature.cpp b/sources/nomenclature.cpp index 35156cd01..bde01c159 100644 --- a/sources/nomenclature.cpp +++ b/sources/nomenclature.cpp @@ -81,7 +81,17 @@ bool nomenclature::saveToCSVFile() { QString nomenclature::getNomenclature() { //Process... QString data = tr("NOMENCLATURE : ") + m_project -> title() + "\n\n"; - data += tr("N° de folio") +";"+ tr("Titre de folio") +";"+ tr("Désignation qet")+";"+ tr("Label") +";"+ tr("Désignation")+";"+ tr("Commentaire") +";"+ tr("Fabricant") +";"+ tr("Reference") +";"+ tr("Machine-reference") +";"+tr("Localisation")+"\n"; + data += tr("N° de folio") +";" + ""+ tr("Titre de folio") +";" + ""+ tr("Désignation qet") +";" + ""+ tr("Label") +";" + ""+ tr("Désignation") +";" + ""+ tr("Commentaire") +";" + ""+ tr("Fabricant") +";" + ""+ tr("Reference") +";" + ""+ tr("Machine-reference") +";" + ""+ tr("Localisation") +";" + ""+ tr("Fonction") +"\n"; if(m_list_diagram.isEmpty()) return data; @@ -121,7 +131,8 @@ QString nomenclature::getElementInfo(const Element *elmt) { info += elmt_info["manufacturer"].toString() + ";"; info += elmt_info["manufacturer-reference"].toString() + ";"; info += elmt_info["machine-manufacturer-reference"].toString() + ";"; - info += elmt_info["location"].toString() + "\n"; + info += elmt_info["location"].toString() + ";"; + info += elmt_info["function"].toString() + "\n"; return info; } diff --git a/sources/qetapp.cpp b/sources/qetapp.cpp index fd272b4e8..3e3ae5c1c 100644 --- a/sources/qetapp.cpp +++ b/sources/qetapp.cpp @@ -350,7 +350,8 @@ QStringList QETApp::elementInfoKeys() { << "manufacturer" << "manufacturer-reference" << "machine-manufacturer-reference" - << "location"; + << "location" + << "function"; return info_list; } @@ -369,6 +370,7 @@ QString QETApp::elementTranslatedInfoKey(QString &info) { else if (info == "manufacturer-reference") return tr("Référence fabricant"); else if (info == "machine-manufacturer-reference") return tr("Référence fabricant machine"); else if (info == "location") return tr("Localisation"); + else if (info == "function") return tr("Fonction"); return (info); }