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
@@ -868,17 +868,17 @@ QString ElementData::translatedTerminalType(ElementData::TerminalType type)
{
switch (type) {
case ElementData::TTGeneric :
return QObject::tr("Générique", "generic terminal element type");
return QObject::tr("Generic", "generic terminal element type");
case ElementData::TTFuse :
return QObject::tr("Fusible", "fuse terminal element type");
return QObject::tr("Fuse", "fuse terminal element type");
case ElementData::TTSectional:
return QObject::tr("Sectionable", "sectional terminal element type");
case ElementData::TTDiode:
return QObject::tr("Diode", "diode terminal element type");
case ElementData::TTGround:
return QObject::tr("Terre", "ground terminal element type");
return QObject::tr("Ground", "ground terminal element type");
}
return QObject::tr("Générique", "generic terminal element type");
return QObject::tr("Generic", "generic terminal element type");
}
QString ElementData::terminalFunctionToString(ElementData::TerminalFunction function)
@@ -913,11 +913,11 @@ ElementData::TerminalFunction ElementData::terminalFunctionFromString(const QStr
QString ElementData::translatedTerminalFunction(ElementData::TerminalFunction function)
{
switch (function) {
case TFGeneric : return QObject::tr("Générique", "generic terminal element function");
case TFGeneric : return QObject::tr("Generic", "generic terminal element function");
case TFPhase : return QObject::tr("Phase", "phase terminal element function" );
case TFNeutral : return QObject::tr("Neutre", "neutral terminal element function");
case TFNeutral : return QObject::tr("Neutral", "neutral terminal element function");
}
return QObject::tr("Générique", "generic terminal element function");
return QObject::tr("Generic", "generic terminal element function");
}
void ElementData::kindInfoFromXml(const QDomElement &xml_element)
@@ -1184,19 +1184,19 @@ QString ElementData::translatedPlcIOType(PlcIOType type)
{
switch (type) {
case EntreeDigitale:
return QObject::tr("Entrée digitale");
return QObject::tr("Digital input");
case SortieDigitale:
return QObject::tr("Sortie digitale");
return QObject::tr("Digital output");
case EntreeAnalogique:
return QObject::tr("Entrée analogique");
return QObject::tr("Analogue input");
case SortieAnalogique:
return QObject::tr("Sortie analogique");
return QObject::tr("Analogue output");
case EntreeUniverselle:
return QObject::tr("Entrée universelle");
return QObject::tr("Universal input");
case SortieUniverselle:
return QObject::tr("Sortie universelle");
return QObject::tr("Universal output");
}
return QObject::tr("Entrée digitale");
return QObject::tr("Digital input");
}
/**