diff --git a/sources/nomenclature.cpp b/sources/nomenclature.cpp index 77607dcdf..1ba6cacff 100644 --- a/sources/nomenclature.cpp +++ b/sources/nomenclature.cpp @@ -81,7 +81,7 @@ bool nomenclature::saveToCSVFile() { QString nomenclature::getNomenclature() { //Process... QString data = tr("NOMENCLATURE : ") + m_project -> title() + "\n\n"; - data += tr("Folio") +";"+ tr("Sch\351ma") +";"+ tr("D\351signation")+";"+ tr("Label") +";"+ tr("Commentaire") +";"+ tr("Fabriquant") +";"+ tr("Reference") +";"+ tr("Machine-reference")+"\n"; + data += tr("Folio") +";"+ tr("Sch\351ma") +";"+ tr("D\351signation qet")+";"+ tr("Label") +";"+ tr("D\351signation")+";"+ tr("Commentaire") +";"+ tr("Fabriquant") +";"+ tr("Reference") +";"+ tr("Machine-reference")+"\n"; if(m_list_diagram.isEmpty()) return data; @@ -115,6 +115,7 @@ QString nomenclature::getElementInfo(const Element *elmt) { info += diagram -> title() + ";"; info += elmt -> name() + ";"; info += elmt_info["label"].toString() + ";"; + info += elmt_info["designation"].toString() + ";"; info += elmt_info["comment"].toString() + ";"; info += elmt_info["manufacturer"].toString() + ";"; info += elmt_info["manufacturer-reference"].toString() + ";"; diff --git a/sources/qetapp.cpp b/sources/qetapp.cpp index 57c59755c..49885b264 100644 --- a/sources/qetapp.cpp +++ b/sources/qetapp.cpp @@ -346,6 +346,7 @@ QStringList QETApp::elementInfoKeys() { QStringList info_list; info_list << "label" << "comment" + << "designation" << "manufacturer" << "manufacturer-reference" << "machine-manufacturer-reference"; @@ -362,6 +363,7 @@ QStringList QETApp::elementInfoKeys() { QString QETApp::elementTranslatedInfoKey(QString &info) { if (info == "label") return tr("Label"); else if (info == "comment") return tr("Commentaire"); + else if (info == "designation") return tr("D\351signation"); else if (info == "manufacturer") return tr("Fabriquant"); else if (info == "manufacturer-reference") return tr("R\351f\351rence fabriquant"); else if (info == "machine-manufacturer-reference") return tr("R\351f\351rence fabriquant machine");