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
+8 -8
View File
@@ -672,9 +672,9 @@ bool Element::buildFromXml(const QDomElement &xml_def_elmt, int *state)
&& QetVersion::currentVersion() < elmt_version)
{
std::cerr << qPrintable(
QObject::tr("Avertissement : l'élément "
" a été enregistré avec une version"
" ultérieure de QElectroTech.")
QObject::tr("Warning: the element has been "
"saved with a more recent version "
"of QElectroTech.")
) << std::endl;
}
@@ -2111,7 +2111,7 @@ void Element::setUpFormula(bool code_letter, QUndoCommand *parent_undo)
else
{
auto *undo = new SetAutoNumContextCommand(setter, element_currentAutoNum, nc, new_context);
undo->setText(tr("Numéroter automatiquement un élément", "undo caption"));
undo->setText(tr("Automatically number an element", "undo caption"));
diagram()->undoStack().push(undo);
}
@@ -2386,10 +2386,10 @@ void Element::drawPlcTable(QPainter *painter)
// Build header labels
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 (!plc_data.columnNames.isEmpty()) {