gregbell/active_admin — Issue #953: Problem on overriding of active_admin.new_model i18n key after a page post
Author: fabiormoura
Created: 2012-01-31 01:42:12+00:00
State: open

I copied the lib/pt-BR.yml file to create my own i18n messages. Everything was fine until I noticed that after a post on new action view, the active_admin.new_model key which I'd changed is falling back to default key define on the active_admin gem. I'm using the last version 0.4.0.

Default key:

active_admin:
new_model: "Novo(a) %{model}"

My custom key:

active_admin:
new_model: "Cadastrar %{model}"