Correction of some french and english notions and correction of typos. Variable %machine changed in %plant.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5629 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
nuri
2018-12-04 19:07:14 +00:00
parent cdfdd6f22a
commit f27954e507
29 changed files with 142 additions and 126 deletions

View File

@@ -57,7 +57,7 @@ void SearchAndReplaceWorker::replaceDiagram(QList<Diagram *> diagram_list)
}
QUndoStack *us = project->undoStack();
us->beginMacro(QObject::tr("Chercher remplacer les propriétés de folio"));
us->beginMacro(QObject::tr("Chercher/remplacer les propriétés de folio"));
for (Diagram *d : diagram_list)
{
TitleBlockProperties old_propertie = d->border_and_titleblock.exportTitleBlock();
@@ -87,12 +87,12 @@ void SearchAndReplaceWorker::replaceDiagram(QList<Diagram *> diagram_list)
new_properties.filename = m_titleblock_properties.filename;
}
}
if (!m_titleblock_properties.machine.isEmpty())
if (!m_titleblock_properties.plant.isEmpty())
{
if (m_titleblock_properties.machine == eraseText()) {
new_properties.machine.clear();
if (m_titleblock_properties.plant == eraseText()) {
new_properties.plant.clear();
} else {
new_properties.machine = m_titleblock_properties.machine;
new_properties.plant = m_titleblock_properties.plant;
}
}
if (!m_titleblock_properties.locmach.isEmpty())
@@ -168,7 +168,7 @@ void SearchAndReplaceWorker::replaceElement(QList<Element *> list)
}
}
project_->undoStack()->beginMacro(QObject::tr("Chercher remplacer les propriétés d'éléments"));
project_->undoStack()->beginMacro(QObject::tr("Chercher/remplacer les propriétés d'éléments"));
for (Element *elmt : list)
{
//We apply change only for master, slave, and terminal element.
@@ -228,7 +228,7 @@ void SearchAndReplaceWorker::replaceIndiText(QList<IndependentTextItem *> list)
}
}
project_->undoStack()->beginMacro(QObject::tr("Chercher remplacer des textes independant"));
project_->undoStack()->beginMacro(QObject::tr("Chercher/remplacer des textes independants"));
for (IndependentTextItem *text : list)
{
QString before = text->toPlainText();