Merge pull request #3582 from g4b0/3581-translate_belongs_many_many

belongs_many_many are now translatable
This commit is contained in:
Ingo Schommer 2014-10-28 07:39:36 +13:00
commit 32bcfe7f4e

View File

@ -3293,6 +3293,7 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
$types['has_one'] = (array)singleton($ancestorClass)->uninherited('has_one', true);
$types['has_many'] = (array)singleton($ancestorClass)->uninherited('has_many', true);
$types['many_many'] = (array)singleton($ancestorClass)->uninherited('many_many', true);
$types['belongs_many_many'] = (array)singleton($ancestorClass)->uninherited('belongs_many_many', true);
}
foreach($types as $type => $attrs) {
foreach($attrs as $name => $spec) {