fix content error translation when content_name is nested on element
add test for translation error messages when content_name is nested on element
Merge pull request #676 from Programatica/fix-translate-errors

fix content error translation when content_name is nested on element