mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
Fix typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5064 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -128,7 +128,7 @@ void DynamicTextFieldEditor::on_m_y_sb_editingFinished()
|
|||||||
void DynamicTextFieldEditor::on_m_rotation_sb_editingFinished()
|
void DynamicTextFieldEditor::on_m_rotation_sb_editingFinished()
|
||||||
{
|
{
|
||||||
QPropertyUndoCommand *undo = new QPropertyUndoCommand(m_text_field, "rotation", m_text_field.data()->rotation(), ui->m_rotation_sb->value());
|
QPropertyUndoCommand *undo = new QPropertyUndoCommand(m_text_field, "rotation", m_text_field.data()->rotation(), ui->m_rotation_sb->value());
|
||||||
undo->setText(tr("Pivoter 2un champ texte dynamique"));
|
undo->setText(tr("Pivoter un champ texte dynamique"));
|
||||||
undo->enableAnimation(true);
|
undo->enableAnimation(true);
|
||||||
undoStack().push(undo);
|
undoStack().push(undo);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -311,9 +311,9 @@ QString QETApp::elementTranslatedInfoKey(const QString &info)
|
|||||||
else if (info == "comment") return tr("Commentaire");
|
else if (info == "comment") return tr("Commentaire");
|
||||||
else if (info == "description") return tr("Description textuelle");
|
else if (info == "description") return tr("Description textuelle");
|
||||||
else if (info == "designation") return tr("Numéro d'article");
|
else if (info == "designation") return tr("Numéro d'article");
|
||||||
else if (info == "manufacturer") return tr("Nom du Fabricant");
|
else if (info == "manufacturer") return tr("Fabricant");
|
||||||
else if (info == "manufacturer-reference") return tr("Numéro de commande");
|
else if (info == "manufacturer-reference") return tr("Numéro de commande");
|
||||||
else if (info == "provider") return tr("Nom du Fournisseur");
|
else if (info == "provider") return tr("Fournisseur");
|
||||||
else if (info == "auxiliary1") return tr("Bloc auxiliaire 1");
|
else if (info == "auxiliary1") return tr("Bloc auxiliaire 1");
|
||||||
else if (info == "auxiliary2") return tr("Bloc auxiliaire 2");
|
else if (info == "auxiliary2") return tr("Bloc auxiliaire 2");
|
||||||
else if (info == "machine-manufacturer-reference") return tr("Numéro interne");
|
else if (info == "machine-manufacturer-reference") return tr("Numéro interne");
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ void DynamicElementTextItemEditor::apply()
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
QUndoStack &us = m_element->diagram()->undoStack();
|
QUndoStack &us = m_element->diagram()->undoStack();
|
||||||
us.beginMacro(tr("Modifier des texte d'élément"));
|
us.beginMacro(tr("Modifier des textes d'élément"));
|
||||||
for (QUndoCommand *quc : undo_list)
|
for (QUndoCommand *quc : undo_list)
|
||||||
us.push(quc);
|
us.push(quc);
|
||||||
us.endMacro();
|
us.endMacro();
|
||||||
|
|||||||
@@ -215,11 +215,11 @@ PotentialSelectorDialog::~PotentialSelectorDialog()
|
|||||||
*/
|
*/
|
||||||
void PotentialSelectorDialog::buildWidget()
|
void PotentialSelectorDialog::buildWidget()
|
||||||
{
|
{
|
||||||
QString text1(tr("%n conducteurs composent potentiel suivant :", "", m_potential_selector->m_conductor_number_1));
|
QString text1(tr("%n conducteurs composent le potentiel suivant :", "", m_potential_selector->m_conductor_number_1));
|
||||||
ConductorProperties cp1 = m_potential_selector->m_properties_list_1.first();
|
ConductorProperties cp1 = m_potential_selector->m_properties_list_1.first();
|
||||||
|
|
||||||
if(!cp1.text.isEmpty())
|
if(!cp1.text.isEmpty())
|
||||||
text1.append(tr("\nNumero : %1").arg(cp1.text));
|
text1.append(tr("\nNuméro : %1").arg(cp1.text));
|
||||||
if(!cp1.m_function.isEmpty())
|
if(!cp1.m_function.isEmpty())
|
||||||
text1.append(tr("\nFonction : %1").arg(cp1.m_function));
|
text1.append(tr("\nFonction : %1").arg(cp1.m_function));
|
||||||
if(!cp1.m_tension_protocol.isEmpty())
|
if(!cp1.m_tension_protocol.isEmpty())
|
||||||
@@ -228,7 +228,7 @@ void PotentialSelectorDialog::buildWidget()
|
|||||||
QString text2(tr("%n conducteurs composent le potentiel suivant :", "", m_potential_selector->m_conductor_number_2));
|
QString text2(tr("%n conducteurs composent le potentiel suivant :", "", m_potential_selector->m_conductor_number_2));
|
||||||
ConductorProperties cp2 = m_potential_selector->m_properties_list_2.first();
|
ConductorProperties cp2 = m_potential_selector->m_properties_list_2.first();
|
||||||
if(!cp2.text.isEmpty())
|
if(!cp2.text.isEmpty())
|
||||||
text2.append(tr("\nNumero : %1").arg(cp2.text));
|
text2.append(tr("\nNuméro : %1").arg(cp2.text));
|
||||||
if(!cp2.m_function.isEmpty())
|
if(!cp2.m_function.isEmpty())
|
||||||
text2.append(tr("\nFonction : %1").arg(cp2.m_function));
|
text2.append(tr("\nFonction : %1").arg(cp2.m_function));
|
||||||
if(!cp2.m_tension_protocol.isEmpty())
|
if(!cp2.m_tension_protocol.isEmpty())
|
||||||
|
|||||||
Reference in New Issue
Block a user