solidusio / solidus_auth_devise

🔑 Devise authentication for your Solidus store.
http://solidus.io
BSD 3-Clause "New" or "Revised" License
52 stars 124 forks source link

`devise.user_registrations` key is not the same in the view #119

Closed bourroush closed 4 years ago

bourroush commented 6 years ago

After doing a signup, the <%= flash_messages %> are giving me this error translation missing: en-US.devise.user_registrations.spree_user.signed_up

When I look into your en.yml file it looks like the spree_user: key is not used https://github.com/solidusio/solidus_auth_devise/blob/master/config/locales/en.yml#L37-L41 but it is under user_passwords. Could it be a bug on your .yml file ? Thanks !

spaghetticode commented 5 years ago

I think you need to provide your own translation for en-US, as this gem only includes generic en messages.

You can easily do this by copying the file config/locales/en.yml from this gem, rename it to en-US and change the first root of the yaml content from en: to en-US:. You can then customize your translations.

kennyadsl commented 4 years ago

Seems fixed.