AsteriskLabs / devise_google_authenticator

A Devise extension to allow your app to utilise Google's 2FA Mobile app
http://labs.asteriskinfosec.com.au/tag/devise_google_authenticator/
MIT License
216 stars 159 forks source link

Locales file missing some entries #53

Open brianjdoherty opened 7 years ago

brianjdoherty commented 7 years ago

Gem seems to work fine under Rails 5.0.2 w/ ruby 2.2.5.

I got warnings upon enable/disable, though, like this: "translation missing: en.devise.displayqr.user.enabled" and "...disabled". Adding those two lines to the end of config/locales/devise.google_authenticator.en.yml fixed this.

I was going to send in a patch but I'm not sure how to go about doing that on Github. Looks like these folks noticed it and have an updated file in their codebase:
https://github.com/MadDogTechnology/devise_google_authenticator/blob/master/config/locales/en.yml