mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-08 21:14:14 +02:00
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:
@@ -516,7 +516,7 @@ void PartRectangle::handlerMouseReleaseEvent(QetGraphicsHandlerItem *qghi, QGrap
|
||||
|
||||
m_modifie_radius_equaly = false;
|
||||
|
||||
QUndoCommand *undo = new QUndoCommand("Modifier un rectangle");
|
||||
QUndoCommand *undo = new QUndoCommand(tr("Modifier un rectangle"));
|
||||
if (m_old_rect != m_rect) {
|
||||
QPropertyUndoCommand *u = new QPropertyUndoCommand(this, "rect", QVariant(m_old_rect.normalized()), QVariant(m_rect.normalized()), undo);
|
||||
u->setAnimated(true, false);
|
||||
|
||||
Reference in New Issue
Block a user