From: Frederik Gladhorn Date: Sat, 1 Dec 2007 12:46:12 +0000 (+0000) Subject: fix localization - some strings were only in keduvoccompability and not in keduvocwor... X-Git-Tag: v3.97.0~4 X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=85eca3d0afc6f2cf9c669f3f704df43c676dfb4c;p=libqmvoc.git fix localization - some strings were only in keduvoccompability and not in keduvocwordtype svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=743595 --- diff --git a/keduvocdocument/keduvocwordtype.cpp b/keduvocdocument/keduvocwordtype.cpp index 2005b02..345a6c8 100644 --- a/keduvocdocument/keduvocwordtype.cpp +++ b/keduvocdocument/keduvocwordtype.cpp @@ -118,27 +118,31 @@ KEduVocWordType::KEduVocWordType( const KEduVocWordType & other ) void KEduVocWordType::createDefaultWordTypes() { // first the special types - addType( d->WORDTYPE_SPECIAL_NOUN, d->WORDTYPE_SPECIAL_NOUN ); + QString noun = i18nc( "@item:inlistbox The grammatical type of a word", "Noun" ); + addType( noun , d->WORDTYPE_SPECIAL_NOUN ); - addSubType( d->WORDTYPE_SPECIAL_NOUN, - d->WORDTYPE_SPECIAL_NOUN_MALE, d->WORDTYPE_SPECIAL_NOUN_MALE ); + addSubType( noun, i18nc( "@item:inlistbox A subtype of the grammatical word type: Noun", "Male" ), + d->WORDTYPE_SPECIAL_NOUN_MALE ); - addSubType( d->WORDTYPE_SPECIAL_NOUN, - d->WORDTYPE_SPECIAL_NOUN_FEMALE, d->WORDTYPE_SPECIAL_NOUN_FEMALE ); + addSubType( noun, i18nc( "@item:inlistbox A subtype of the grammatical word type: Noun", "Female" ), + d->WORDTYPE_SPECIAL_NOUN_FEMALE ); - addSubType( d->WORDTYPE_SPECIAL_NOUN, - d->WORDTYPE_SPECIAL_NOUN_NEUTRAL, d->WORDTYPE_SPECIAL_NOUN_NEUTRAL ); + addSubType( noun, i18nc( "@item:inlistbox A subtype of the grammatical word type: Noun", "Neutral" ), + d->WORDTYPE_SPECIAL_NOUN_NEUTRAL ); - addType( d->WORDTYPE_SPECIAL_VERB, d->WORDTYPE_SPECIAL_VERB ); - addSubType( d->WORDTYPE_SPECIAL_VERB, + QString verb = i18nc( "@item:inlistbox The grammatical type of a word", "Verb" ); + + addType( verb, d->WORDTYPE_SPECIAL_VERB ); + + addSubType( verb, i18nc( "@item:inlistbox A subtype of the grammatical word type: Verb with regular conjugation","Regular" ) ); - addSubType( d->WORDTYPE_SPECIAL_VERB, + addSubType( verb, i18nc( "@item:inlistbox A subtype of the grammatical word type: Verb with irregular conjugation","Irregular" ) ); - addType( d->WORDTYPE_SPECIAL_ADJECTIVE, d->WORDTYPE_SPECIAL_ADJECTIVE ); - addType( d->WORDTYPE_SPECIAL_ADVERB, d->WORDTYPE_SPECIAL_ADVERB ); + addType( i18nc( "@item:inlistbox The grammatical type of a word", "Adjective" ), d->WORDTYPE_SPECIAL_ADJECTIVE ); + addType( i18nc( "@item:inlistbox The grammatical type of a word", "Adverb" ), d->WORDTYPE_SPECIAL_ADVERB ); addType( i18nc( "@item:inlistbox The grammatical type of an entry", "Question" ) ); addType( i18nc( "@item:inlistbox The grammatical type of a word", "Name" ) );