Skip to content

Commit

Permalink
[Resolved] faker-ruby#843 Russian Local issue
Browse files Browse the repository at this point in the history
  • Loading branch information
SagareGanesh committed Mar 15, 2017
1 parent 7d45f89 commit bede65b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/helpers/char.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module Char
def self.prepare(string)
result = romanize_cyrillic string
result = fix_umlauts result
result.gsub(/\W/, '').downcase
Faker::Config.locale == "ru"? result : result.gsub(/\W/, '').downcase
end

def self.fix_umlauts(string)
Expand Down

0 comments on commit bede65b

Please sign in to comment.