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
+4 -4
View File
@@ -49,12 +49,12 @@ bool ConductorNumExport::toCsv()
//save in csv file in same directory as project by default
QString dir = m_project->currentDir();
if (dir.isEmpty()) dir = QETApp::documentDir();
QString name = dir % "/" % QObject::tr("numero_de_fileries_") % m_project->title() % ".csv";
QString name = dir % "/" % QObject::tr("number_of_wiring_") % m_project->title() % ".csv";
// if(!name.endsWith(".csv")) {
// name += ".csv";
// }
QString filename = QFileDialog::getSaveFileName(m_parent_widget, QObject::tr("Enregister sous... "), name, QObject::tr("Fichiers csv (*.csv)"));
QString filename = QFileDialog::getSaveFileName(m_parent_widget, QObject::tr("Save As... "), name, QObject::tr("Files csv (*.csv)"));
QFile file(filename);
if(!filename.isEmpty())
{
@@ -63,8 +63,8 @@ bool ConductorNumExport::toCsv()
// if file already exist -> delete it
if(!QFile::remove(filename))
{
QMessageBox::critical(m_parent_widget, QObject::tr("Erreur"),
QObject::tr("Impossible de remplacer le fichier!\n\n") %
QMessageBox::critical(m_parent_widget, QObject::tr("Error"),
QObject::tr("Unable to replace the file!\n\n") %
"Destination : " % filename % "\n");
return false;
}