Fix 9 messages always shown in French; add missing English

Nine messages were never passed through tr(), so every user saw them in
French: the undo entries for grouping and ungrouping terminals, for
editing an arc (3), an ellipse, a rectangle and a PLC table in the
element editor, and the error box when integrating a title block
template fails. They are now wrapped, text unchanged.

qet_en.ts also lacked English for 63 messages added since the last
translations update (Customize dialog, mouse gestures, toolbar contents,
mirror, element scale, paste element information, paper format).
update_translations was run on qet_en.ts with lupdate's guessing
heuristics off, then the 72 new entries were translated. Most of the
diff is lupdate refreshing line numbers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ispyisail
2026-10-08 12:29:08 +13:00
parent ef795a21e5
commit d0657f36db
7 changed files with 1316 additions and 907 deletions
+3 -3
View File
@@ -172,7 +172,7 @@ void ArcEditor::updateArcS()
if (value != arc->property("startAngle"))
{
QPropertyUndoCommand *undo= new QPropertyUndoCommand(arc, "startAngle", arc->property("startAngle"), value);
undo->setText("Modifier l'angle de depart d'un arc");
undo->setText(tr("Modifier l'angle de depart d'un arc"));
undo->enableAnimation();
elementScene()->undoStack().push(undo);
}
@@ -197,7 +197,7 @@ void ArcEditor::updateArcA()
if (value != arc->property("spanAngle"))
{
QPropertyUndoCommand *undo= new QPropertyUndoCommand(arc, "spanAngle", arc->property("spanAngle"), value);
undo->setText("Modifier l'angle d'un arc");
undo->setText(tr("Modifier l'angle d'un arc"));
undo->enableAnimation();
elementScene()->undoStack().push(undo);
}
@@ -240,7 +240,7 @@ void ArcEditor::updateRect()
if (rect != part->property("rect"))
{
auto undo= new QPropertyUndoCommand(ellipse, "rect", ellipse->property("rect"), rect);
undo->setText("Modifier un arc");
undo->setText(tr("Modifier un arc"));
undo->enableAnimation();
elementScene()->undoStack().push(undo);
}