Changes text-domain into a class constant.