1 | # -*- coding: utf-8 -*-
|
---|
2 | """
|
---|
3 | A list of all nine provinces in Austria, see also: http://en.wikipedia.org/wiki/ISO_3166-2:AT
|
---|
4 | In the comments there are their english names, if they are not the same as the german ones.
|
---|
5 | Vienna is moved to the top, because it's the capital of Austria
|
---|
6 | """
|
---|
7 |
|
---|
8 | from django.utils.translation import ugettext_lazy as _
|
---|
9 |
|
---|
10 | # after ISO_3166-2
|
---|
11 | PROVINCE_CHOICES = (
|
---|
12 | ('9', _(u'Vienna')),
|
---|
13 | ('1', _(u'Burgenland')),
|
---|
14 | ('2', _(u'Carinthia')),
|
---|
15 | ('3', _(u'Lower Austria')),
|
---|
16 | ('4', _(u'Upper Austria')),
|
---|
17 | ('5', _(u'Salzburg')),
|
---|
18 | ('6', _(u'Styria')),
|
---|
19 | ('7', _(u'Tyrol')),
|
---|
20 | ('8', _(u'Vorarlberg')),
|
---|
21 | )
|
---|
22 | PROVINCE_CHOICES_GERMAN = (
|
---|
23 | ('9', _(u'Wien')), # Vienna
|
---|
24 | ('1', _(u'Burgenland')),
|
---|
25 | ('2', _(u'Kärnten')), # Carinthia
|
---|
26 | ('3', _(u'Niederösterreich')), # Lower Austria
|
---|
27 | ('4', _(u'Oberösterreich')), # Upper Austria
|
---|
28 | ('5', _(u'Salzburg')),
|
---|
29 | ('6', _(u'Steiermark')), # Styria
|
---|
30 | ('7', _(u'Tirol')), # Tyrol
|
---|
31 | ('8', _(u'Vorarlberg')),
|
---|
32 | )
|
---|
33 |
|
---|
34 | # alternative keys using initials (not used in forms)
|
---|
35 | PROVINCE_CHOICES_GERMAN_INITIALS = (
|
---|
36 | ('W', _(u'Wien')), # Vienna
|
---|
37 | ('B', _(u'Burgenland')),
|
---|
38 | ('K', _(u'Kärnten')), # Carinthia
|
---|
39 | ('N', _(u'Niederösterreich')), # Lower Austria
|
---|
40 | ('O', _(u'Oberösterreich')), # Upper Austria
|
---|
41 | ('S', _(u'Salzburg')),
|
---|
42 | ('St', _(u'Steiermark')), # Styria
|
---|
43 | ('T', _(u'Tirol')), # Tyrol
|
---|
44 | ('V', _(u'Vorarlberg')),
|
---|
45 | )
|
---|
46 |
|
---|