lib/i18n/migrations/migration.rb in i18n-migrations-0.2.1 vs lib/i18n/migrations/migration.rb in i18n-migrations-0.2.2
- old
+ new
@@ -91,10 +91,10 @@
def assign_translation(key, term, overrides)
if overrides[@locale.to_sym]
@data[key] = overrides[@locale.to_sym]
else
- @data[key], @notes[key] = @dictionary.lookup(term)
+ @data[key], @notes[key] = @dictionary.lookup(term, key: key)
end
end
end
end
end