Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
change sync
  • Loading branch information
jujudellago committed Jun 8, 2011
1 parent ada9790 commit 2204bc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/tolk/sync.rb
Expand Up @@ -22,6 +22,7 @@ def read_primary_locale_file

def flat_hash(data, prefix = '', result = {})
data.each do |key, value|
logger.debug("flat_hash key=#{key} value=#{value}")
current_prefix = prefix.present? ? "#{prefix}.#{key}" : key

if !value.is_a?(Hash) || Tolk::Locale.pluralization_data?(value)
Expand Down

0 comments on commit 2204bc6

Please sign in to comment.