-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from gabrielx52/halal_updates
(#49) Added support for UK, KR, NG, and ID.
- Loading branch information
Showing
10 changed files
with
922 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
.*.sw? | ||
build | ||
docs/build | ||
ENV/ |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# encoding: utf8 | ||
from __future__ import unicode_literals | ||
|
||
from django.utils.translation import ugettext_lazy as _ | ||
|
||
|
||
SUBDIVISIONS = ('REGIONS',) | ||
|
||
GB_COUNTRIES = ( | ||
('ENG', 'England'), | ||
('SCT', 'Scotland'), | ||
('WLS', 'Wales'), | ||
) | ||
|
||
GB_PROVINCES = ( | ||
('NIR', 'Northern Ireland'), | ||
) | ||
|
||
REGIONS = tuple(sorted(GB_COUNTRIES + GB_PROVINCES, | ||
key=lambda obj: obj[1])) |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# encoding: utf8 | ||
from __future__ import unicode_literals | ||
|
||
from django.utils.translation import ugettext_lazy as _ | ||
|
||
|
||
SUBDIVISIONS = ('PROVINCES',) | ||
|
||
PROVINCES = ( | ||
('ACE', _('Aceh')), | ||
('BLI', _('Bali')), | ||
('BTN', _('Banten')), | ||
('BKL', _('Bengkulu')), | ||
('GOR', _('Gorontalo')), | ||
('JKT', _('Jakarta')), | ||
('JMB', _('Jambi')), | ||
('JBR', _('Jawa Barat')), | ||
('JTG', _('Jawa Tengah')), | ||
('JTM', _('Jawa Timur')), | ||
('KBR', _('Kalimantan Barat')), | ||
('KSL', _('Kalimantan Selatan')), | ||
('KTG', _('Kalimantan Tengah')), | ||
('KTM', _('Kalimantan Timur')), | ||
('BBL', _('Kepulauan Bangka-Belitung')), | ||
('KRI', _('Kepulauan Riau')), | ||
('LPG', _('Lampung')), | ||
('MLK', _('Maluku')), | ||
('MUT', _('Maluku Utara')), | ||
('NTB', _('Nusa Tenggara Barat')), | ||
('NTT', _('Nusa Tenggara Timur')), | ||
('PPA', _('Papua')), | ||
('PPB', _('Papua Barat')), | ||
('RIU', _('Riau')), | ||
('SLB', _('Sulawesi Barat')), | ||
('SLS', _('Sulawesi Selatan')), | ||
('SLT', _('Sulawesi Tengah')), | ||
('SLR', _('Sulawesi Tenggara')), | ||
('SLU', _('Sulawesi Utara')), | ||
('SMB', _('Sumatera Barat')), | ||
('SMS', _('Sumatera Selatan')), | ||
('SMU', _('Sumatera Utara')), | ||
('DIY', _('Yogyakarta')), | ||
) |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# encoding: utf8 | ||
from __future__ import unicode_literals | ||
|
||
from django.utils.translation import ugettext_lazy as _ | ||
|
||
|
||
SUBDIVISIONS = ('REGIONS',) | ||
|
||
REGIONS = ( | ||
('11', 'Seoul'), | ||
('26', 'Busan'), | ||
('27', 'Daugu'), | ||
('28', 'Incheon'), | ||
('29', 'Gwangju'), | ||
('30', 'Daejeon'), | ||
('31', 'Ulsan'), | ||
('41', 'Gyeonggi'), | ||
('42', 'Gangwon'), | ||
('43', 'North Chungcheong'), | ||
('44', 'South Chungcheong'), | ||
('45', 'North Jeolla'), | ||
('46', 'South Jeolla'), | ||
('47', 'North Gyeobgsang'), | ||
('48', 'South Gyeongsang'), | ||
('49', 'Jeju'), | ||
('50', 'Sejong'), | ||
) |
Empty file.
Oops, something went wrong.