Fixed the resource name collection on the translatable trait.