Permalink
Browse files

Don’t downcase the locale name so that names like pt-BR can be imported.

  • Loading branch information...
1 parent ae6a64c commit 446c88257493b64cb12e25c8cdf40805051adec4 Craig Davey committed Apr 23, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/tolk/import.rb
View
@@ -14,7 +14,7 @@ def import_secondary_locales
end
def import_locale(locale_name)
- locale = Tolk::Locale.find_or_create_by_name(locale_name.downcase)
+ locale = Tolk::Locale.find_or_create_by_name(locale_name)
data = locale.read_locale_file
phrases = Tolk::Phrase.all

0 comments on commit 446c882

Please sign in to comment.