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
+10 -10
View File
@@ -62,9 +62,9 @@ ExportElementTextPattern::ExportElementTextPattern(Element *elmt) :
if (QFileInfo::exists(dir.absoluteFilePath(m_name % ".xml")))
{
bool r = QMessageBox::question(parentWidget(),
QObject::tr("Configuration de textes"),
QObject::tr("Une configuration de textes nommée << %1 >> existe déjà.\n"
"Voulez-vous la remplacer ?").arg(m_name));
QObject::tr("Text configuration"),
QObject::tr("A text configuration named <<%1 >> already exists.\n"
"Do you want to replace it ?").arg(m_name));
if(r == false)
return;
@@ -82,8 +82,8 @@ ExportElementTextPattern::ExportElementTextPattern(Element *elmt) :
QString ExportElementTextPattern::getName(bool &ok) const
{
QString text = QInputDialog::getText(parentWidget(),
QObject::tr("Nom de la configuration"),
QObject::tr("Entrer le nom de la configuration à créer"),
QObject::tr("Configuration name"),
QObject::tr("Enter the name of the configuration to create"),
QLineEdit::Normal,
QString(),
&ok);
@@ -143,8 +143,8 @@ ImportElementTextPattern::ImportElementTextPattern(Element *elmt):
{
QMessageBox::information(
parentWidget(),
QObject::tr("Configuration de textes"),
QObject::tr("Aucune configuration de textes existante."));
QObject::tr("Text configuration"),
QObject::tr("No existing text configuration."));
return;
}
@@ -174,8 +174,8 @@ QString ImportElementTextPattern::getName(const QStringList& list,
{
return ImportElementTextPatternDialog::getItem(
parentWidget(),
QObject::tr("Sélectionner une configuration de textes"),
QObject::tr("Sélectionner la configuration de textes à ajouter à l'élément"),
QObject::tr("Select a text configuration"),
QObject::tr("Select the text configuration to add to the element"),
list,
ok,
erase);
@@ -243,7 +243,7 @@ void ImportElementTextPattern::apply(QString name, bool erase) const
}
QUndoStack &undo_stack = m_element->diagram()->undoStack();
undo_stack.beginMacro(QObject::tr("Importer la configuration de texte : %1").arg(name.remove(".xml")));
undo_stack.beginMacro(QObject::tr("Import the text configuration : %1").arg(name.remove(".xml")));
//erase existing texts and groups
if (erase)