svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=789195
}
- if ( m_doc->lesson()->entries(KEduVocLesson::Recursive).count() == 0 ) { // this is because in kvtml the languages are saved in the FIRST ENTRY ONLY.
-
- // new translation
- if (!addLanguage(i, lang)) {
- return false;
- }
- }
//---------
// Children
entry->setTranslation( i, textstr );
}
+ if ( m_doc->lesson()->entries(KEduVocLesson::Recursive).count() == 1 ) { // this is because in kvtml the languages are saved in the FIRST ENTRY ONLY.
+ // new translation
+ if (!addLanguage(i, lang)) {
+ return false;
+ }
+ }
+
// better make sure, translation(i) already exists...
currentChild = currentElement.firstChildElement( KV_CONJUG_GRP );
if ( !currentChild.isNull() ) {