////////////////// TYPES /////////////////////////////////////////
void KEduVocKvtmlCompability::initOldTypeLists()
{
+
m_oldMainTypeNames.clear();
- m_oldMainTypeNames.insert( "v", i18n( "Verb" ) );
- m_oldMainTypeNames.insert( "n", i18n( "Noun" ) );
- m_oldMainTypeNames.insert( "nm", i18n( "Name" ) );
- m_oldMainTypeNames.insert( "ar", i18n( "Article" ) );
- m_oldMainTypeNames.insert( "aj", i18n( "Adjective" ) );
- m_oldMainTypeNames.insert( "av", i18n( "Adverb" ) );
- m_oldMainTypeNames.insert( "pr", i18n( "Pronoun" ) );
- m_oldMainTypeNames.insert( "ph", i18n( "Phrase" ) );
- m_oldMainTypeNames.insert( "num", i18n( "Numeral" ) );
- m_oldMainTypeNames.insert( "con", i18n( "Conjunction" ) );
- m_oldMainTypeNames.insert( "pre", i18n( "Preposition" ) );
- m_oldMainTypeNames.insert( "qu", i18n( "Question" ) );
+ m_oldMainTypeNames.insert( "v", i18nc( "@item:inlistbox The grammatical type of a word", "Verb" ) );
+ m_oldMainTypeNames.insert( "n", i18nc( "@item:inlistbox The grammatical type of a word", "Noun" ) );
+ m_oldMainTypeNames.insert( "nm", i18nc( "@item:inlistbox The grammatical type of a word", "Name" ) );
+ m_oldMainTypeNames.insert( "ar", i18nc( "@item:inlistbox The grammatical type of a word", "Article" ) );
+ m_oldMainTypeNames.insert( "aj", i18nc( "@item:inlistbox The grammatical type of a word", "Adjective" ) );
+ m_oldMainTypeNames.insert( "av", i18nc( "@item:inlistbox The grammatical type of a word", "Adverb" ) );
+ m_oldMainTypeNames.insert( "pr", i18nc( "@item:inlistbox The grammatical type of a word", "Pronoun" ) );
+ m_oldMainTypeNames.insert( "ph", i18nc( "@item:inlistbox The grammatical type of an entry", "Phrase" ) );
+ m_oldMainTypeNames.insert( "num", i18nc( "@item:inlistbox The grammatical type of a word", "Numeral" ) );
+ m_oldMainTypeNames.insert( "con", i18nc( "@item:inlistbox The grammatical type of a word", "Conjunction" ) );
+ m_oldMainTypeNames.insert( "pre", i18nc( "@item:inlistbox The grammatical type of a word", "Preposition" ) );
+ m_oldMainTypeNames.insert( "qu", i18nc( "@item:inlistbox The grammatical type of an entry", "Question" ) );
- m_oldSubTypeNames.clear();
- m_oldSubTypeNames.insert( "ord", i18n( "Ordinal" ) );
- m_oldSubTypeNames.insert( "crd", i18n( "Cardinal" ) );
- m_oldSubTypeNames.insert( "def", i18n( "Definite" ) );
- m_oldSubTypeNames.insert( "ind", i18n( "Indefinite" ) );
- m_oldSubTypeNames.insert( "re", i18n( "Regular" ) );
- m_oldSubTypeNames.insert( "ir", i18n( "Irregular" ) );
- m_oldSubTypeNames.insert( "pos", i18n( "Possessive" ) );
- m_oldSubTypeNames.insert( "per", i18n( "Personal" ) );
- m_oldSubTypeNames.insert( "m", i18n( "Male" ) );
- m_oldSubTypeNames.insert( "f", i18n( "Female" ) );
- m_oldSubTypeNames.insert( "s", i18n( "Neutral" ) );
+ m_oldSubTypeNames.clear();
+ m_oldSubTypeNames.insert( "ord", i18nc( "@item:inlistbox A subtype of the grammatical word type: Numeral Ordinal (one, two, three, ...)","Ordinal" ) );
+ m_oldSubTypeNames.insert( "crd", i18nc( "@item:inlistbox A subtype of the grammatical word type: Numeral Cardinal (first, second, third, ...)","Cardinal" ) );
+ m_oldSubTypeNames.insert( "def", i18nc( "@item:inlistbox A subtype of the grammatical word type: Article (the)","Definite" ) );
+ m_oldSubTypeNames.insert( "ind", i18nc( "@item:inlistbox A subtype of the grammatical word type: Article (a)","Indefinite" ) );
+ m_oldSubTypeNames.insert( "re", i18nc( "@item:inlistbox A subtype of the grammatical word type: Verb with regular conjugation","Regular" ) );
+ m_oldSubTypeNames.insert( "ir", i18nc( "@item:inlistbox A subtype of the grammatical word type: Verb with irregular conjugation","Irregular" ) );
+ m_oldSubTypeNames.insert( "pos", i18nc( "@item:inlistbox A subtype of the grammatical word type: Pronoun (my, your, his, her...)", "Possessive" ) );
+ m_oldSubTypeNames.insert( "per", i18nc( "@item:inlistbox A subtype of the grammatical word type: Pronoun (I, you, he...)", "Personal" ) );
+ m_oldSubTypeNames.insert( "m", i18nc( "@item:inlistbox A subtype of the grammatical word type: Noun", "Male" ) );
+ m_oldSubTypeNames.insert( "f", i18nc( "@item:inlistbox A subtype of the grammatical word type: Noun", "Female" ) );
+ m_oldSubTypeNames.insert( "s", i18nc( "@item:inlistbox A subtype of the grammatical word type: Noun", "Neutral" ) );
}
void KEduVocWordType::createDefaultWordTypes()
{
// first the special types which cannot be deleted:
- addType( i18n( "Noun" ), d->WORDTYPE_NOUN, d->WORDTYPE_NOUN_EXPLANATION );
-
- addSubType( i18n( "Noun" ), i18n( "Male" ), d->WORDTYPE_NOUN_MALE, d->WORDTYPE_NOUN_MALE_EXPLANATION );
-
- addSubType( i18n( "Noun" ), i18n( "Female" ), d->WORDTYPE_NOUN_FEMALE, d->WORDTYPE_NOUN_FEMALE_EXPLANATION );
-
- addSubType( i18n( "Noun" ), i18n( "Neutral" ), d->WORDTYPE_NOUN_NEUTRAL, d->WORDTYPE_NOUN_NEUTRAL_EXPLANATION );
-
- addType( i18n( "Verb" ), d->WORDTYPE_VERB, d->WORDTYPE_VERB_EXPLANATION );
-
- addSubType( i18n( "Verb" ), i18n( "Regular" ), d->WORDTYPE_VERB_REGULAR, d->WORDTYPE_VERB_REGULAR_EXPLANATION );
-
- addSubType( i18n( "Verb" ), i18n( "Irregular" ), d->WORDTYPE_VERB_IRREGULAR, d->WORDTYPE_VERB_IRREGULAR_EXPLANATION );
-
- addType( i18n( "Adjective" ), d->WORDTYPE_ADJECTIVE, d->WORDTYPE_ADJECTIVE_EXPLANATION );
-
- addType( i18n( "Adverb" ), d->WORDTYPE_ADVERB, d->WORDTYPE_ADVERB_EXPLANATION );
-
- addType( i18n( "Question" ) );
- addType( i18n( "Name" ) );
- addType( i18n( "Article" ) );
- addSubType( i18n( "Article" ), i18n( "Definite" ) );
- addSubType( i18n( "Article" ), i18n( "Indefinite" ) );
-
- addType( i18n( "Pronoun" ) );
- addSubType( i18n( "Pronoun" ), i18n( "Possessive" ) );
- addSubType( i18n( "Pronoun" ), i18n( "Personal" ) );
-
- addType( i18n( "Phrase" ) );
- addType( i18n( "Numeral" ) );
- addSubType( i18n( "Numeral" ), i18n( "Ordinal" ) );
- addSubType( i18n( "Numeral" ), i18n( "Cardinal" ) );
-
- addType( i18n( "Conjunction" ) );
- addType( i18n( "Preposition" ) );
- addType( i18n( "Informal" ) );
- addType( i18n( "Figuratively" ) );
+ addType( i18nc( "@item:inlistbox The grammatical type of a word", "Noun" ),
+ d->WORDTYPE_NOUN, d->WORDTYPE_NOUN_EXPLANATION );
+
+ addSubType( i18nc( "@item:inlistbox The grammatical type of a word", "Noun" ),
+ i18nc( "@item:inlistbox A subtype of the grammatical word type: Noun", "Male" ),
+ d->WORDTYPE_NOUN_MALE, d->WORDTYPE_NOUN_MALE_EXPLANATION );
+
+ addSubType( i18nc( "@item:inlistbox The grammatical type of a word", "Noun" ),
+ i18nc( "@item:inlistbox A subtype of the grammatical word type: Noun", "Female" ),
+ d->WORDTYPE_NOUN_FEMALE, d->WORDTYPE_NOUN_FEMALE_EXPLANATION );
+
+ addSubType( i18nc( "@item:inlistbox The grammatical type of a word", "Noun" ),
+ i18nc( "@item:inlistbox A subtype of the grammatical word type: Noun", "Neutral" ),
+ d->WORDTYPE_NOUN_NEUTRAL, d->WORDTYPE_NOUN_NEUTRAL_EXPLANATION );
+
+ addType( i18nc( "@item:inlistbox The grammatical type of a word", "Verb" ),
+ d->WORDTYPE_VERB, d->WORDTYPE_VERB_EXPLANATION );
+
+ addSubType( i18nc( "@item:inlistbox The grammatical type of a word", "Verb" ),
+ i18nc( "@item:inlistbox A subtype of the grammatical word type: Verb with regular conjugation","Regular" ),
+ d->WORDTYPE_VERB_REGULAR, d->WORDTYPE_VERB_REGULAR_EXPLANATION );
+
+ addSubType( i18nc( "@item:inlistbox The grammatical type of a word", "Verb" ),
+ i18nc( "@item:inlistbox A subtype of the grammatical word type: Verb with irregular conjugation","Irregular" ),
+ d->WORDTYPE_VERB_IRREGULAR, d->WORDTYPE_VERB_IRREGULAR_EXPLANATION );
+
+ addType( i18nc( "@item:inlistbox The grammatical type of a word", "Adjective" ) ,
+ d->WORDTYPE_ADJECTIVE, d->WORDTYPE_ADJECTIVE_EXPLANATION );
+
+ addType( i18nc( "@item:inlistbox The grammatical type of a word", "Adverb" ),
+ d->WORDTYPE_ADVERB, d->WORDTYPE_ADVERB_EXPLANATION );
+
+
+ addType( i18nc( "@item:inlistbox The grammatical type of an entry", "Question" ) );
+ addType( i18nc( "@item:inlistbox The grammatical type of a word", "Name" ) );
+ addType( i18nc( "@item:inlistbox The grammatical type of a word", "Article" ) );
+ addSubType( i18nc( "@item:inlistbox The grammatical type of a word", "Article" ),
+ i18nc( "@item:inlistbox A subtype of the grammatical word type: Article (the)","Definite" ) );
+ addSubType( i18nc( "@item:inlistbox The grammatical type of a word", "Article" ),
+ i18nc( "@item:inlistbox A subtype of the grammatical word type: Article (a)","Indefinite" ) );
+
+ addType( i18nc( "@item:inlistbox The grammatical type of a word", "Pronoun" ) );
+ addSubType( i18nc( "@item:inlistbox The grammatical type of a word", "Pronoun" ),
+ i18nc( "@item:inlistbox A subtype of the grammatical word type: Pronoun (my, your, his, her...)", "Possessive" ) );
+ addSubType( i18nc( "@item:inlistbox The grammatical type of a word", "Pronoun" ),
+ i18nc( "@item:inlistbox A subtype of the grammatical word type: Pronoun (I, you, he...)", "Personal" ) );
+
+ addType( i18nc( "@item:inlistbox The grammatical type of an entry", "Phrase" ) );
+ addType( i18nc( "@item:inlistbox The grammatical type of a word", "Numeral" ) );
+ addSubType( i18nc( "@item:inlistbox The grammatical type of a word", "Numeral" ),
+ i18nc( "@item:inlistbox A subtype of the grammatical word type: Numeral Ordinal (one, two, three, ...)","Ordinal" ) );
+ addSubType( i18nc( "@item:inlistbox The grammatical type of a word", "Numeral" ),
+ i18nc( "@item:inlistbox A subtype of the grammatical word type: Numeral Cardinal (first, second, third, ...)","Cardinal" ) );
+
+ addType( i18nc( "@item:inlistbox The grammatical type of a word", "Conjunction" ) );
+ addType( i18nc( "@item:inlistbox The grammatical type of a word", "Preposition" ) );
}
-
QString KEduVocWordType::mainTypeName( int index ) const
{
return d->m_wordTypeList[index].m_typeName;