Skip to content

Commit

Permalink
fix pluralization behavior for KeyValue backend with subtrees disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
wjordan committed Jul 10, 2018
1 parent 3e7a369 commit 34a1dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/i18n/backend/key_value.rb
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def pluralize(locale, entry, count)
super
else
key = pluralization_key(entry, count)
entry[key]
entry.is_a?(Hash) ? entry[key] : entry
end
end
end
Expand Down

0 comments on commit 34a1dab

Please sign in to comment.