source: waeup_product/trunk/skins/waeup_default/getWAeUPVocabularies.py @ 100

Last change on this file since 100 was 57, checked in by joachim, 19 years ago

=more

  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1##parameters=
2# $Id: getWAeUPVocabularies.py 57 2005-10-19 09:42:03Z joachim $
3"""Return custom vocabularies."""
4##'xxx_voc': {
5##        'type': 'CPS Vocabulary',
6##        'data': {'tuples': (
7##            ('', "", ''),
8##            )},
9##        },
10##vocabluaries['xxx'] = xxx_voc
11
12vocabularies = {}
13
14nigerian_states_voc = {
15        'type': 'CPS Vocabulary',
16        'data': {'tuples': (
17            ('abia', "Abia", ''),
18            ('adam', "Adamawa", ''),
19            ('akwa', "Akwa Ibom", ''),
20            ('anam', "Anambra", ''),
21            ('bauchi', "Bauchi", ''),
22            ('baye', "Bayelsa", ''),
23            ('benu', "Benue", ''),
24            ('born', "Borno", ''),
25            ('cro', "Cross River", ''),
26            ('delt', "Delta", ''),
27            ('ebon', "Ebonyi", ''),
28            ('edo', "edo", ''),
29            ('ekit', "Ekiti", ''),
30            ('enug', "Enugu", ''),
31            ('gomb', "Gombe", ''),
32            ('imo', "Imo", ''),
33            ('jiga', "Jigawa", ''),
34            ('kad', "Kaduna", ''),
35            ('kano', "Kano", ''),
36            ('kats', "Katsina", ''),
37            ('keb', "Kebbi", ''),
38            ('kogi', "Kogi", ''),
39            ('kwar', "Kwara", ''),
40            ('lag', "Lagos", ''),
41            ('nasa', "Nasawara", ''),
42            ('nige', "Niger", ''),
43            ('ogun', "Ogun", ''),
44            ('ondo', "Ondo", ''),
45            ('osun', "Osun", ''),
46            ('oyo', "oyo", ''),
47            ('plat', "Plateau", ''),
48            ('riv', "Rivers", ''),
49            ('sok', "Sokoto", ''),
50            ('tar', "Taraba", ''),
51            ('yobe', "Yobe", ''),
52            ('zam', "Zamfara", ''),
53            ('fct', "FCT", ''),
54            )},
55        }
56vocabularies['nigerian_states'] = nigerian_states_voc
57
58faculties_voc = {
59        'type': 'CPS Vocabulary',
60        'data': {'tuples': (
61            ('agri', "Agriculture", ''),
62            ('arts', "Arts", ''),
63            ('bmed', "Basic Med Sciences", ''),
64            ('edu', "Education", ''),
65            ('eng', "Engeneering", ''),
66            ('law', "Law", ''),
67            ('phar', "Pharmacy", ''),
68            ('sod', "School of Denistry", ''),
69            ('som', "School of Medicine", ''),
70            ('sci', "Science", ''),
71            ('soc', "Social Science", ''),
72            )},
73        }
74
75vocabularies['faculties'] = faculties_voc
76
77return vocabularies
Note: See TracBrowser for help on using the repository browser.