From 7c1ae508021c5385fda26a3b669e6f44f0f969d7 Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Mon, 24 Sep 2007 21:59:57 +0000 Subject: [PATCH] Write tags for male/female have different conjugations and also interpret them correctly in the pronouns page. svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=716552 --- keduvocdocument/keduvockvtml2writer.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/keduvocdocument/keduvockvtml2writer.cpp b/keduvocdocument/keduvockvtml2writer.cpp index eb7ea0e..7d0a354 100644 --- a/keduvocdocument/keduvockvtml2writer.cpp +++ b/keduvocdocument/keduvockvtml2writer.cpp @@ -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 ); } } -- 2.47.3