element information : add info 'designation'

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3527 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2014-11-30 11:53:23 +00:00
parent bdadd33697
commit 8e6a796ba8
2 changed files with 4 additions and 1 deletions

View File

@@ -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");