]> Git trees. - libqmvoc.git/commitdiff
Write tags for male/female have different conjugations and also interpret them correc...
authorFrederik Gladhorn <gladhorn@kde.org>
Mon, 24 Sep 2007 21:59:57 +0000 (21:59 +0000)
committerFrederik Gladhorn <gladhorn@kde.org>
Mon, 24 Sep 2007 21:59:57 +0000 (21:59 +0000)
svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=716552

keduvocdocument/keduvockvtml2writer.cpp

index eb7ea0e9d5c4e21bef95f464f3ab76254d29b935..7d0a354bc02d2efcb83fb5fc2c39084f5ae49d31 100644 (file)
@@ -629,6 +629,12 @@ bool KEduVocKvtml2Writer::writePersonalPronoun(QDomElement & pronounElement, con
             number.appendChild( newTextElement( KVTML_THIRD_FEMALE, third_female ) );
             number.appendChild( newTextElement( KVTML_THIRD_NEUTER_COMMON, third_neutral ) );
 
+            if ( pronoun.maleFemaleDifferent() ) {
+                number.appendChild( m_domDoc.createElement( KVTML_THIRD_PERSON_MALE_FEMALE_DIFFERENT ) );
+            }
+            if ( pronoun.neuterExists() ) {
+                number.appendChild( m_domDoc.createElement( KVTML_THIRD_PERSON_NEUTER_EXISTS ) );
+            }
             pronounElement.appendChild( number );
         }
     }