Permalink
Browse files

Don't upcase language code in option value

  • Loading branch information...
1 parent 86401eb commit cf9a8a1c471c8d4db2aa470ee299c4465f4f0fd1 @robinst committed Apr 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/localized_language_select.rb
@@ -28,7 +28,7 @@ class << self
def localized_languages_array options = {}
res = []
list = I18n.translate(:languages).each do |key, value|
- res << [value, key.to_s.upcase] if include_language?(key.to_s, options)
+ res << [value, key.to_s] if include_language?(key.to_s, options)
end
res.sort_by { |country| country.first.parameterize }
end

0 comments on commit cf9a8a1

Please sign in to comment.