Correction of some french notions and correction of typos

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5628 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
nuri
2018-12-03 22:13:16 +00:00
parent 4ba3f477f8
commit cdfdd6f22a
17 changed files with 92 additions and 82 deletions

View File

@@ -80,7 +80,7 @@ void ReplaceElementDialog::buildWidget()
{
ElementInfoPartWidget *eipw = new ElementInfoPartWidget(str, QETApp::elementTranslatedInfoKey(str), this);
eipw->setEraseTextVisible(true);
eipw->setPlaceHolderText(tr("Non modifier"));
eipw->setPlaceHolderText(tr("Ne pas modifier"));
ui->m_scroll_layout->addWidget(eipw);
m_eipw_list << eipw;
}

View File

@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>449</width>
<height>389</height>
<width>710</width>
<height>705</height>
</rect>
</property>
<property name="windowTitle">
@@ -74,7 +74,7 @@
<string>Disponible en tant que %title pour les modèles de cartouches</string>
</property>
<property name="placeholderText">
<string>Non modifier</string>
<string>Ne pas modifier</string>
</property>
</widget>
</item>
@@ -84,7 +84,7 @@
<string>Disponible en tant que %author pour les modèles de cartouches</string>
</property>
<property name="placeholderText">
<string>Non modifier</string>
<string>Ne pas modifier</string>
</property>
</widget>
</item>
@@ -118,7 +118,7 @@
<string>Disponible en tant que %indexrev pour les modèles de cartouches</string>
</property>
<property name="placeholderText">
<string>Non modifier</string>
<string>Ne pas modifier</string>
</property>
</widget>
</item>
@@ -128,7 +128,7 @@
<string>Disponible en tant que %filename pour les modèles de cartouches</string>
</property>
<property name="placeholderText">
<string>Non modifier</string>
<string>Ne pas modifier</string>
</property>
</widget>
</item>
@@ -188,7 +188,7 @@
<item row="0" column="0">
<widget class="QRadioButton" name="m_unchanged_date">
<property name="text">
<string>Non &amp;modifier</string>
<string>Ne pas modifier</string>
</property>
</widget>
</item>
@@ -204,7 +204,7 @@ Les variables suivantes sont utilisables :
- %autonum : Folio Auto Numeration</string>
</property>
<property name="placeholderText">
<string>Non modifier</string>
<string>Ne pas modifier</string>
</property>
</widget>
</item>
@@ -214,7 +214,7 @@ Les variables suivantes sont utilisables :
<string>Disponible en tant que %locmach pour les modèles de cartouches</string>
</property>
<property name="placeholderText">
<string>Non modifier</string>
<string>Ne pas modifier</string>
</property>
</widget>
</item>
@@ -224,7 +224,7 @@ Les variables suivantes sont utilisables :
<string>Disponible en tant que %machine pour les modèles de cartouches</string>
</property>
<property name="placeholderText">
<string>Non modifier</string>
<string>Ne pas modifier</string>
</property>
</widget>
</item>

View File

@@ -151,36 +151,36 @@ void SearchAndReplaceWidget::setUpTreeItems()
m_elements_qtwi = new QTreeWidgetItem(m_root_qtwi);
m_elements_qtwi->setIcon(0, QET::Icons::Element);
m_elements_qtwi->setText(0, tr("Elements"));
m_elements_qtwi->setText(0, tr("Eléments"));
m_elements_qtwi->setCheckState(0, Qt::Checked);
m_category_qtwi.append(m_elements_qtwi);
m_simple_elmt_qtwi = new QTreeWidgetItem(m_elements_qtwi);
m_simple_elmt_qtwi->setText(0, tr("Elements simple"));
m_simple_elmt_qtwi->setText(0, tr("Eléments simple"));
m_simple_elmt_qtwi->setIcon(0, QET::Icons::Element);
m_simple_elmt_qtwi->setCheckState(0, Qt::Checked);
m_qtwi_elmts.append(m_simple_elmt_qtwi);
m_master_elmt_qtwi= new QTreeWidgetItem(m_elements_qtwi);
m_master_elmt_qtwi->setText(0, tr("Elements maître"));
m_master_elmt_qtwi->setText(0, tr("Eléments maître"));
m_master_elmt_qtwi->setIcon(0, QET::Icons::ElementMaster);
m_master_elmt_qtwi->setCheckState(0, Qt::Checked);
m_qtwi_elmts.append(m_master_elmt_qtwi);
m_slave_elmt_qtwi = new QTreeWidgetItem(m_elements_qtwi);
m_slave_elmt_qtwi->setText(0, tr("Elements esclave"));
m_slave_elmt_qtwi->setText(0, tr("Eléments esclave"));
m_slave_elmt_qtwi->setIcon(0, QET::Icons::ElementSlave);
m_slave_elmt_qtwi->setCheckState(0, Qt::Checked);
m_qtwi_elmts.append(m_slave_elmt_qtwi);
m_report_elmt_qtwi = new QTreeWidgetItem(m_elements_qtwi);
m_report_elmt_qtwi->setText(0, tr("Elements report de folio"));
m_report_elmt_qtwi->setText(0, tr("Eléments report de folio"));
m_report_elmt_qtwi->setIcon(0, QET::Icons::FolioXrefComing);
m_report_elmt_qtwi->setCheckState(0, Qt::Checked);
m_qtwi_elmts.append(m_report_elmt_qtwi);
m_terminal_elmt_qtwi = new QTreeWidgetItem(m_elements_qtwi);
m_terminal_elmt_qtwi->setText(0, tr("Elements bornier"));
m_terminal_elmt_qtwi->setText(0, tr("Eléments bornier"));
m_terminal_elmt_qtwi->setIcon(0, QET::Icons::ElementTerminal);
m_terminal_elmt_qtwi->setCheckState(0, Qt::Checked);
m_qtwi_elmts.append(m_terminal_elmt_qtwi);
@@ -856,8 +856,8 @@ void SearchAndReplaceWidget::on_m_folio_pb_clicked()
if (result == QDialogButtonBox::AcceptRole)
{
QString text = ui->m_folio_pb->text();
if (!text.endsWith(tr(" [Édité]"))) {
text.append(tr(" [Édité]"));
if (!text.endsWith(tr(" [édité]"))) {
text.append(tr(" [édité]"));
}
ui->m_folio_pb->setText(text);
m_worker.m_titleblock_properties = dialog->titleBlockProperties();
@@ -865,8 +865,8 @@ void SearchAndReplaceWidget::on_m_folio_pb_clicked()
else if (result == QDialogButtonBox::ResetRole)
{
QString text = ui->m_folio_pb->text();
if (text.endsWith(tr(" [Édité]"))) {
text.remove(tr(" [Édité]"));
if (text.endsWith(tr(" [édité]"))) {
text.remove(tr(" [édité]"));
}
ui->m_folio_pb->setText(text);
m_worker.m_titleblock_properties = TitleBlockProperties();
@@ -885,7 +885,7 @@ void SearchAndReplaceWidget::on_m_replace_pb_clicked()
}
if (!m_category_qtwi.contains(qtwi) && qtwi->checkState(0) == Qt::Checked)
{
if (ui->m_folio_pb->text().endsWith(tr(" [Édité]")) &&
if (ui->m_folio_pb->text().endsWith(tr(" [édité]")) &&
m_diagram_hash.keys().contains(qtwi))
{
QPointer<Diagram> d = m_diagram_hash.value(qtwi);
@@ -893,7 +893,7 @@ void SearchAndReplaceWidget::on_m_replace_pb_clicked()
m_worker.replaceDiagram(d.data());
}
}
else if (ui->m_element_pb->text().endsWith(tr(" [Édité]")) &&
else if (ui->m_element_pb->text().endsWith(tr(" [édité]")) &&
m_element_hash.keys().contains(qtwi))
{
QPointer<Element> e = m_element_hash.value(qtwi);
@@ -923,7 +923,7 @@ void SearchAndReplaceWidget::on_m_replace_pb_clicked()
void SearchAndReplaceWidget::on_m_replace_all_pb_clicked()
{
//Replace folio
if (ui->m_folio_pb->text().endsWith(tr(" [Édité]")))
if (ui->m_folio_pb->text().endsWith(tr(" [édité]")))
{
QList <Diagram *> diagram_list;
for (QTreeWidgetItem *qtwi : m_diagram_hash.keys())
@@ -939,7 +939,7 @@ void SearchAndReplaceWidget::on_m_replace_all_pb_clicked()
m_worker.replaceDiagram(diagram_list);
}
//Replace text
if (ui->m_element_pb->text().endsWith(tr(" [Édité]")))
if (ui->m_element_pb->text().endsWith(tr(" [édité]")))
{
QList <Element *> element_list;
for (QTreeWidgetItem *qtwi : m_element_hash.keys())
@@ -989,8 +989,8 @@ void SearchAndReplaceWidget::on_m_element_pb_clicked()
if (result == QDialogButtonBox::AcceptRole)
{
QString text = ui->m_element_pb->text();
if (!text.endsWith(tr(" [Édité]"))) {
text.append(tr(" [Édité]"));
if (!text.endsWith(tr(" [édité]"))) {
text.append(tr(" [édité]"));
}
ui->m_element_pb->setText(text);
m_worker.m_element_context = dialog->context();
@@ -998,8 +998,8 @@ void SearchAndReplaceWidget::on_m_element_pb_clicked()
else if (result == QDialogButtonBox::ResetRole)
{
QString text = ui->m_element_pb->text();
if (text.endsWith(tr(" [Édité]"))) {
text.remove(tr(" [Édité]"));
if (text.endsWith(tr(" [édité]"))) {
text.remove(tr(" [édité]"));
}
ui->m_element_pb->setText(text);
m_worker.m_element_context = DiagramContext();

View File

@@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>897</width>
<width>1556</width>
<height>596</height>
</rect>
</property>
@@ -60,7 +60,7 @@
<item row="0" column="7">
<widget class="QPushButton" name="m_advanced_pb">
<property name="toolTip">
<string>Avancé</string>
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Afficher les options avancées&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string/>
@@ -260,7 +260,7 @@
<bool>false</bool>
</property>
<property name="toolTip">
<string>Remplacer la correspondance séléctionner</string>
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Remplacer la correspondance sélectionnée&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>Remplacer</string>
@@ -273,7 +273,7 @@
<bool>false</bool>
</property>
<property name="toolTip">
<string>Remplacer les correspondances coché</string>
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Remplacer les correspondances cochées&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>Tout remplacer</string>