Skip to content

Commit

Permalink
Don’t downcase locale name when finding language name.
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig Davey committed Apr 21, 2010
1 parent ad72d42 commit 2749c7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/tolk/locale.rb
Expand Up @@ -129,7 +129,7 @@ def primary?
end

def language_name
MAPPING[self.name.downcase] || self.name
MAPPING[self.name] || self.name
end

def [](key)
Expand Down

0 comments on commit 2749c7d

Please sign in to comment.