Continue new summary feature

Header name is now well translated.
Open the good dialog from the properties dock widget
This commit is contained in:
Claveau Joshua
2020-06-21 16:00:14 +02:00
parent edb5217b31
commit 64f3001c86
10 changed files with 113 additions and 62 deletions

View File

@@ -340,11 +340,8 @@ QString QETApp::elementTranslatedInfoKey(const QString &info)
else if (info == "supplier") return tr("Fournisseur");
else if (info == "quantity") return tr("Quantité");
else if (info == "unity") return tr("Unité");
return (info);
else return QString();
}
/**
@@ -440,8 +437,9 @@ QString QETApp::diagramTranslatedInfoKey(const QString &key)
else if (key == "folio") return tr("Folio");
else if (key == "plant") return tr("Installation");
else if (key == "locmach") return tr("Localisation");
else if (key == "indexrev") return tr("Indice Rev");
else if (key == "indexrev") return tr("Indice de révision");
else if (key == "date") return tr("Date");
else if (key == "pos") return tr("Position");
else return QString();
}