Changeset 681
- Timestamp:
- 03/13/07 14:17:32 (2 years ago)
- Files:
-
- PleiadesEntity/trunk/Extensions/Install.py (modified) (1 diff)
- PleiadesEntity/trunk/content/Name.py (modified) (1 diff)
- PleiadesEntity/trunk/data/AWMCNameCompleteness.vdex (added)
- PleiadesEntity/trunk/models/PleiadesEntity.zargo (modified) (previous)
- PleiadesEntity/trunk/tests/Vocabularies.txt (modified) (2 diffs)
- PleiadesEntity/trunk/thesauri/certainty/AWMCNameCompleteness.xml (deleted)
- PleiadesEntity/trunk/version.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
PleiadesEntity/trunk/Extensions/Install.py
r676 r681 77 77 atvm = getToolByName(self, ATVOCABULARYTOOL) 78 78 vocabmap = {'AWMCAncientNameLanguages': ('VdexVocabulary', 'VdexTerm'), 79 'AWMCNameCompleteness': ('VdexVocabulary', 'VdexTerm'), 79 80 'AWMCPlaceTypes': ('VdexVocabulary', 'VdexTerm'), 80 81 } PleiadesEntity/trunk/content/Name.py
r676 r681 89 89 StringField( 90 90 name='completeness', 91 index="FieldIndex", 92 vocabulary=NamedVocabulary("""AWMCNameCompleteness"""), 91 93 default="complete", 92 index="FieldIndex",94 enforceVocabulary=1, 93 95 widget=SelectionWidget( 94 96 label="Completeness of Attestation", 95 97 label_msgid='PleiadesEntity_label_completeness', 96 98 i18n_domain='PleiadesEntity', 97 ), 98 enforceVocabulary=1, 99 vocabulary= ['complete', 'reconstructable', 'non-reconstructable'] 99 ) 100 100 ), 101 101 PleiadesEntity/trunk/tests/Vocabularies.txt
r676 r681 17 17 18 18 Test ancient name languages vocabulary 19 --------------------------- 19 -------------------------------------- 20 20 21 21 >>> v = vt.getVocabularyByName('AWMCAncientNameLanguages') … … 25 25 4 26 26 27 Test ancient name completeness vocabulary 28 ----------------------------------------- 29 30 >>> v = vt.getVocabularyByName('AWMCNameCompleteness') 31 >>> v.Title() 32 'Levels of Attestation Completeness for Historical Names Distinguished in AWMC Publications' 33 >>> len([obj for obj in v.contentValues() if obj.meta_type == "VdexTerm"]) 34 3 PleiadesEntity/trunk/version.txt
r676 r681 1 0.1 build 24 41 0.1 build 245
