Skip to content

Commit

Permalink
Fix ranges for Brazilian zip codes (#1124)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Queiroz authored and vbrazo committed May 15, 2018
1 parent 74d212e commit ab42172
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions lib/locales/pt-BR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,30 +35,33 @@ pt-BR:
state: ["Acre", "Alagoas", "Amapá", "Amazonas", "Bahia", "Ceará", "Distrito Federal", "Espírito Santo", "Goiás", "Maranhão", "Mato Grosso", "Mato Grosso do Sul", "Minas Gerais", "Pará", "Paraíba", "Paraná", "Pernambuco", "Piauí", "Rio de Janeiro", "Rio Grande do Norte", "Rio Grande do Sul", "Rondônia", "Roraima", "Santa Catarina", "São Paulo", "Sergipe", "Tocantins"]
state_abbr: [AC, AL, AP, AM, BA, CE, DF, ES, GO, MA, MT, MS, PA, PB, PR, PE, PI, RJ, RN, RS, RO, RR, SC, SP]
postcode_by_state:
SP: '1####-###'
RJ: '2####-###'
SP: ['0####-###', '1####-###']
RJ: ['20###-###', '21###-###', '22###-###', '23###-###', '24###-###', '25###-###', '26###-###', '27###-###', '28###-###']
ES: '29###-###'
MG: '3####-###'
BA: '4####-###'
BA: ['40###-###', '41###-###', '42###-###', '43###-###', '44###-###', '45###-###', '46###-###', '47###-###', '48###-###']
SE: '49###-###'
PE: '5####-###'
PE: ['50###-###', '51###-###', '52###-###', '53###-###', '54###-###', '55###-###', '56###-###']
AL: '57###-###'
PB: '58###-###'
RN: '59###-###'
CE: '60###-###'
CE: ['60###-###', '61###-###', '62###-###', '63###-###']
PI: '64###-###'
MA: '65###-###'
PA: '66###-###'
PA: ['66###-###', '67###-###']
AP: '68###-###'
AM: '69###-###'
AC: '69###-###'
DF: '70###-###'
GO: '72###-###'
RR: '69###-###'
DF: ['70###-###', '71###-###', '72###-###', '73###-###']
GO: ['73###-###', '74###-###', '75###-###', '76###-###']
RO: ['768##-###', '769##-###']
TO: '77###-###'
MT: '78###-###'
MS: '79###-###'
PR: '80###-###'
SC: '88###-###'
RS: '90###-###'
PR: ['80###-###', '81###-###', '82###-###', '83###-###', '84###-###', '85###-###', '86###-###', '87###-###']
SC: ['88###-###', '89###-###']
RS: '9####-###'
default_country: [Brasil]

company:
Expand Down

0 comments on commit ab42172

Please sign in to comment.