diff --git a/sources/nomenclature.cpp b/sources/nomenclature.cpp index cdbec42a6..35156cd01 100644 --- a/sources/nomenclature.cpp +++ b/sources/nomenclature.cpp @@ -81,7 +81,8 @@ 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")+"\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"; + if(m_list_diagram.isEmpty()) return data; @@ -119,7 +120,8 @@ QString nomenclature::getElementInfo(const Element *elmt) { info += elmt_info["comment"].toString() + ";"; info += elmt_info["manufacturer"].toString() + ";"; info += elmt_info["manufacturer-reference"].toString() + ";"; - info += elmt_info["machine-manufacturer-reference"].toString() + "\n"; + info += elmt_info["machine-manufacturer-reference"].toString() + ";"; + info += elmt_info["location"].toString() + "\n"; return info; } diff --git a/sources/qetapp.cpp b/sources/qetapp.cpp index 732d2ca21..433f50183 100644 --- a/sources/qetapp.cpp +++ b/sources/qetapp.cpp @@ -349,7 +349,8 @@ QStringList QETApp::elementInfoKeys() { << "designation" << "manufacturer" << "manufacturer-reference" - << "machine-manufacturer-reference"; + << "machine-manufacturer-reference" + << "location"; return info_list; } @@ -367,6 +368,7 @@ QString QETApp::elementTranslatedInfoKey(QString &info) { else if (info == "manufacturer") return tr("Fabricant"); 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"); return (info); }