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
+14 -14
View File
@@ -297,7 +297,7 @@ void DynamicTextFieldEditor::on_m_x_sb_editingFinished()
for (int i = 0; i < m_parts.length(); i++) {
const QPointF anchor = m_parts[i] -> anchorPos();
QPropertyUndoCommand *undo = new QPropertyUndoCommand(m_parts[i], "anchorPos", anchor, QPointF(value, anchor.y()));
undo -> setText(tr("Déplacer un champ texte"));
undo -> setText(tr("Move a text field"));
undo -> enableAnimation(true);
undoStack().push(undo);
}
@@ -309,7 +309,7 @@ void DynamicTextFieldEditor::on_m_y_sb_editingFinished()
for (int i = 0; i < m_parts.length(); i++) {
const QPointF anchor = m_parts[i] -> anchorPos();
QPropertyUndoCommand *undo = new QPropertyUndoCommand(m_parts[i], "anchorPos", anchor, QPointF(anchor.x(), value));
undo -> setText(tr("Déplacer un champ texte"));
undo -> setText(tr("Move a text field"));
undo -> enableAnimation(true);
undoStack().push(undo);
}
@@ -320,7 +320,7 @@ void DynamicTextFieldEditor::on_m_rotation_sb_editingFinished()
int value = ui -> m_rotation_sb -> value();
for (int i = 0; i < m_parts.length(); i++) {
QPropertyUndoCommand *undo = new QPropertyUndoCommand(m_parts[i], "rotation", m_parts[i] -> rotation(), value);
undo -> setText(tr("Pivoter un champ texte"));
undo -> setText(tr("Rotate a text field"));
undo -> enableAnimation(true);
undoStack().push(undo);
}
@@ -331,7 +331,7 @@ void DynamicTextFieldEditor::on_m_user_text_le_editingFinished()
QString text = ui -> m_user_text_le -> text();
for (int i = 0; i < m_parts.length(); i++) {
QPropertyUndoCommand *undo = new QPropertyUndoCommand(m_parts[i], "text", m_parts[i] -> text(), text);
undo -> setText(tr("Modifier le texte d'un champ texte"));
undo -> setText(tr("Edit the text of a text field"));
undoStack().push(undo);
}
}
@@ -342,7 +342,7 @@ void DynamicTextFieldEditor::on_m_size_sb_editingFinished()
font_.setPointSize(ui -> m_size_sb -> value());
for (int i = 0; i < m_parts.length(); i++) {
QPropertyUndoCommand *undo = new QPropertyUndoCommand(m_parts[i], "font", m_parts[i] -> font(), font_);
undo -> setText(tr("Modifier la police d'un champ texte"));
undo -> setText(tr("Change the font of a text field"));
undoStack().push(undo);
}
}
@@ -354,7 +354,7 @@ void DynamicTextFieldEditor::on_m_frame_cb_clicked()
for (int i = 0; i < m_parts.length(); i++) {
if(frame != m_parts[i] -> frame()) {
QPropertyUndoCommand *undo = new QPropertyUndoCommand(m_parts[i], "frame", m_parts[i] -> frame(), frame);
undo -> setText(tr("Modifier le cadre d'un champ texte"));
undo -> setText(tr("Modify the frame of a text field"));
undoStack().push(undo);
}
}
@@ -369,7 +369,7 @@ void DynamicTextFieldEditor::on_m_width_sb_editingFinished()
//rounded just by leaving the box.
if(ui -> m_width_sb -> value() != qRound(m_parts[i] -> textWidth())) {
QPropertyUndoCommand *undo = new QPropertyUndoCommand(m_parts[i], "textWidth", m_parts[i] -> textWidth(), width);
undo -> setText(tr("Modifier la largeur d'un texte"));
undo -> setText(tr("Change the width of a text"));
undoStack().push(undo);
}
}
@@ -382,7 +382,7 @@ void DynamicTextFieldEditor::on_m_elmt_info_cb_activated(int index) {
for (int i = 0; i < m_parts.length(); i++) {
if(info != m_parts[i] -> infoName()) {
QPropertyUndoCommand *undo = new QPropertyUndoCommand(m_parts[i], "infoName", m_parts[i] -> infoName(), info);
undo->setText(tr("Modifier l'information d'un texte"));
undo->setText(tr("Edit text information"));
undoStack().push(undo);
m_parts[i]->setPlainText(
elementEditor()->elementScene()->elementData().m_informations.value(m_parts[i] -> infoName()).toString());
@@ -432,7 +432,7 @@ void DynamicTextFieldEditor::on_m_text_from_cb_activated(int index) {
for (int i = 0; i < m_parts.length(); i++) {
if(tf != m_parts[i] -> textFrom()) {
QPropertyUndoCommand *undo = new QPropertyUndoCommand(m_parts[i], "textFrom", m_parts[i] -> textFrom(), tf);
undo -> setText(tr("Modifier la source de texte, d'un texte"));
undo -> setText(tr("Change text source, text"));
undoStack().push(undo);
}
}
@@ -469,7 +469,7 @@ void DynamicTextFieldEditor::on_m_alignment_pb_clicked()
QPropertyUndoCommand *undo =\
new QPropertyUndoCommand(
m_parts[i], "alignmentAtAnchor", QVariant(m_parts[i] -> alignment()), QVariant(atd.alignment()));
undo -> setText(tr("Modifier l'alignement d'un champ texte"));
undo -> setText(tr("Modify the alignment of a text field"));
undoStack().push(undo);
}
}
@@ -485,7 +485,7 @@ void DynamicTextFieldEditor::on_m_font_pb_clicked()
for (int i = 0; i < m_parts.length(); i++) {
QPropertyUndoCommand *undo = new QPropertyUndoCommand(m_parts[i], "font", m_parts[i] -> font(), font_);
undo -> setText(tr("Modifier la police d'un champ texte"));
undo -> setText(tr("Change the font of a text field"));
undoStack().push(undo);
}
}
@@ -499,7 +499,7 @@ void DynamicTextFieldEditor::m_color_kpb_changed(QColor newColor) {
for (int i = 0; i < m_parts.length(); i++) {
if(newColor != m_parts[i] -> color()) {
QPropertyUndoCommand *undo = new QPropertyUndoCommand(m_parts[i], "color", m_parts[i] -> color(), newColor);
undo -> setText(tr("Modifier la couleur d'un champ texte"));
undo -> setText(tr("Change the color of a text field"));
undoStack().push(undo);
}
}
@@ -512,7 +512,7 @@ void DynamicTextFieldEditor::on_m_keep_visual_rotation_cb_clicked()
for (int i = 0; i < m_parts.length(); i++) {
if(keep != m_parts[i] -> keepVisualRotation()) {
QPropertyUndoCommand *undo = new QPropertyUndoCommand(m_parts[i], "keepVisualRotation", m_parts[i] -> frame(), keep);
undo -> setText(tr("Modifier la conservation de l'angle"));
undo -> setText(tr("Modify the conservation of the angle"));
undoStack().push(undo);
}
}
@@ -525,7 +525,7 @@ void DynamicTextFieldEditor::on_m_rotation_point_center_cb_clicked()
for (int i = 0; i < m_parts.length(); i++) {
if (center != m_parts[i]->rotationPointCenter()) {
QPropertyUndoCommand *undo = new QPropertyUndoCommand(m_parts[i], "rotationPointCenter", m_parts[i]->rotationPointCenter(), center);
undo->setText(tr("Modifier le point de rotation d'un champ texte"));
undo->setText(tr("Change the rotation point of a text field"));
undoStack().push(undo);
}
}