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
+6 -6
View File
@@ -211,7 +211,7 @@ void PolygonEditor::on_m_close_polygon_cb_stateChanged(int arg1)
"closed",
m_part->property("closed"),
close);
undo->setText(tr("Modifier un polygone"));
undo->setText(tr("Change a polygon"));
undoStack().push(undo);
}
}
@@ -234,9 +234,9 @@ void PolygonEditor::on_m_points_list_tree_itemChanged(QTreeWidgetItem *item,
if (points.count() < 2)
{
QET::QetMessageBox::warning(this,
tr("Erreur",
tr("Error",
"message box title"),
tr("Le polygone doit comporter au moins deux points.",
tr("The polygon must contain at least two points.",
"message box content"));
return;
}
@@ -248,7 +248,7 @@ void PolygonEditor::on_m_points_list_tree_itemChanged(QTreeWidgetItem *item,
"polygon",
m_part->property("polygon"),
points);
undo->setText(tr("Modifier un polygone"));
undo->setText(tr("Change a polygon"));
undoStack().push(undo);
}
}
@@ -309,7 +309,7 @@ void PolygonEditor::on_m_add_point_action_triggered()
}
//Wrap the undo for avoid to merge the undo commands when user add several points.
QUndoCommand *undo = new QUndoCommand(tr("Ajouter un point à un polygone"));
QUndoCommand *undo = new QUndoCommand(tr("Add a point to a polygon"));
new QPropertyUndoCommand(m_part, "polygon", m_part->polygon(), new_polygon, undo);
elementScene()->undoStack().push(undo);
@@ -328,7 +328,7 @@ void PolygonEditor::on_m_remove_point_action_triggered()
new_polygon.removeAt(ui->m_points_list_tree->indexOfTopLevelItem(qtwi));
//Wrap the undo for avoid to merge the undo commands when user remove several points.
QUndoCommand *undo = new QUndoCommand(tr("Supprimer un point d'un polygone"));
QUndoCommand *undo = new QUndoCommand(tr("Delete a point from a polygon"));
new QPropertyUndoCommand(m_part, "polygon", m_part->polygon(), new_polygon, undo);
elementScene()->undoStack().push(undo);
}