Fixed restriction error attribute translation.