Make English the source language of the interface text

Every tr() source string in the code and the forms is now the English
text, and French is a translation (qet_fr.ts) like the other languages.
Generated, not hand-edited: master ef795a21e5 converted by
qet-en-source (harness 4c4ddc9).

3144 messages get an English source, 665 already had one, 0 left French; 8 shared-wording pairs disambiguated.
C++: 2904 literals in 233 files. Forms: 809 strings in 65 files. All 34 .ts files re-keyed; qet_fr.ts filled.
lupdate check: PASS. What each of 38 languages shows, old vs new: same 118266, English instead of French 38433, comment fallback 51, differences 0.
This commit is contained in:
ispyisail
2026-10-08 12:50:13 +13:00
parent 57c650e6e0
commit f5962ecd06
363 changed files with 227813 additions and 199545 deletions
+7 -7
View File
@@ -186,7 +186,7 @@ void PartPlcTable::paint(QPainter *painter, const QStyleOptionGraphicsItem *opti
// Draw placeholder
painter->setBrush(QColor(255, 255, 200));
painter->drawRect(m_rect);
painter->drawText(m_rect, Qt::AlignCenter, QObject::tr("Table PLC"));
painter->drawText(m_rect, Qt::AlignCenter, QObject::tr("PLC Table"));
return;
}
@@ -194,7 +194,7 @@ void PartPlcTable::paint(QPainter *painter, const QStyleOptionGraphicsItem *opti
if (plc_data.ios.isEmpty()) {
painter->setBrush(QColor(255, 255, 200));
painter->drawRect(m_rect);
painter->drawText(m_rect, Qt::AlignCenter, QObject::tr("Table PLC (vide)"));
painter->drawText(m_rect, Qt::AlignCenter, QObject::tr("PLC table (empty)"));
return;
}
@@ -207,10 +207,10 @@ void PartPlcTable::paint(QPainter *painter, const QStyleOptionGraphicsItem *opti
QMap<int, QString> headers;
headers[COL_TYPE] = QObject::tr("Type");
headers[COL_ADDRESS] = QObject::tr("Adresse");
headers[COL_FUNCTION] = QObject::tr("Fonction");
headers[COL_COMMENT] = QObject::tr("Commentaire");
headers[COL_CROSSREF] = QObject::tr("Réf. croisée");
headers[COL_ADDRESS] = QObject::tr("Address");
headers[COL_FUNCTION] = QObject::tr("Function");
headers[COL_COMMENT] = QObject::tr("Annotation");
headers[COL_CROSSREF] = QObject::tr("Cross-reference");
// Override with custom column names if set
if (!plc_data.columnNames.isEmpty()) {
@@ -668,7 +668,7 @@ void PartPlcTable::handlerMouseReleaseEvent(QetGraphicsHandlerItem *qghi, QGraph
Q_UNUSED(qghi)
Q_UNUSED(event)
QUndoCommand *undo = new QUndoCommand(tr("Modifier une table PLC"));
QUndoCommand *undo = new QUndoCommand(tr("Change a PLC table"));
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);