Permalink
Browse files

Make Translate::Storage constructor insensitive to whether locale is …

…string or symbol
  • Loading branch information...
1 parent 9287e2f commit 29133eec590260cf40949c66d7f80bb52d9efe13 Peter Marklund committed Jan 30, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/translate/storage.rb
View
@@ -2,7 +2,7 @@ class Translate::Storage
attr_accessor :locale
def initialize(locale)
- self.locale = locale
+ self.locale = locale.to_sym
end
def write_to_file

0 comments on commit 29133ee

Please sign in to comment.