Translate debug message to English

This commit is contained in:
Laurent Trinques
2026-06-27 19:41:28 +02:00
parent 58000283e6
commit ef04497ca6
+7 -7
View File
@@ -49,18 +49,18 @@ bool ElementData::fromXml(const QDomElement &xml_element)
return false; return false;
} }
// --- HIER STARTET UNSER DEBUG-BLOCK --- // --- OUR DEBUG BLOCK STARTS HERE ---
// Wir holen den String aus der XML und speichern ihn kurz zwischen // We retrieve the string from the XML and store it temporarily
QString raw_type_string = xml_element.attribute(QStringLiteral("link_type"), QStringLiteral("simple")); QString raw_type_string = xml_element.attribute(QStringLiteral("link_type"), QStringLiteral("simple"));
qDebug() << "\n=== NEUES BAUTEIL WIRD GELADEN ==="; qDebug() << "\n=== NEW COMPONENT IS LOADING ===";
qDebug() << "[XML Parser] Roher 'link_type' String aus der .elmt Datei:" << raw_type_string; qDebug() << "[XML Parser] Raw “link_type” string from the .elmt file:" << raw_type_string;
// Jetzt übergeben wir ihn an deine Übersetzungs-Funktion // Now well pass it on to your translation function
m_type = typeFromString(raw_type_string); m_type = typeFromString(raw_type_string);
qDebug() << "[XML Parser] Übersetzter ElementData-Typ:" << typeToString(m_type); qDebug() << "[XML Parser] Translated ElementData type:" << typeToString(m_type);
// --- HIER ENDET UNSER DEBUG-BLOCK --- // --- THIS IS WHERE OUR DEBUG BLOCK ENDS ---
kindInfoFromXml(xml_element); kindInfoFromXml(xml_element);
m_informations.fromXml(xml_element.firstChildElement(QStringLiteral("elementInformations")), m_informations.fromXml(xml_element.firstChildElement(QStringLiteral("elementInformations")),