Don't force the creation of 'other' form
This commit is contained in:
parent
5ea7bdb5d0
commit
22071efd3c
1 changed files with 2 additions and 2 deletions
|
@ -50,8 +50,8 @@ module Twine
|
|||
|
||||
if definition.is_plural?
|
||||
# If definition is plural, but no translation found -> create
|
||||
# Then check 'other' key
|
||||
if !(new_definition.plural_translations[language] ||= {}).key? 'other'
|
||||
# and add 'other' key
|
||||
if (new_definition.plural_translations[language] ||= {}).empty?
|
||||
new_definition.plural_translations[language]['other'] = value
|
||||
end
|
||||
end
|
||||
|
|
Reference in a new issue