Commits

Afonso Fernandez Nogueira  committed 84ea23c

project name change, again

  • Participants
  • Parent commits ba0c668

Comments (0)

Files changed (12)

-=================
-django_l10n_es_ga
-=================
+==============
+django-galicia
+==============
 
 Country-specific Django helpers for Galicia (Spain), as in django-localflavor.
 
-What's in django_l10n_es_ga?
-============================
+What is django-galicia?
+=========================
 
-For now, just a couple of widgets:
+For now, it's just a couple of form widgets:
 
-* ESGAMunicipalitySelect: A ``Select`` widget that uses a list of Galician
+* GaliciaMunicipalitySelect: A ``Select`` widget that uses a list of Galician
   municipalities as its choices.
 
-* ESGAComarcaSelect: ``A Select`` widget that uses a list of Galician comarcas
+* GaliciaProvinceSelect: ``A Select`` widget that uses a list of Galician
+  provinces as its choices.
+
+* GaliciaComarcaSelect: ``A Select`` widget that uses a list of Galician comarcas
   as its choices.
 

File django_galicia/__init__.py

Empty file added.

File django_galicia/comarcas.py

+# -*- coding: utf-8 -*-
+"""
+List of Galician comarcas (as of January 2013) to use as select choices.
+
+Sorted alphabetically, with initial articles at the end.
+
+Also included is a dictionary mapping each comarca code
+to the list of municipality codes it contains.
+"""
+
+from __future__ import unicode_literals
+from django.utils.translation import ugettext_lazy as _
+
+
+# The choice tuple value represents the geographical code for each comarca,
+# as per the comarca listing by Francisco Ruiz at
+# http://alarcos.esi.uclm.es/per/fruiz/pobesp/ter_com.htm
+
+COMARCA_CHOICES = (
+    ('1232', _('Allariz-Maceda')),
+    ('1219', _('Ancares, Os')),
+    ('1201', _('Arzúa')),
+    ('1233', _('Baixa Limia, A')),
+    ('1244', _('Baixo Miño, O')),
+    ('1202', _('Barbanza')),
+    ('1203', _('Barcala, A')),
+    ('1204', _('Bergantiños')),
+    ('1205', _('Betanzos')),
+    ('1245', _('Caldas')),
+    ('1235', _('Carballiño, O')),
+    ('1220', _('Chantada')),
+    ('1246', _('Condado, O')),
+    ('1206', _('Coruña, A')),
+    ('1247', _('Deza')),
+    ('1207', _('Eume')),
+    ('1208', _('Ferrol')),
+    ('1209', _('Fisterra')),
+    ('1221', _('Fonsagrada, A')),
+    ('1234', _('Limia, A')),
+    ('1222', _('Lugo')),
+    ('1223', _('Mariña Central, A')),
+    ('1224', _('Mariña Occidental, A')),
+    ('1225', _('Mariña Oriental, A')),
+    ('1226', _('Meira')),
+    ('1248', _('Morrazo, O')),
+    ('1210', _('Muros')),
+    ('1211', _('Noia')),
+    ('1212', _('Ordes')),
+    ('1213', _('Ortegal')),
+    ('1236', _('Ourense')),
+    ('1249', _('Paradanta, A')),
+    ('1250', _('Pontevedra')),
+    ('1227', _('Quiroga')),
+    ('1237', _('Ribeiro, O')),
+    ('1251', _('Salnés, O')),
+    ('1214', _('Santiago')),
+    ('1215', _('Sar, O')),
+    ('1228', _('Sarria')),
+    ('1252', _('Tabeirós-Terra de Montes')),
+    ('1229', _('Terra Chá')),
+    ('1238', _('Terra de Caldelas')),
+    ('1239', _('Terra de Celanova')),
+    ('1230', _('Terra de Lemos')),
+    ('1216', _('Terra de Melide')),
+    ('1217', _('Terra de Soneira')),
+    ('1240', _('Terra de Trives')),
+    ('1231', _('Ulloa, A')),
+    ('1241', _('Valdeorras')),
+    ('1242', _('Verín')),
+    ('1243', _('Viana')),
+    ('1253', _('Vigo')),
+    ('1218', _('Xallas')),
+)
+
+
+# Please note that each municipality code list below
+# is sorted according to their order in
+# es_ga_municipalities.MUNICIPALITY_CHOICES,
+# i.e., by the denomination with initial article at the
+# end, separated by a comma
+
+COMARCAS_WITH_MUNICIPALITIES = {
+    '1201': [
+        '15006',
+        '15010',
+        '15066',
+        '15085',
+    ],
+    '1202': [
+        '15011',
+        '15067',
+        '15072',
+        '15073',
+    ],
+    '1203': [
+        '15007',
+        '15056',
+    ],
+    '1204': [
+        '15014',
+        '15019',
+        '15029',
+        '15041',
+        '15040',
+        '15043',
+        '15068',
+    ],
+    '1205': [
+        '15003',
+        '15009',
+        '15026',
+        '15027',
+        '15032',
+        '15039',
+        '15048',
+        '15063',
+        '15064',
+        '15091',
+        '15090',
+    ],
+    '1206': [
+        '15001',
+        '15005',
+        '15008',
+        '15017',
+        '15021',
+        '15030',
+        '15031',
+        '15058',
+        '15075',
+    ],
+    '1207': [
+        '15015',
+        '15018',
+        '15050',
+        '15069',
+        '15070',
+    ],
+    '1208': [
+        '15004',
+        '15022',
+        '15035',
+        '15036',
+        '15049',
+        '15051',
+        '15054',
+        '15055',
+        '15076',
+        '15081',
+        '15087',
+    ],
+    '1209': [
+        '15023',
+        '15028',
+        '15034',
+        '15037',
+        '15052',
+    ],
+    '1210': [
+        '15020',
+        '15053',
+    ],
+    '1211': [
+        '15042',
+        '15057',
+        '15062',
+        '15071',
+    ],
+    '1212': [
+        '15024',
+        '15038',
+        '15047',
+        '15059',
+        '15060',
+        '15084',
+        '15086',
+    ],
+    '1213': [
+        '15901',
+        '15025',
+        '15044',
+        '15061',
+    ],
+    '1214': [
+        '15002',
+        '15012',
+        '15013',
+        '15078',
+        '15082',
+        '15088',
+        '15089',
+    ],
+    '1215': [
+        '15033',
+        '15065',
+        '15074',
+    ],
+    '1216': [
+        '15046',
+        '15079',
+        '15080',
+        '15083',
+    ],
+    '1217': [
+        '15016',
+        '15092',
+        '15093',
+    ],
+    '1218': [
+        '15045',
+        '15077',
+    ],
+    '1219': [
+        '27901',
+        '27006',
+        '27012',
+        '27034',
+        '27037',
+        '27045',
+    ],
+    '1220': [
+        '27009',
+        '27016',
+        '27060',
+    ],
+    '1221': [
+        '27004',
+        '27018',
+        '27035',
+    ],
+    '1222': [
+        '27011',
+        '27014',
+        '27020',
+        '27023',
+        '27028',
+        '27039',
+        '27049',
+        '27056',
+    ],
+    '1223': [
+        '27002',
+        '27902',
+        '27019',
+        '27027',
+        '27030',
+        '27063',
+    ],
+    '1224': [
+        '27013',
+        '27038',
+        '27064',
+        '27066',
+        '27025',
+    ],
+    '1225': [
+        '27005',
+        '27048',
+        '27051',
+        '27061',
+    ],
+    '1226': [
+        '27029',
+        '27046',
+        '27053',
+        '27054',
+    ],
+    '1227': [
+        '27017',
+        '27050',
+        '27052',
+    ],
+    '1228': [
+        '27024',
+        '27026',
+        '27042',
+        '27043',
+        '27055',
+        '27057',
+        '27062',
+    ],
+    '1229': [
+        '27001',
+        '27007',
+        '27010',
+        '27015',
+        '27022',
+        '27033',
+        '27044',
+        '27065',
+        '27021',
+    ],
+    '1230': [
+        '27008',
+        '27031',
+        '27041',
+        '27047',
+        '27058',
+        '27059',
+    ],
+    '1231': [
+        '27003',
+        '27032',
+        '27040',
+    ],
+    '1232': [
+        '32001',
+        '32007',
+        '32043',
+        '32055',
+        '32036',
+        '32037',
+    ],
+    '1233': [
+        '32006',
+        '32030',
+        '32041',
+        '32042',
+        '32051',
+    ],
+    '1234': [
+        '32005',
+        '32012',
+        '32016',
+        '32062',
+        '32067',
+        '32077',
+        '32078',
+        '32082',
+        '32089',
+        '32090',
+        '32032',
+    ],
+    '1235': [
+        '32011',
+        '32013',
+        '32019',
+        '32035',
+        '32045',
+        '32061',
+        '32065',
+        '32074',
+        '32076',
+    ],
+    '1236': [
+        '32002',
+        '32008',
+        '32026',
+        '32031',
+        '32052',
+        '32054',
+        '32058',
+        '32059',
+        '32075',
+        '32079',
+        '32081',
+        '32087',
+    ],
+    '1237': [
+        '32003',
+        '32004',
+        '32010',
+        '32018',
+        '32022',
+        '32025',
+        '32027',
+        '32040',
+        '32046',
+        '32069',
+    ],
+    '1238': [
+        '32023',
+        '32049',
+        '32057',
+        '32080',
+    ],
+    '1239': [
+        '32014',
+        '32020',
+        '32024',
+        '32033',
+        '32047',
+        '32056',
+        '32064',
+        '32066',
+        '32068',
+        '32084',
+    ],
+    '1240': [
+        '32029',
+        '32044',
+        '32063',
+        '32070',
+    ],
+    '1241': [
+        '32009',
+        '32015',
+        '32017',
+        '32038',
+        '32060',
+        '32073',
+        '32072',
+        '32083',
+        '32088',
+    ],
+    '1242': [
+        '32021',
+        '32028',
+        '32039',
+        '32050',
+        '32053',
+        '32071',
+        '32085',
+        '32091',
+    ],
+    '1243': [
+        '32034',
+        '32048',
+        '32086',
+        '32092',
+    ],
+    '1244': [
+        '36023',
+        '36036',
+        '36048',
+        '36054',
+        '36055',
+    ],
+    '1245': [
+        '36005',
+        '36010',
+        '36015',
+        '36032',
+        '36044',
+        '36040',
+        '36056',
+    ],
+    '1246': [
+        '36030',
+        '36031',
+        '36034',
+        '36042',
+        '36050',
+    ],
+    '1247': [
+        '36020',
+        '36016',
+        '36024',
+        '36047',
+        '36052',
+        '36059',
+    ],
+    '1248': [
+        '36004',
+        '36008',
+        '36026',
+        '36029',
+    ],
+    '1249': [
+        '36001',
+        '36009',
+        '36013',
+        '36014',
+    ],
+    '1250': [
+        '36002',
+        '36007',
+        '36012',
+        '36025',
+        '36041',
+        '36043',
+        '36038',
+        '36058',
+    ],
+    '1251': [
+        '36006',
+        '36022',
+        '36901',
+        '36027',
+        '36028',
+        '36046',
+        '36051',
+        '36060',
+        '36061',
+    ],
+    '1252': [
+        '36011',
+        '36017',
+        '36018',
+    ],
+    '1253': [
+        '36003',
+        '36019',
+        '36021',
+        '36033',
+        '36035',
+        '36037',
+        '36039',
+        '36045',
+        '36049',
+        '36053',
+        '36057',
+    ],
+}

File django_galicia/forms.py

+# -*- coding: utf-8 -*-
+"""
+Galicia-specific Form helpers
+"""
+
+from __future__ import absolute_import, unicode_literals
+from django.forms.fields import Select
+from .municipalities import MUNICIPALITY_CHOICES
+from .comarcas import COMARCA_CHOICES
+from .provinces import PROVINCE_CHOICES
+
+
+class GaliciaMunicipalitySelect(Select):
+    """
+    A Select widget that uses a list of Galician municipalities as its choices.
+    """
+    def __init__(self, attrs=None):
+        super(GaliciaMunicipalitySelect, self).__init__(attrs, choices=MUNICIPALITY_CHOICES)
+
+
+class GaliciaComarcaSelect(Select):
+    """
+    A Select widget that uses a list of Galician comarcas as its choices.
+    """
+    def __init__(self, attrs=None):
+        super(GaliciaComarcaSelect, self).__init__(attrs, choices=COMARCA_CHOICES)
+
+
+class GaliciaProvinceSelect(Select):
+    """
+    A Select widget that uses a list of Galician provinces as its choices.
+    """
+    def __init__(self, attrs=None):
+        super(GaliciaProvinceSelect, self).__init__(attrs, choices=PROVINCE_CHOICES)

File django_galicia/municipalities.py

+# -*- coding: utf-8 -*-
+"""
+List of Galicia (Spain) municipalities as of January 2013
+for use as select choices.
+
+Sorted alphabetically, with articles last.
+
+The choice value is the National Statistics Institute (INE) code
+for each municipality.
+"""
+
+from __future__ import unicode_literals
+from django.utils.translation import ugettext_lazy as _
+
+
+MUNICIPALITY_CHOICES = (
+    ('27001', _('Abadín')),
+    ('15001', _('Abegondo')),
+    ('36020', _('Agolada')),
+    ('27002', _('Alfoz')),
+    ('32001', _('Allariz')),
+    ('15002', _('Ames')),
+    ('32002', _('Amoeiro')),
+    ('27003', _('Antas de Ulla')),
+    ('15003', _('Aranga')),
+    ('36001', _('Arbo')),
+    ('15004', _('Ares')),
+    ('32003', _('Arnoia, A')),
+    ('15005', _('Arteixo')),
+    ('15006', _('Arzúa')),
+    ('32004', _('Avión')),
+    ('36003', _('Baiona')),
+    ('27004', _('Baleira')),
+    ('32005', _('Baltar')),
+    ('32006', _('Bande')),
+    ('27901', _('Baralla')),
+    ('32008', _('Barbadás')),
+    ('32009', _('Barco de Valdeorras, O')),
+    ('27005', _('Barreiros')),
+    ('36002', _('Barro')),
+    ('15007', _('Baña, A')),
+    ('32007', _('Baños de Molgas')),
+    ('32010', _('Beade')),
+    ('32011', _('Beariz')),
+    ('27006', _('Becerreá')),
+    ('27007', _('Begonte')),
+    ('15008', _('Bergondo')),
+    ('15009', _('Betanzos')),
+    ('32012', _('Blancos, Os')),
+    ('32013', _('Boborás')),
+    ('15010', _('Boimorto')),
+    ('15011', _('Boiro')),
+    ('32014', _('Bola, A')),
+    ('32015', _('Bolo, O')),
+    ('15012', _('Boqueixón')),
+    ('15013', _('Brión')),
+    ('36004', _('Bueu')),
+    ('27902', _('Burela')),
+    ('27008', _('Bóveda')),
+    ('15014', _('Cabana de Bergantiños')),
+    ('15015', _('Cabanas')),
+    ('36005', _('Caldas de Reis')),
+    ('32016', _('Calvos de Randín')),
+    ('15016', _('Camariñas')),
+    ('36006', _('Cambados')),
+    ('15017', _('Cambre')),
+    ('36007', _('Campo Lameiro')),
+    ('36008', _('Cangas')),
+    ('15018', _('Capela, A')),
+    ('32018', _('Carballeda de Avia')),
+    ('32017', _('Carballeda de Valdeorras')),
+    ('27009', _('Carballedo')),
+    ('32019', _('Carballiño, O')),
+    ('15019', _('Carballo')),
+    ('15901', _('Cariño')),
+    ('15020', _('Carnota')),
+    ('15021', _('Carral')),
+    ('32020', _('Cartelle')),
+    ('32022', _('Castrelo de Miño')),
+    ('32021', _('Castrelo do Val')),
+    ('32023', _('Castro Caldelas')),
+    ('27010', _('Castro de Rei')),
+    ('27011', _('Castroverde')),
+    ('36010', _('Catoira')),
+    ('36009', _('Cañiza, A')),
+    ('15022', _('Cedeira')),
+    ('15023', _('Cee')),
+    ('32024', _('Celanova')),
+    ('32025', _('Cenlle')),
+    ('15024', _('Cerceda')),
+    ('36011', _('Cerdedo')),
+    ('15025', _('Cerdido')),
+    ('27012', _('Cervantes')),
+    ('27013', _('Cervo')),
+    ('15026', _('Cesuras')),
+    ('32029', _('Chandrexa de Queixa')),
+    ('27016', _('Chantada')),
+    ('15027', _('Coirós')),
+    ('32026', _('Coles')),
+    ('15028', _('Corcubión')),
+    ('27014', _('Corgo, O')),
+    ('15029', _('Coristanco')),
+    ('32027', _('Cortegada')),
+    ('15030', _('Coruña, A')),
+    ('27015', _('Cospeito')),
+    ('36012', _('Cotobade')),
+    ('36013', _('Covelo')),
+    ('36014', _('Crecente')),
+    ('32028', _('Cualedro')),
+    ('15031', _('Culleredo')),
+    ('36015', _('Cuntis')),
+    ('15032', _('Curtis')),
+    ('15033', _('Dodro')),
+    ('36016', _('Dozón')),
+    ('15034', _('Dumbría')),
+    ('32030', _('Entrimo')),
+    ('32031', _('Esgos')),
+    ('36017', _('Estrada, A')),
+    ('15035', _('Fene')),
+    ('15036', _('Ferrol')),
+    ('15037', _('Fisterra')),
+    ('27017', _('Folgoso do Courel')),
+    ('27018', _('Fonsagrada, A')),
+    ('36018', _('Forcarei')),
+    ('36019', _('Fornelos de Montes')),
+    ('27019', _('Foz')),
+    ('15038', _('Frades')),
+    ('27020', _('Friol')),
+    ('32033', _('Gomesende')),
+    ('36021', _('Gondomar')),
+    ('36022', _('Grove, O')),
+    ('36023', _('Guarda, A')),
+    ('32034', _('Gudiña, A')),
+    ('27022', _('Guitiriz')),
+    ('27023', _('Guntín')),
+    ('36901', _('Illa de Arousa, A')),
+    ('27024', _('Incio, O')),
+    ('32035', _('Irixo, O')),
+    ('15039', _('Irixoa')),
+    ('36024', _('Lalín')),
+    ('36025', _('Lama, A')),
+    ('15041', _('Laracha, A')),
+    ('32038', _('Larouco')),
+    ('15040', _('Laxe')),
+    ('32039', _('Laza')),
+    ('32040', _('Leiro')),
+    ('32041', _('Lobeira')),
+    ('32042', _('Lobios')),
+    ('27027', _('Lourenzá')),
+    ('15042', _('Lousame')),
+    ('27028', _('Lugo')),
+    ('27026', _('Láncara')),
+    ('32043', _('Maceda')),
+    ('15043', _('Malpica de Bergantiños')),
+    ('32044', _('Manzaneda')),
+    ('36026', _('Marín')),
+    ('32045', _('Maside')),
+    ('15045', _('Mazaricos')),
+    ('15044', _('Mañón')),
+    ('36027', _('Meaño')),
+    ('27029', _('Meira')),
+    ('36028', _('Meis')),
+    ('15046', _('Melide')),
+    ('32046', _('Melón')),
+    ('32047', _('Merca, A')),
+    ('15047', _('Mesía')),
+    ('32048', _('Mezquita, A')),
+    ('15048', _('Miño')),
+    ('36029', _('Moaña')),
+    ('15049', _('Moeche')),
+    ('36030', _('Mondariz')),
+    ('36031', _('Mondariz-Balneario')),
+    ('27030', _('Mondoñedo')),
+    ('15050', _('Monfero')),
+    ('27031', _('Monforte de Lemos')),
+    ('32049', _('Montederramo')),
+    ('32050', _('Monterrei')),
+    ('27032', _('Monterroso')),
+    ('36032', _('Moraña')),
+    ('36033', _('Mos')),
+    ('15051', _('Mugardos')),
+    ('27033', _('Muras')),
+    ('15053', _('Muros')),
+    ('15052', _('Muxía')),
+    ('32051', _('Muíños')),
+    ('15054', _('Narón')),
+    ('27034', _('Navia de Suarna')),
+    ('15055', _('Neda')),
+    ('15056', _('Negreira')),
+    ('27035', _('Negueira de Muñiz')),
+    ('36034', _('Neves, As')),
+    ('36035', _('Nigrán')),
+    ('27037', _('Nogais, As')),
+    ('32052', _('Nogueira de Ramuín')),
+    ('15057', _('Noia')),
+    ('36036', _('Oia')),
+    ('15058', _('Oleiros')),
+    ('15059', _('Ordes')),
+    ('15060', _('Oroso')),
+    ('15061', _('Ortigueira')),
+    ('32054', _('Ourense')),
+    ('27038', _('Ourol')),
+    ('27039', _('Outeiro de Rei')),
+    ('15062', _('Outes')),
+    ('15063', _('Oza dos Ríos')),
+    ('32053', _('Oímbra')),
+    ('15064', _('Paderne')),
+    ('32055', _('Paderne de Allariz')),
+    ('32056', _('Padrenda')),
+    ('15065', _('Padrón')),
+    ('27040', _('Palas de Rei')),
+    ('27041', _('Pantón')),
+    ('32057', _('Parada de Sil')),
+    ('27042', _('Paradela')),
+    ('27044', _('Pastoriza, A')),
+    ('36037', _('Pazos de Borbén')),
+    ('27045', _('Pedrafita do Cebreiro')),
+    ('32058', _('Pereiro de Aguiar, O')),
+    ('32059', _('Peroxa, A')),
+    ('32060', _('Petín')),
+    ('15066', _('Pino, O')),
+    ('32061', _('Piñor')),
+    ('32063', _('Pobra de Trives, A')),
+    ('27047', _('Pobra do Brollón, A')),
+    ('15067', _('Pobra do Caramiñal, A')),
+    ('36041', _('Poio')),
+    ('27046', _('Pol')),
+    ('36043', _('Ponte Caldelas')),
+    ('36042', _('Ponteareas')),
+    ('15068', _('Ponteceso')),
+    ('36044', _('Pontecesures')),
+    ('15069', _('Pontedeume')),
+    ('32064', _('Pontedeva')),
+    ('27048', _('Pontenova, A')),
+    ('15070', _('Pontes de García Rodríguez, As')),
+    ('36038', _('Pontevedra')),
+    ('32062', _('Porqueira')),
+    ('36039', _('Porriño, O')),
+    ('36040', _('Portas')),
+    ('15071', _('Porto do Son')),
+    ('27049', _('Portomarín')),
+    ('32065', _('Punxín')),
+    ('27043', _('Páramo, O')),
+    ('32066', _('Quintela de Leirado')),
+    ('27050', _('Quiroga')),
+    ('32067', _('Rairiz de Veiga')),
+    ('32068', _('Ramirás')),
+    ('36045', _('Redondela')),
+    ('15072', _('Rianxo')),
+    ('32069', _('Ribadavia')),
+    ('27051', _('Ribadeo')),
+    ('36046', _('Ribadumia')),
+    ('27052', _('Ribas de Sil')),
+    ('15073', _('Ribeira')),
+    ('27053', _('Ribeira de Piquín')),
+    ('27054', _('Riotorto')),
+    ('32071', _('Riós')),
+    ('36047', _('Rodeiro')),
+    ('15074', _('Rois')),
+    ('36048', _('Rosal, O')),
+    ('32073', _('Rubiá')),
+    ('27056', _('Rábade')),
+    ('32072', _('Rúa, A')),
+    ('15075', _('Sada')),
+    ('36049', _('Salceda de Caselas')),
+    ('36050', _('Salvaterra de Miño')),
+    ('27055', _('Samos')),
+    ('32074', _('San Amaro')),
+    ('32075', _('San Cibrao das Viñas')),
+    ('32076', _('San Cristovo de Cea')),
+    ('15076', _('San Sadurniño')),
+    ('32070', _('San Xoán de Río')),
+    ('32077', _('Sandiás')),
+    ('15077', _('Santa Comba')),
+    ('15078', _('Santiago de Compostela')),
+    ('15079', _('Santiso')),
+    ('36051', _('Sanxenxo')),
+    ('32078', _('Sarreaus')),
+    ('27057', _('Sarria')),
+    ('27058', _('Saviñao, O')),
+    ('36052', _('Silleda')),
+    ('27059', _('Sober')),
+    ('15080', _('Sobrado')),
+    ('15081', _('Somozas, As')),
+    ('36053', _('Soutomaior')),
+    ('27060', _('Taboada')),
+    ('32079', _('Taboadela')),
+    ('32080', _('Teixeira, A')),
+    ('15082', _('Teo')),
+    ('36054', _('Tomiño')),
+    ('15083', _('Toques')),
+    ('15084', _('Tordoia')),
+    ('15085', _('Touro')),
+    ('32081', _('Toén')),
+    ('27061', _('Trabada')),
+    ('32082', _('Trasmiras')),
+    ('15086', _('Trazo')),
+    ('27062', _('Triacastela')),
+    ('36055', _('Tui')),
+    ('15088', _('Val do Dubra')),
+    ('27063', _('Valadouro, O')),
+    ('15087', _('Valdoviño')),
+    ('36056', _('Valga')),
+    ('15089', _('Vedra')),
+    ('32083', _('Veiga, A')),
+    ('32084', _('Verea')),
+    ('32085', _('Verín')),
+    ('32086', _('Viana do Bolo')),
+    ('27064', _('Vicedo, O')),
+    ('36057', _('Vigo')),
+    ('36059', _('Vila de Cruces')),
+    ('36058', _('Vilaboa')),
+    ('36060', _('Vilagarcía de Arousa')),
+    ('27065', _('Vilalba')),
+    ('32088', _('Vilamartín de Valdeorras')),
+    ('32087', _('Vilamarín')),
+    ('36061', _('Vilanova de Arousa')),
+    ('32089', _('Vilar de Barrio')),
+    ('32090', _('Vilar de Santos')),
+    ('32091', _('Vilardevós')),
+    ('32092', _('Vilariño de Conso')),
+    ('15091', _('Vilarmaior')),
+    ('15090', _('Vilasantar')),
+    ('15092', _('Vimianzo')),
+    ('27066', _('Viveiro')),
+    ('27021', _('Xermade')),
+    ('32032', _('Xinzo de Limia')),
+    ('27025', _('Xove')),
+    ('32036', _('Xunqueira de Ambía')),
+    ('32037', _('Xunqueira de Espadanedo')),
+    ('15093', _('Zas')),
+)

File django_galicia/provinces.py

+# -*- coding: utf-8 -*-
+"""
+List of Galician provinces for use as select choices.
+
+Also included is a dictionary mapping province codes to
+the codes of its municipalities.
+"""
+
+from __future__ import unicode_literals
+from django.utils.translation import ugettext_lazy as _
+
+
+PROVINCE_CHOICES = (
+    ('15', _('A Coruña')),
+    ('27', _('Lugo')),
+    ('32', _('Ourense')),
+    ('36', _('Pontevedra')),
+)
+
+
+# Please note that each municipality code list below
+# is sorted according to their order in
+# es_ga_municipalities.MUNICIPALITY_CHOICES,
+# i.e., by the denomination with initial article at the
+# end, separated by a comma
+
+PROVINCES_WITH_MUNICIPALITIES = {
+    '15': [
+        '15001',
+        '15002',
+        '15003',
+        '15004',
+        '15005',
+        '15006',
+        '15007',
+        '15008',
+        '15009',
+        '15010',
+        '15011',
+        '15012',
+        '15013',
+        '15014',
+        '15015',
+        '15016',
+        '15017',
+        '15018',
+        '15019',
+        '15901',
+        '15020',
+        '15021',
+        '15022',
+        '15023',
+        '15024',
+        '15025',
+        '15026',
+        '15027',
+        '15028',
+        '15029',
+        '15030',
+        '15031',
+        '15032',
+        '15033',
+        '15034',
+        '15035',
+        '15036',
+        '15037',
+        '15038',
+        '15039',
+        '15041',
+        '15040',
+        '15042',
+        '15043',
+        '15045',
+        '15044',
+        '15046',
+        '15047',
+        '15048',
+        '15049',
+        '15050',
+        '15051',
+        '15053',
+        '15052',
+        '15054',
+        '15055',
+        '15056',
+        '15057',
+        '15058',
+        '15059',
+        '15060',
+        '15061',
+        '15062',
+        '15063',
+        '15064',
+        '15065',
+        '15066',
+        '15067',
+        '15068',
+        '15069',
+        '15070',
+        '15071',
+        '15072',
+        '15073',
+        '15074',
+        '15075',
+        '15076',
+        '15077',
+        '15078',
+        '15079',
+        '15080',
+        '15081',
+        '15082',
+        '15083',
+        '15084',
+        '15085',
+        '15086',
+        '15088',
+        '15087',
+        '15089',
+        '15091',
+        '15090',
+        '15092',
+        '15093',
+    ],
+    '27': [
+        '27001',
+        '27002',
+        '27003',
+        '27004',
+        '27901',
+        '27005',
+        '27006',
+        '27007',
+        '27902',
+        '27008',
+        '27009',
+        '27010',
+        '27011',
+        '27012',
+        '27013',
+        '27016',
+        '27014',
+        '27015',
+        '27017',
+        '27018',
+        '27019',
+        '27020',
+        '27022',
+        '27023',
+        '27024',
+        '27027',
+        '27028',
+        '27026',
+        '27029',
+        '27030',
+        '27031',
+        '27032',
+        '27033',
+        '27034',
+        '27035',
+        '27037',
+        '27038',
+        '27039',
+        '27040',
+        '27041',
+        '27042',
+        '27044',
+        '27045',
+        '27047',
+        '27046',
+        '27048',
+        '27049',
+        '27043',
+        '27050',
+        '27051',
+        '27052',
+        '27053',
+        '27054',
+        '27056',
+        '27055',
+        '27057',
+        '27058',
+        '27059',
+        '27060',
+        '27061',
+        '27062',
+        '27063',
+        '27064',
+        '27065',
+        '27066',
+        '27021',
+        '27025',
+    ],
+    '32': [
+        '32001',
+        '32002',
+        '32003',
+        '32004',
+        '32005',
+        '32006',
+        '32008',
+        '32009',
+        '32007',
+        '32010',
+        '32011',
+        '32012',
+        '32013',
+        '32014',
+        '32015',
+        '32016',
+        '32018',
+        '32017',
+        '32019',
+        '32020',
+        '32022',
+        '32021',
+        '32023',
+        '32024',
+        '32025',
+        '32029',
+        '32026',
+        '32027',
+        '32028',
+        '32030',
+        '32031',
+        '32033',
+        '32034',
+        '32035',
+        '32038',
+        '32039',
+        '32040',
+        '32041',
+        '32042',
+        '32043',
+        '32044',
+        '32045',
+        '32046',
+        '32047',
+        '32048',
+        '32049',
+        '32050',
+        '32051',
+        '32052',
+        '32054',
+        '32053',
+        '32055',
+        '32056',
+        '32057',
+        '32058',
+        '32059',
+        '32060',
+        '32061',
+        '32063',
+        '32064',
+        '32062',
+        '32065',
+        '32066',
+        '32067',
+        '32068',
+        '32069',
+        '32071',
+        '32073',
+        '32072',
+        '32074',
+        '32075',
+        '32076',
+        '32070',
+        '32077',
+        '32078',
+        '32079',
+        '32080',
+        '32081',
+        '32082',
+        '32083',
+        '32084',
+        '32085',
+        '32086',
+        '32088',
+        '32087',
+        '32089',
+        '32090',
+        '32091',
+        '32092',
+        '32032',
+        '32036',
+        '32037',
+    ],
+    '36': [
+        '36020',
+        '36001',
+        '36003',
+        '36002',
+        '36004',
+        '36005',
+        '36006',
+        '36007',
+        '36008',
+        '36010',
+        '36009',
+        '36011',
+        '36012',
+        '36013',
+        '36014',
+        '36015',
+        '36016',
+        '36017',
+        '36018',
+        '36019',
+        '36021',
+        '36022',
+        '36023',
+        '36901',
+        '36024',
+        '36025',
+        '36026',
+        '36027',
+        '36028',
+        '36029',
+        '36030',
+        '36031',
+        '36032',
+        '36033',
+        '36034',
+        '36035',
+        '36036',
+        '36037',
+        '36041',
+        '36043',
+        '36042',
+        '36044',
+        '36038',
+        '36039',
+        '36040',
+        '36045',
+        '36046',
+        '36047',
+        '36048',
+        '36049',
+        '36050',
+        '36051',
+        '36052',
+        '36053',
+        '36054',
+        '36055',
+        '36056',
+        '36057',
+        '36059',
+        '36058',
+        '36060',
+        '36061',
+    ],
+}

File django_l10n_es_ga/__init__.py

Empty file removed.

File django_l10n_es_ga/es_ga_comarcas.py

-# -*- coding: utf-8 -*-
-"""
-List of Galician comarcas (as of January 2013) to use as select choices.
-
-Sorted alphabetically, with initial articles at the end.
-
-Also included is a dictionary mapping each comarca code
-to the list of municipality codes it contains.
-"""
-
-from __future__ import unicode_literals
-from django.utils.translation import ugettext_lazy as _
-
-
-# The choice tuple value represents the geographical code for each comarca,
-# as per the comarca listing by Francisco Ruiz at
-# http://alarcos.esi.uclm.es/per/fruiz/pobesp/ter_com.htm
-
-COMARCA_CHOICES = (
-    ('1232', _('Allariz-Maceda')),
-    ('1219', _('Ancares, Os')),
-    ('1201', _('Arzúa')),
-    ('1233', _('Baixa Limia, A')),
-    ('1244', _('Baixo Miño, O')),
-    ('1202', _('Barbanza')),
-    ('1203', _('Barcala, A')),
-    ('1204', _('Bergantiños')),
-    ('1205', _('Betanzos')),
-    ('1245', _('Caldas')),
-    ('1235', _('Carballiño, O')),
-    ('1220', _('Chantada')),
-    ('1246', _('Condado, O')),
-    ('1206', _('Coruña, A')),
-    ('1247', _('Deza')),
-    ('1207', _('Eume')),
-    ('1208', _('Ferrol')),
-    ('1209', _('Fisterra')),
-    ('1221', _('Fonsagrada, A')),
-    ('1234', _('Limia, A')),
-    ('1222', _('Lugo')),
-    ('1223', _('Mariña Central, A')),
-    ('1224', _('Mariña Occidental, A')),
-    ('1225', _('Mariña Oriental, A')),
-    ('1226', _('Meira')),
-    ('1248', _('Morrazo, O')),
-    ('1210', _('Muros')),
-    ('1211', _('Noia')),
-    ('1212', _('Ordes')),
-    ('1213', _('Ortegal')),
-    ('1236', _('Ourense')),
-    ('1249', _('Paradanta, A')),
-    ('1250', _('Pontevedra')),
-    ('1227', _('Quiroga')),
-    ('1237', _('Ribeiro, O')),
-    ('1251', _('Salnés, O')),
-    ('1214', _('Santiago')),
-    ('1215', _('Sar, O')),
-    ('1228', _('Sarria')),
-    ('1252', _('Tabeirós-Terra de Montes')),
-    ('1229', _('Terra Chá')),
-    ('1238', _('Terra de Caldelas')),
-    ('1239', _('Terra de Celanova')),
-    ('1230', _('Terra de Lemos')),
-    ('1216', _('Terra de Melide')),
-    ('1217', _('Terra de Soneira')),
-    ('1240', _('Terra de Trives')),
-    ('1231', _('Ulloa, A')),
-    ('1241', _('Valdeorras')),
-    ('1242', _('Verín')),
-    ('1243', _('Viana')),
-    ('1253', _('Vigo')),
-    ('1218', _('Xallas')),
-)
-
-
-# Please note that each municipality code list below
-# is sorted according to their order in
-# es_ga_municipalities.MUNICIPALITY_CHOICES,
-# i.e., by the denomination with initial article at the
-# end, separated by a comma
-
-COMARCAS_WITH_MUNICIPALITIES = {
-    '1201': [
-        '15006',
-        '15010',
-        '15066',
-        '15085',
-    ],
-    '1202': [
-        '15011',
-        '15067',
-        '15072',
-        '15073',
-    ],
-    '1203': [
-        '15007',
-        '15056',
-    ],
-    '1204': [
-        '15014',
-        '15019',
-        '15029',
-        '15041',
-        '15040',
-        '15043',
-        '15068',
-    ],
-    '1205': [
-        '15003',
-        '15009',
-        '15026',
-        '15027',
-        '15032',
-        '15039',
-        '15048',
-        '15063',
-        '15064',
-        '15091',
-        '15090',
-    ],
-    '1206': [
-        '15001',
-        '15005',
-        '15008',
-        '15017',
-        '15021',
-        '15030',
-        '15031',
-        '15058',
-        '15075',
-    ],
-    '1207': [
-        '15015',
-        '15018',
-        '15050',
-        '15069',
-        '15070',
-    ],
-    '1208': [
-        '15004',
-        '15022',
-        '15035',
-        '15036',
-        '15049',
-        '15051',
-        '15054',
-        '15055',
-        '15076',
-        '15081',
-        '15087',
-    ],
-    '1209': [
-        '15023',
-        '15028',
-        '15034',
-        '15037',
-        '15052',
-    ],
-    '1210': [
-        '15020',
-        '15053',
-    ],
-    '1211': [
-        '15042',
-        '15057',
-        '15062',
-        '15071',
-    ],
-    '1212': [
-        '15024',
-        '15038',
-        '15047',
-        '15059',
-        '15060',
-        '15084',
-        '15086',
-    ],
-    '1213': [
-        '15901',
-        '15025',
-        '15044',
-        '15061',
-    ],
-    '1214': [
-        '15002',
-        '15012',
-        '15013',
-        '15078',
-        '15082',
-        '15088',
-        '15089',
-    ],
-    '1215': [
-        '15033',
-        '15065',
-        '15074',
-    ],
-    '1216': [
-        '15046',
-        '15079',
-        '15080',
-        '15083',
-    ],
-    '1217': [
-        '15016',
-        '15092',
-        '15093',
-    ],
-    '1218': [
-        '15045',
-        '15077',
-    ],
-    '1219': [
-        '27901',
-        '27006',
-        '27012',
-        '27034',
-        '27037',
-        '27045',
-    ],
-    '1220': [
-        '27009',
-        '27016',
-        '27060',
-    ],
-    '1221': [
-        '27004',
-        '27018',
-        '27035',
-    ],
-    '1222': [
-        '27011',
-        '27014',
-        '27020',
-        '27023',
-        '27028',
-        '27039',
-        '27049',
-        '27056',
-    ],
-    '1223': [
-        '27002',
-        '27902',
-        '27019',
-        '27027',
-        '27030',
-        '27063',
-    ],
-    '1224': [
-        '27013',
-        '27038',
-        '27064',
-        '27066',
-        '27025',
-    ],
-    '1225': [
-        '27005',
-        '27048',
-        '27051',
-        '27061',
-    ],
-    '1226': [
-        '27029',
-        '27046',
-        '27053',
-        '27054',
-    ],
-    '1227': [
-        '27017',
-        '27050',
-        '27052',
-    ],
-    '1228': [
-        '27024',
-        '27026',
-        '27042',
-        '27043',
-        '27055',
-        '27057',
-        '27062',
-    ],
-    '1229': [
-        '27001',
-        '27007',
-        '27010',
-        '27015',
-        '27022',
-        '27033',
-        '27044',
-        '27065',
-        '27021',
-    ],
-    '1230': [
-        '27008',
-        '27031',
-        '27041',
-        '27047',
-        '27058',
-        '27059',
-    ],
-    '1231': [
-        '27003',
-        '27032',
-        '27040',
-    ],
-    '1232': [
-        '32001',
-        '32007',
-        '32043',
-        '32055',
-        '32036',
-        '32037',
-    ],
-    '1233': [
-        '32006',
-        '32030',
-        '32041',
-        '32042',
-        '32051',
-    ],
-    '1234': [
-        '32005',
-        '32012',
-        '32016',
-        '32062',
-        '32067',
-        '32077',
-        '32078',
-        '32082',
-        '32089',
-        '32090',
-        '32032',
-    ],
-    '1235': [
-        '32011',
-        '32013',
-        '32019',
-        '32035',
-        '32045',
-        '32061',
-        '32065',
-        '32074',
-        '32076',
-    ],
-    '1236': [
-        '32002',
-        '32008',
-        '32026',
-        '32031',
-        '32052',
-        '32054',
-        '32058',
-        '32059',
-        '32075',
-        '32079',
-        '32081',
-        '32087',
-    ],
-    '1237': [
-        '32003',
-        '32004',
-        '32010',
-        '32018',
-        '32022',
-        '32025',
-        '32027',
-        '32040',
-        '32046',
-        '32069',
-    ],
-    '1238': [
-        '32023',
-        '32049',
-        '32057',
-        '32080',
-    ],
-    '1239': [
-        '32014',
-        '32020',
-        '32024',
-        '32033',
-        '32047',
-        '32056',
-        '32064',
-        '32066',
-        '32068',
-        '32084',
-    ],
-    '1240': [
-        '32029',
-        '32044',
-        '32063',
-        '32070',
-    ],
-    '1241': [
-        '32009',
-        '32015',
-        '32017',
-        '32038',
-        '32060',
-        '32073',
-        '32072',
-        '32083',
-        '32088',
-    ],
-    '1242': [
-        '32021',
-        '32028',
-        '32039',
-        '32050',
-        '32053',
-        '32071',
-        '32085',
-        '32091',
-    ],
-    '1243': [
-        '32034',
-        '32048',
-        '32086',
-        '32092',
-    ],
-    '1244': [
-        '36023',
-        '36036',
-        '36048',
-        '36054',
-        '36055',
-    ],
-    '1245': [
-        '36005',
-        '36010',
-        '36015',
-        '36032',
-        '36044',
-        '36040',
-        '36056',
-    ],
-    '1246': [
-        '36030',
-        '36031',
-        '36034',
-        '36042',
-        '36050',
-    ],
-    '1247': [
-        '36020',
-        '36016',
-        '36024',
-        '36047',
-        '36052',
-        '36059',
-    ],
-    '1248': [
-        '36004',
-        '36008',
-        '36026',
-        '36029',
-    ],
-    '1249': [
-        '36001',
-        '36009',
-        '36013',
-        '36014',
-    ],
-    '1250': [
-        '36002',
-        '36007',
-        '36012',
-        '36025',
-        '36041',
-        '36043',
-        '36038',
-        '36058',
-    ],
-    '1251': [
-        '36006',
-        '36022',
-        '36901',
-        '36027',
-        '36028',
-        '36046',
-        '36051',
-        '36060',
-        '36061',
-    ],
-    '1252': [
-        '36011',
-        '36017',
-        '36018',
-    ],
-    '1253': [
-        '36003',
-        '36019',
-        '36021',
-        '36033',
-        '36035',
-        '36037',
-        '36039',
-        '36045',
-        '36049',
-        '36053',
-        '36057',
-    ],
-}

File django_l10n_es_ga/es_ga_municipalities.py

-# -*- coding: utf-8 -*-
-"""
-List of Galicia (Spain) municipalities as of January 2013
-for use as select choices.
-
-Sorted alphabetically, with articles last.
-
-The choice value is the National Statistics Institute (INE) code
-for each municipality.
-"""
-
-from __future__ import unicode_literals
-from django.utils.translation import ugettext_lazy as _
-
-
-MUNICIPALITY_CHOICES = (
-    ('27001', _('Abadín')),
-    ('15001', _('Abegondo')),
-    ('36020', _('Agolada')),
-    ('27002', _('Alfoz')),
-    ('32001', _('Allariz')),
-    ('15002', _('Ames')),
-    ('32002', _('Amoeiro')),
-    ('27003', _('Antas de Ulla')),
-    ('15003', _('Aranga')),
-    ('36001', _('Arbo')),
-    ('15004', _('Ares')),
-    ('32003', _('Arnoia, A')),
-    ('15005', _('Arteixo')),
-    ('15006', _('Arzúa')),
-    ('32004', _('Avión')),
-    ('36003', _('Baiona')),
-    ('27004', _('Baleira')),
-    ('32005', _('Baltar')),
-    ('32006', _('Bande')),
-    ('27901', _('Baralla')),
-    ('32008', _('Barbadás')),
-    ('32009', _('Barco de Valdeorras, O')),
-    ('27005', _('Barreiros')),
-    ('36002', _('Barro')),
-    ('15007', _('Baña, A')),
-    ('32007', _('Baños de Molgas')),
-    ('32010', _('Beade')),
-    ('32011', _('Beariz')),
-    ('27006', _('Becerreá')),
-    ('27007', _('Begonte')),
-    ('15008', _('Bergondo')),
-    ('15009', _('Betanzos')),
-    ('32012', _('Blancos, Os')),
-    ('32013', _('Boborás')),
-    ('15010', _('Boimorto')),
-    ('15011', _('Boiro')),
-    ('32014', _('Bola, A')),
-    ('32015', _('Bolo, O')),
-    ('15012', _('Boqueixón')),
-    ('15013', _('Brión')),
-    ('36004', _('Bueu')),
-    ('27902', _('Burela')),
-    ('27008', _('Bóveda')),
-    ('15014', _('Cabana de Bergantiños')),
-    ('15015', _('Cabanas')),
-    ('36005', _('Caldas de Reis')),
-    ('32016', _('Calvos de Randín')),
-    ('15016', _('Camariñas')),
-    ('36006', _('Cambados')),
-    ('15017', _('Cambre')),
-    ('36007', _('Campo Lameiro')),
-    ('36008', _('Cangas')),
-    ('15018', _('Capela, A')),
-    ('32018', _('Carballeda de Avia')),
-    ('32017', _('Carballeda de Valdeorras')),
-    ('27009', _('Carballedo')),
-    ('32019', _('Carballiño, O')),
-    ('15019', _('Carballo')),
-    ('15901', _('Cariño')),
-    ('15020', _('Carnota')),
-    ('15021', _('Carral')),
-    ('32020', _('Cartelle')),
-    ('32022', _('Castrelo de Miño')),
-    ('32021', _('Castrelo do Val')),
-    ('32023', _('Castro Caldelas')),
-    ('27010', _('Castro de Rei')),
-    ('27011', _('Castroverde')),
-    ('36010', _('Catoira')),
-    ('36009', _('Cañiza, A')),
-    ('15022', _('Cedeira')),
-    ('15023', _('Cee')),
-    ('32024', _('Celanova')),
-    ('32025', _('Cenlle')),
-    ('15024', _('Cerceda')),
-    ('36011', _('Cerdedo')),
-    ('15025', _('Cerdido')),
-    ('27012', _('Cervantes')),
-    ('27013', _('Cervo')),
-    ('15026', _('Cesuras')),
-    ('32029', _('Chandrexa de Queixa')),
-    ('27016', _('Chantada')),
-    ('15027', _('Coirós')),
-    ('32026', _('Coles')),
-    ('15028', _('Corcubión')),
-    ('27014', _('Corgo, O')),
-    ('15029', _('Coristanco')),
-    ('32027', _('Cortegada')),
-    ('15030', _('Coruña, A')),
-    ('27015', _('Cospeito')),
-    ('36012', _('Cotobade')),
-    ('36013', _('Covelo')),
-    ('36014', _('Crecente')),
-    ('32028', _('Cualedro')),
-    ('15031', _('Culleredo')),
-    ('36015', _('Cuntis')),
-    ('15032', _('Curtis')),
-    ('15033', _('Dodro')),
-    ('36016', _('Dozón')),
-    ('15034', _('Dumbría')),
-    ('32030', _('Entrimo')),
-    ('32031', _('Esgos')),
-    ('36017', _('Estrada, A')),
-    ('15035', _('Fene')),
-    ('15036', _('Ferrol')),
-    ('15037', _('Fisterra')),
-    ('27017', _('Folgoso do Courel')),
-    ('27018', _('Fonsagrada, A')),
-    ('36018', _('Forcarei')),
-    ('36019', _('Fornelos de Montes')),
-    ('27019', _('Foz')),
-    ('15038', _('Frades')),
-    ('27020', _('Friol')),
-    ('32033', _('Gomesende')),
-    ('36021', _('Gondomar')),
-    ('36022', _('Grove, O')),
-    ('36023', _('Guarda, A')),
-    ('32034', _('Gudiña, A')),
-    ('27022', _('Guitiriz')),
-    ('27023', _('Guntín')),
-    ('36901', _('Illa de Arousa, A')),
-    ('27024', _('Incio, O')),
-    ('32035', _('Irixo, O')),
-    ('15039', _('Irixoa')),
-    ('36024', _('Lalín')),
-    ('36025', _('Lama, A')),
-    ('15041', _('Laracha, A')),
-    ('32038', _('Larouco')),
-    ('15040', _('Laxe')),
-    ('32039', _('Laza')),
-    ('32040', _('Leiro')),
-    ('32041', _('Lobeira')),
-    ('32042', _('Lobios')),
-    ('27027', _('Lourenzá')),
-    ('15042', _('Lousame')),
-    ('27028', _('Lugo')),
-    ('27026', _('Láncara')),
-    ('32043', _('Maceda')),
-    ('15043', _('Malpica de Bergantiños')),
-    ('32044', _('Manzaneda')),
-    ('36026', _('Marín')),
-    ('32045', _('Maside')),
-    ('15045', _('Mazaricos')),
-    ('15044', _('Mañón')),
-    ('36027', _('Meaño')),
-    ('27029', _('Meira')),
-    ('36028', _('Meis')),
-    ('15046', _('Melide')),
-    ('32046', _('Melón')),
-    ('32047', _('Merca, A')),
-    ('15047', _('Mesía')),
-    ('32048', _('Mezquita, A')),
-    ('15048', _('Miño')),
-    ('36029', _('Moaña')),
-    ('15049', _('Moeche')),
-    ('36030', _('Mondariz')),
-    ('36031', _('Mondariz-Balneario')),
-    ('27030', _('Mondoñedo')),
-    ('15050', _('Monfero')),
-    ('27031', _('Monforte de Lemos')),
-    ('32049', _('Montederramo')),
-    ('32050', _('Monterrei')),
-    ('27032', _('Monterroso')),
-    ('36032', _('Moraña')),
-    ('36033', _('Mos')),
-    ('15051', _('Mugardos')),
-    ('27033', _('Muras')),
-    ('15053', _('Muros')),
-    ('15052', _('Muxía')),
-    ('32051', _('Muíños')),
-    ('15054', _('Narón')),
-    ('27034', _('Navia de Suarna')),
-    ('15055', _('Neda')),
-    ('15056', _('Negreira')),
-    ('27035', _('Negueira de Muñiz')),
-    ('36034', _('Neves, As')),
-    ('36035', _('Nigrán')),
-    ('27037', _('Nogais, As')),
-    ('32052', _('Nogueira de Ramuín')),
-    ('15057', _('Noia')),
-    ('36036', _('Oia')),
-    ('15058', _('Oleiros')),
-    ('15059', _('Ordes')),
-    ('15060', _('Oroso')),
-    ('15061', _('Ortigueira')),
-    ('32054', _('Ourense')),
-    ('27038', _('Ourol')),
-    ('27039', _('Outeiro de Rei')),
-    ('15062', _('Outes')),
-    ('15063', _('Oza dos Ríos')),
-    ('32053', _('Oímbra')),
-    ('15064', _('Paderne')),
-    ('32055', _('Paderne de Allariz')),
-    ('32056', _('Padrenda')),
-    ('15065', _('Padrón')),
-    ('27040', _('Palas de Rei')),
-    ('27041', _('Pantón')),
-    ('32057', _('Parada de Sil')),
-    ('27042', _('Paradela')),
-    ('27044', _('Pastoriza, A')),
-    ('36037', _('Pazos de Borbén')),
-    ('27045', _('Pedrafita do Cebreiro')),
-    ('32058', _('Pereiro de Aguiar, O')),
-    ('32059', _('Peroxa, A')),
-    ('32060', _('Petín')),
-    ('15066', _('Pino, O')),
-    ('32061', _('Piñor')),
-    ('32063', _('Pobra de Trives, A')),
-    ('27047', _('Pobra do Brollón, A')),
-    ('15067', _('Pobra do Caramiñal, A')),
-    ('36041', _('Poio')),
-    ('27046', _('Pol')),
-    ('36043', _('Ponte Caldelas')),
-    ('36042', _('Ponteareas')),
-    ('15068', _('Ponteceso')),
-    ('36044', _('Pontecesures')),
-    ('15069', _('Pontedeume')),
-    ('32064', _('Pontedeva')),
-    ('27048', _('Pontenova, A')),
-    ('15070', _('Pontes de García Rodríguez, As')),
-    ('36038', _('Pontevedra')),
-    ('32062', _('Porqueira')),
-    ('36039', _('Porriño, O')),
-    ('36040', _('Portas')),
-    ('15071', _('Porto do Son')),
-    ('27049', _('Portomarín')),
-    ('32065', _('Punxín')),
-    ('27043', _('Páramo, O')),
-    ('32066', _('Quintela de Leirado')),
-    ('27050', _('Quiroga')),
-    ('32067', _('Rairiz de Veiga')),
-    ('32068', _('Ramirás')),
-    ('36045', _('Redondela')),
-    ('15072', _('Rianxo')),
-    ('32069', _('Ribadavia')),
-    ('27051', _('Ribadeo')),
-    ('36046', _('Ribadumia')),
-    ('27052', _('Ribas de Sil')),
-    ('15073', _('Ribeira')),
-    ('27053', _('Ribeira de Piquín')),
-    ('27054', _('Riotorto')),
-    ('32071', _('Riós')),
-    ('36047', _('Rodeiro')),
-    ('15074', _('Rois')),
-    ('36048', _('Rosal, O')),
-    ('32073', _('Rubiá')),
-    ('27056', _('Rábade')),
-    ('32072', _('Rúa, A')),
-    ('15075', _('Sada')),
-    ('36049', _('Salceda de Caselas')),
-    ('36050', _('Salvaterra de Miño')),
-    ('27055', _('Samos')),
-    ('32074', _('San Amaro')),
-    ('32075', _('San Cibrao das Viñas')),
-    ('32076', _('San Cristovo de Cea')),
-    ('15076', _('San Sadurniño')),
-    ('32070', _('San Xoán de Río')),
-    ('32077', _('Sandiás')),
-    ('15077', _('Santa Comba')),
-    ('15078', _('Santiago de Compostela')),
-    ('15079', _('Santiso')),
-    ('36051', _('Sanxenxo')),
-    ('32078', _('Sarreaus')),
-    ('27057', _('Sarria')),
-    ('27058', _('Saviñao, O')),
-    ('36052', _('Silleda')),
-    ('27059', _('Sober')),
-    ('15080', _('Sobrado')),
-    ('15081', _('Somozas, As')),
-    ('36053', _('Soutomaior')),
-    ('27060', _('Taboada')),
-    ('32079', _('Taboadela')),