svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=693356
}
//kDebug() << " TranslationList.count(): " << translationList.count() << " Entry count: " << m_doc->entryCount() << endl;
if (m_doc->entryCount() == 0) { // this is because in kvtml the languages are saved in the FIRST ENTRY ONLY.
-//kDebug() << " Read Expression with identifiers: " << i << endl;
+//kDebug() << " Read Expression with identifiers: " << lang << endl;
// new translation
if (lang.isEmpty()) {
if (i == 0) {
lang.setNum(m_doc->identifierCount());
lang.prepend("translation ");
}
- m_doc->appendIdentifier(lang);
+
}
+ if (m_doc->identifierCount() <= i)
+ m_doc->appendIdentifier(lang);
}
else
{