File indexing completed on 2023-05-30 09:04:26
0001 /* 0002 * Vocabulary Document for KDE Edu KVTML version 2 0003 * SPDX-FileCopyrightText: 2007 Jeremy Whiting <jpwhiting@kde.org> 0004 * SPDX-FileCopyrightText: 2007 Frederik Gladhorn <frederik.gladhorn@kdemail.net> 0005 * SPDX-License-Identifier: GPL-2.0-or-later 0006 */ 0007 #ifndef KVTML2DEFS_H 0008 #define KVTML2DEFS_H 0009 0010 #define KVTML_TAG "kvtml" 0011 #define KVTML_VERSION "version" 0012 #define KVTML_ID "id" 0013 0014 #define KVTML_INFORMATION "information" 0015 0016 #define KVTML_GENERATOR "generator" 0017 #define KVTML_TITLE "title" 0018 #define KVTML_AUTHOR "author" 0019 #define KVTML_AUTHORCONTACT "contact" 0020 #define KVTML_LICENSE "license" 0021 #define KVTML_COMMENT "comment" 0022 #define KVTML_CATEGORY "category" 0023 0024 #define KVTML_IDENTIFIERS "identifiers" 0025 #define KVTML_IDENTIFIER "identifier" 0026 #define KVTML_IDENTIFIERTYPE "identifiertype" 0027 #define KVTML_LOCALE "locale" 0028 #define KVTML_NAME "name" 0029 #define KVTML_SIZEHINT "sizehint" 0030 0031 // articles 0032 #define KVTML_ARTICLE "article" 0033 0034 // conjugation, declension and personal pronouns 0035 #define KVTML_CONJUGATION "conjugation" 0036 #define KVTML_CONJUGATIONTYPE "conjugationtype" 0037 #define KVTML_PERSONALPRONOUNS "personalpronouns" 0038 #define KVTML_DECLENSION "declension" 0039 0040 static const QString KVTML_DECLENSION_CASE[] = {"nominative", "genitive", "dative", "accusative", "ablative", "locative", "vocative"}; 0041 0042 static const QString KVTML_GRAMMATICAL_NUMBER[] = {"singular", 0043 "dual", // dual is the case where there's a special form for exactly two 0044 "plural"}; 0045 0046 static const QString KVTML_GRAMMATICAL_GENDER[] = {"male", "female", "neutral"}; 0047 0048 static const QString KVTML_GRAMMATICAL_PERSON[] = {"firstperson", "secondperson", "thirdpersonmale", "thirdpersonfemale", "thirdpersonneutralcommon"}; 0049 0050 static const QString KVTML_GRAMMATICAL_DEFINITENESS[] = {"definite", "indefinite"}; 0051 0052 // for the personal pronuns: 0053 // if this tag exists, in a conjugation male/female are different 0054 #define KVTML_THIRD_PERSON_MALE_FEMALE_DIFFERENT "malefemaledifferent" 0055 // if this tag exists conjugations even have a neutral form for the third person 0056 #define KVTML_THIRD_PERSON_NEUTRAL_EXISTS "neutralexists" 0057 #define KVTML_DUAL_EXISTS "dualexists" 0058 0059 // word types, lessons and leitner boxes are vocabulary containers. 0060 // each is allowed to have as many child containers as desired. 0061 // for KDE 4.0 Parley will only allow a depth of wordtype children of two, 0062 // leitner is not implemented at all. 0063 // it is assumed that one container only has children of the same type. 0064 // containers may have an image associated to represent them visually. 0065 #define KVTML_WORDTYPES "wordtypes" 0066 #define KVTML_LESSONS "lessons" 0067 #define KVTML_LEITNERBOXES "leitnerboxes" 0068 #define KVTML_CONTAINER "container" 0069 #define KVTML_INPRACTICE "inpractice" 0070 0071 // these are necessary to enable practices based on word types. users can give types arbitrary names, but these few are hardcoded. special container types 0072 #define KVTML_SPECIALWORDTYPE "specialwordtype" 0073 #define KVTML_SPECIALWORDTYPE_NOUN "noun" 0074 #define KVTML_SPECIALWORDTYPE_NOUN_MALE "noun/male" 0075 #define KVTML_SPECIALWORDTYPE_NOUN_FEMALE "noun/female" 0076 #define KVTML_SPECIALWORDTYPE_NOUN_NEUTRAL "noun/neutral" 0077 #define KVTML_SPECIALWORDTYPE_VERB "verb" 0078 #define KVTML_SPECIALWORDTYPE_ADJECTIVE "adjective" 0079 #define KVTML_SPECIALWORDTYPE_ADVERB "adverb" 0080 #define KVTML_SPECIALWORDTYPE_CONJUNCTION "conjunction" 0081 0082 #define KVTML_TENSES "tenses" 0083 #define KVTML_TENSE "tense" 0084 0085 #define KVTML_USAGES "usages" 0086 #define KVTML_USAGE "usage" 0087 0088 #define KVTML_CURRENT "current" 0089 0090 #define KVTML_ENTRIES "entries" 0091 #define KVTML_ENTRY "entry" 0092 #define KVTML_DEACTIVATED "deactivated" 0093 0094 #define KVTML_TRANSLATION "translation" 0095 #define KVTML_TEXT "text" 0096 #define KVTML_PRONUNCIATION "pronunciation" 0097 0098 #define KVTML_PAIR "pair" 0099 #define KVTML_FALSEFRIEND "falsefriend" 0100 #define KVTML_ANTONYM "antonym" 0101 #define KVTML_SYNONYM "synonym" 0102 0103 #define KVTML_EXAMPLE "example" 0104 #define KVTML_PARAPHRASE "paraphrase" 0105 0106 #define KVTML_COMPARISON "comparison" 0107 #define KVTML_ABSOLUTE "absolute" 0108 #define KVTML_COMPARATIVE "comparative" 0109 #define KVTML_SUPERLATIVE "superlative" 0110 0111 #define KVTML_MULTIPLECHOICE "multiplechoice" 0112 #define KVTML_CHOICE "choice" 0113 0114 #define KVTML_IMAGE "image" 0115 #define KVTML_SOUND "sound" 0116 0117 #define KVTML_GRADE "grade" 0118 #define KVTML_FROMID "fromid" 0119 #define KVTML_PREGRADE "pregrade" 0120 #define KVTML_CURRENTGRADE "currentgrade" 0121 #define KVTML_COUNT "count" 0122 #define KVTML_ERRORCOUNT "errorcount" 0123 #define KVTML_DATE "date" 0124 #define KVTML_INTERVAL "interval" 0125 0126 #define KVTML_TRUE "true" 0127 #define KVTML_FALSE "false" 0128 0129 #endif