It is illegal to discriminate on the basis of pregnancy or gender. It is not illegal to talk about it.
or simply: