From bd9e9043e0879c3f637318d68d0b2fd8640047d5 Mon Sep 17 00:00:00 2001 From: danielvincent Date: Thu, 7 Oct 2010 14:37:38 -0700 Subject: [PATCH 1/2] fixed nb locale --- config/locales/devise/devise.nb.yml | 2 +- config/locales/diaspora/nb.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/locales/devise/devise.nb.yml b/config/locales/devise/devise.nb.yml index d1e8ca2f7..c7aa1f27d 100644 --- a/config/locales/devise/devise.nb.yml +++ b/config/locales/devise/devise.nb.yml @@ -2,7 +2,7 @@ # licensed under the Affero General Public License version 3. See # the COPYRIGHT file. -no_NO: +nb: errors: messages: not_found: "ble ikke funnet" diff --git a/config/locales/diaspora/nb.yml b/config/locales/diaspora/nb.yml index 6e2dc0ad3..82f927db1 100644 --- a/config/locales/diaspora/nb.yml +++ b/config/locales/diaspora/nb.yml @@ -5,7 +5,7 @@ # Sample localization file for English. Add more files in this directory for other locales. # See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points. -en: +nb: hello: "Hallo, verden!" application: helper: From 206e10f66af00c034285cf3b472f74101141358a Mon Sep 17 00:00:00 2001 From: danielvincent Date: Thu, 7 Oct 2010 14:57:00 -0700 Subject: [PATCH 2/2] dont put log behind devise --- app/controllers/dev_utilities_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/dev_utilities_controller.rb b/app/controllers/dev_utilities_controller.rb index e8a40a4c2..bd9a849ab 100644 --- a/app/controllers/dev_utilities_controller.rb +++ b/app/controllers/dev_utilities_controller.rb @@ -3,7 +3,7 @@ # the COPYRIGHT file. class DevUtilitiesController < ApplicationController - before_filter :authenticate_user!, :except => [:set_backer_number] + before_filter :authenticate_user!, :except => [:set_backer_number, :log] include ApplicationHelper include RequestsHelper