locomotivecms/engine — pull request #424 by Sharagoz (2012-05-29 20:42:33+00:00)
Title: Update Norwegian locale for v2.0

Hi

I have updated the Norwegian locale for locomotive 2.0.
One thing:
A while ago the Norwegian locale was renamed from "no" to "nb" in Rails. I have done the same thing in this commit. In addition to updating the locale files I have also added a couple of lines to the upgrade script that checks for accounts with "no" locale and switches them to "nb". Somebody better double check that the code I added to the upgrade script makes sense because I've never done any work with mongoid before.