I have the following code:
pt-BR.yml
activerecord:
attributes:
city:
codigo_municipio: "Código do município"
View
= label(:city, :codigo_municipio)
Expected result:
# => <label for="cities_codigo_municipio">Código do municipio</label>
Result obtained:
# => <label for="cities_codigo_municipio">Codigo municipio</label>
According to documentation all correct.